Skip to content

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

fix: use correct i18n key for state search scope description (#19580)

boojack1ae4a1560d9b
diff --git a/frontend/src/components/AdvancedSearch/useCommonSearchScopeOptions.ts b/frontend/src/components/AdvancedSearch/useCommonSearchScopeOptions.ts
index d8f5c43498..2916a0eb4f 100644
--- a/frontend/src/components/AdvancedSearch/useCommonSearchScopeOptions.ts
+++ b/frontend/src/components/AdvancedSearch/useCommonSearchScopeOptions.ts
@@ -182,7 +182,7 @@ export const useCommonSearchScopeOptions = (
state: () => ({
id: "state",
title: t("common.state"),
- description: t("plan.state.description"),
+ description: t("issue.advanced-search.scope.state.description"),
options: [
{
value: "ACTIVE",
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 09a50e1469..c810dc0977 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -1048,6 +1048,9 @@
"engine": {
"title": "Engine",
"description": "Filter by engines"
+ },
+ "state": {
+ "description": "Filter by state"
}
}
},
@@ -1251,7 +1254,6 @@
"last-refresh": "Last refresh: {time}"
},
"state": {
- "description": "Filter plans by their state",
"close-confirm": "Are you sure to close this plan?",
"reopen-confirm": "Are you sure to reopen this plan?"
},
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index adc609bf6b..f03fec728e 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -1048,6 +1048,9 @@
"engine": {
"title": "Motor",
"description": "Filtrar por motores"
+ },
+ "state": {
+ "description": "Filtrar por estado"
}
}
},
@@ -1251,7 +1254,6 @@
"last-refresh": "Última actualización: {time}"
},
"state": {
- "description": "Filtrar planes por estado",
"close-confirm": "¿Estás seguro de que deseas cerrar este plan?",
"reopen-confirm": "¿Estás seguro de que deseas reabrir este plan?"
},
diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.json
index 371735b601..03ea4a16aa 100644
--- a/frontend/src/locales/ja-JP.json
+++ b/frontend/src/locales/ja-JP.json
@@ -1048,6 +1048,9 @@
"engine": {
"title": "エンジン",
"description": "エンジンでフィルタリング"
+ },
+ "state": {
+ "description": "状態でフィルタ"
}
}
},
@@ -1251,7 +1254,6 @@
"last-refresh": "最終更新: {time}"
},
"state": {
- "description": "ステータスでプランをフィルタリング",
"close-confirm": "このプランを閉じてもよろしいですか?",
"reopen-confirm": "このプランを再開してもよろしいですか?"
},
diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.json
index b08eea16b5..48dff051d8 100644
--- a/frontend/src/locales/vi-VN.json
+++ b/frontend/src/locales/vi-VN.json
@@ -1048,6 +1048,9 @@
"engine": {
"title": "Engine",
"description": "Lọc theo engine"
+ },
+ "state": {
+ "description": "Lọc theo trạng thái"
}
}
},
@@ -1251,7 +1254,6 @@
"last-refresh": "Làm mới lần cuối: {time}"
},
"state": {
- "description": "Lọc các kế hoạch theo trạng thái của chúng",
"close-confirm": "Bạn có chắc chắn muốn đóng kế hoạch này không?",
"reopen-confirm": "Bạn có chắc chắn muốn mở lại kế hoạch này không?"
},
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index 719762b205..e5532d6608 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -1048,6 +1048,9 @@
"engine": {
"title": "引擎",
"description": "按引擎过滤"
+ },
+ "state": {
+ "description": "按状态过滤"
}
}
},
@@ -1251,7 +1254,6 @@
"last-refresh": "上次刷新:{time}"
},
"state": {
- "description": "按状态过滤",
"close-confirm": "确定关闭该变更计划?",
"reopen-confirm": "确定重新开启该变更计划?"
},
diff --git a/frontend/src/views/project/ProjectPlanDashboard.vue b/frontend/src/views/project/ProjectPlanDashboard.vue
index 74c1d24248..f2ed371303 100644
--- a/frontend/src/views/project/ProjectPlanDashboard.vue
+++ b/frontend/src/views/project/ProjectPlanDashboard.vue
@@ -217,7 +217,7 @@ const scopeOptions = computed((): ScopeOption[] => {
const stateOption: ScopeOption = {
id: "state",
title: t("common.state"),
- description: t("plan.state.description"),
+ description: t("issue.advanced-search.scope.state.description"),
options: [
{
value: "ACTIVE",