Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

MUL-6363: refactor(i18n): reuse custom_property.none for the no-value filter (#7219)

Bohan Jiangf9b7bf52ea3e
diff --git a/packages/views/issues/components/filter-chips-bar.tsx b/packages/views/issues/components/filter-chips-bar.tsx
index aca29e0882..75e59567c6 100644
--- a/packages/views/issues/components/filter-chips-bar.tsx
+++ b/packages/views/issues/components/filter-chips-bar.tsx
@@ -459,7 +459,7 @@ function useFilterChips(
const actorValues = actorProperty ? actorFilterValues(selected) : [];
const optionName = (optionId: string): string | undefined => {
if (optionId === NO_PROPERTY_VALUE) {
- return t(($) => $.pickers.custom_property.no_value_label);
+ return t(($) => $.pickers.custom_property.none);
}
if (actorProperty) {
const ref = parseActorRef(optionId);
diff --git a/packages/views/issues/components/issues-header.tsx b/packages/views/issues/components/issues-header.tsx
index f85c35eb38..11b712a8a0 100644
--- a/packages/views/issues/components/issues-header.tsx
+++ b/packages/views/issues/components/issues-header.tsx
@@ -709,7 +709,7 @@ function PropertyFilterOptions({
// property is unset, the inverse of picking one of the options below.
const noValueOption = {
id: NO_PROPERTY_VALUE,
- name: t(($) => $.pickers.custom_property.no_value_label),
+ name: t(($) => $.pickers.custom_property.none),
color: undefined as string | undefined,
actorType: undefined as string | undefined,
actorId: undefined as string | undefined,
diff --git a/packages/views/locales/en/issues.json b/packages/views/locales/en/issues.json
index 0690bbf321..5676d7cd09 100644
--- a/packages/views/locales/en/issues.json
+++ b/packages/views/locales/en/issues.json
@@ -660,7 +660,6 @@
"none": "No value",
"true_label": "Yes",
"false_label": "No",
- "no_value_label": "No value",
"value_placeholder": "Enter value…",
"url_placeholder": "https://…",
"number_placeholder": "0",
diff --git a/packages/views/locales/ja/issues.json b/packages/views/locales/ja/issues.json
index 56707a5075..03476120fb 100644
--- a/packages/views/locales/ja/issues.json
+++ b/packages/views/locales/ja/issues.json
@@ -630,7 +630,6 @@
"none": "値なし",
"true_label": "はい",
"false_label": "いいえ",
- "no_value_label": "値なし",
"value_placeholder": "値を入力…",
"url_placeholder": "https://…",
"number_placeholder": "0",
diff --git a/packages/views/locales/ko/issues.json b/packages/views/locales/ko/issues.json
index 51ef3ebda0..7ca35b145b 100644
--- a/packages/views/locales/ko/issues.json
+++ b/packages/views/locales/ko/issues.json
@@ -630,7 +630,6 @@
"none": "값 없음",
"true_label": "예",
"false_label": "아니요",
- "no_value_label": "값 없음",
"value_placeholder": "값 입력…",
"url_placeholder": "https://…",
"number_placeholder": "0",
diff --git a/packages/views/locales/zh-Hans/issues.json b/packages/views/locales/zh-Hans/issues.json
index adeff6b5e3..456c2ca069 100644
--- a/packages/views/locales/zh-Hans/issues.json
+++ b/packages/views/locales/zh-Hans/issues.json
@@ -629,7 +629,6 @@
"empty": "空",
"true_label": "是",
"false_label": "否",
- "no_value_label": "未设置",
"value_placeholder": "输入值…",
"url_placeholder": "https://…",
"number_placeholder": "0",
@@ -638,7 +637,7 @@
"archived_hint": "已归档属性——值为只读",
"unknown_value": "无法显示",
"unknown_value_hint": "该值由更新版本的 Multica 设置,当前版本无法编辑——请更新应用,或清除该值",
- "none": "无值"
+ "none": "未设置"
},
"filter_options_aria": "筛选选项",
"no_results": "无结果",