Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: adjust global masking rule condition title text field (#8152)

Tianzhou (天舟)5883defbc846
diff --git a/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vue b/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vue
index b861ccf582..58e92ae5bf 100644
--- a/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vue
+++ b/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vue
@@ -2,13 +2,14 @@
<div class="gap-y-4 w-full">
<div class="flex items-stretch gap-x-4 overflow-hidden">
<div class="flex-1 space-y-2 py-4 overflow-x-hidden overflow-y-auto">
- <input
- v-model="state.title"
- class="textfield w-64 ml-0.5"
- :placeholder="`${t('custom-approval.security-rule.condition.self')} ${
- props.index
- }`"
+ <NInput
+ v-model:value="state.title"
+ class="!w-64 ml-0.5"
+ :placeholder="`${t(
+ 'settings.sensitive-data.global-rules.condition-order'
+ )} ${props.index}`"
type="text"
+ size="small"
:disabled="readonly || disabled"
@input="state.dirty = true"
/>
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 024c9ba399..3d04af7213 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -630,6 +630,7 @@
"grant-access": "Grant Access",
"never-expires": "Never expires",
"global-rules": {
+ "condition-order": "Condition order",
"add-rule": "Add rule",
"re-order": "Re-order",
"delete-rule-tip": "Delete this rule?"
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index 92d0953aac..c7fcfab484 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -629,6 +629,7 @@
"grant-access": "Autorizará el acceso",
"never-expires": "Nunca expira",
"global-rules": {
+ "condition-order": "Orden de condición",
"add-rule": "Agregar regla",
"re-order": "Reordenar",
"delete-rule-tip": "¿Eliminar esta regla?"
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index 57f057910a..7b35a1059c 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -628,6 +628,7 @@
"grant-access": "授权访问",
"never-expires": "无过期时间",
"global-rules": {
+ "condition-order": "条件序列",
"add-rule": "添加规则",
"re-order": "排序",
"delete-rule-tip": "删除这条规则?"