Skip to content

Commit fc30757

Browse files
fix(i18n): rename status filter 'All status' to 'Active'
With archived projects excluded from the default view, 'All status' became misleading - it no longer shows all projects. Rename the default option to 'Active' (活跃 / 活躍), pairing naturally with 'Archived' as lifecycle states (same model as GitHub repos). Also backfill zh-TW translations missed in the archive feature commit: archived filter label and archive/unarchive menu actions (封存 / 取消封存). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 460c697 commit fc30757

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

src/locales/en.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ app:
7070
group: Group
7171
sort: Sort
7272
all_projects: All projects
73-
all_status: All status
73+
active: Active
7474
available: Available
7575
missing_path: Missing path
7676
temporary: Temporary

src/locales/zh-CN.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ app:
7070
group: 分组
7171
sort: 排序
7272
all_projects: 全部项目
73-
all_status: 全部状态
73+
active: 活跃
7474
available: 可用
7575
missing_path: 路径缺失
7676
temporary: 临时

src/locales/zh-TW.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,11 @@ app:
7070
group: 分組
7171
sort: 排序
7272
all_projects: 全部專案
73-
all_status: 全部狀態
73+
active: 活躍
7474
available: 可用
7575
missing_path: 路徑遺失
7676
temporary: 臨時
77+
archived: 已封存
7778
all_languages: 全部語言
7879
all_groups: 全部分組
7980
no_group: 無分組
@@ -119,6 +120,8 @@ app:
119120
copy_failed: 複製失敗
120121
pin: 置頂
121122
unpin: 取消置頂
123+
archive: 封存
124+
unarchive: 取消封存
122125
more: 更多操作
123126
edit: 編輯
124127
remove: 移除

src/views/HomeView/HomeView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ const kindOptions = computed<Array<FilterOption<KindFilter>>>(() => [
190190
])
191191
192192
const statusOptions = computed<Array<FilterOption<StatusFilter>>>(() => [
193-
{ value: 'all', label: t('app.home.filters.all_status'), count: totalProjects.value },
193+
{ value: 'all', label: t('app.home.filters.active'), count: totalProjects.value },
194194
{ value: 'available', label: t('app.home.filters.available'), count: availableProjects.value },
195195
{ value: 'missing', label: t('app.home.filters.missing_path'), count: missingProjects.value },
196196
{ value: 'temporary', label: t('app.home.filters.temporary'), count: temporaryProjects.value },

0 commit comments

Comments
 (0)