Skip to content

Commit 092cab2

Browse files
committed
refactor: remove unused i18n keys
1 parent e5be3ea commit 092cab2

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

.github/workflows/lint-test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ on:
1313
- 'Cargo.toml'
1414
- 'Cargo.lock'
1515
- '.github/workflows/ci.yml'
16+
push:
17+
branches: [ main, dev ]
18+
paths:
19+
- 'src/**'
20+
- 'src-tauri/**'
21+
- 'package.json'
22+
- 'package-lock.json'
23+
- 'yarn.lock'
24+
- 'Cargo.toml'
25+
- 'Cargo.lock'
1626

1727
env:
1828
CARGO_TERM_COLOR: always

src/i18n/locales/en.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@
7575
"selectAll": "Select All (Ctrl+A)"
7676
},
7777
"app": "App",
78-
"labels": {
79-
"level": "Level:",
80-
"source": "Source:"
81-
},
8278
"levels": {
8379
"all": "All Levels",
8480
"debug": "Debug",
@@ -431,7 +427,6 @@
431427
},
432428
"update": {
433429
"autoCheck": "Auto Check Update",
434-
"availableInstallers": "Available Installers",
435430
"backgroundUpdateAvailable": "Update available in background",
436431
"checkError": "Failed to check for updates",
437432
"checkForUpdates": "Check for Updates",
@@ -443,7 +438,6 @@
443438
"installingUpdate": "Installing update...",
444439
"lastChecked": "Last checked",
445440
"noUpdatesFound": "No updates available",
446-
"quitApp": "Quitting application...",
447441
"releaseDate": "Release Date",
448442
"showUpdate": "Show Update",
449443
"startingDownload": "Starting download...",

src/i18n/locales/zh.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@
7575
"selectAll": "全选 (Ctrl+A)"
7676
},
7777
"app": "应用程序",
78-
"labels": {
79-
"level": "级别:",
80-
"source": "来源:"
81-
},
8278
"levels": {
8379
"all": "所有级别",
8480
"debug": "调试",
@@ -431,7 +427,6 @@
431427
},
432428
"update": {
433429
"autoCheck": "自动检查更新",
434-
"availableInstallers": "可用安装程序",
435430
"backgroundUpdateAvailable": "后台检测到更新",
436431
"checkError": "检查更新失败",
437432
"checkForUpdates": "检查更新",
@@ -443,7 +438,6 @@
443438
"installingUpdate": "安装更新中...",
444439
"lastChecked": "上次检查",
445440
"noUpdatesFound": "没有可用更新",
446-
"quitApp": "退出应用中...",
447441
"releaseDate": "发布日期",
448442
"showUpdate": "显示更新",
449443
"startingDownload": "开始下载...",

0 commit comments

Comments
 (0)