Skip to content

A full-featured download manager.

fix: i18n for some reason

Dr_rOote7ed58e39489
diff --git a/src/main/menus/en-US/linux.json b/src/main/menus/en-US/linux.json
index 0d4a7948..bd2cff7f 100644
--- a/src/main/menus/en-US/linux.json
+++ b/src/main/menus/en-US/linux.json
@@ -8,9 +8,6 @@
{ "type": "separator" },
{ "label": "Preferences...", "id": "app.preferences", "command": "application:preferences", "command-before": "application:show,index"},
{ "label": "Check for Updates...", "id": "app.check-for-updates", "command": "application:check-for-updates" },
- { "label": "Hide Motrix", "id": "app.hide", "role": "hide" },
- { "label": "Hide Others", "id": "app.hide-others", "role": "hideothers" },
- { "label": "Show All", "id": "app.unhide", "role": "unhide" },
{ "type": "separator" },
{ "label": "Quit Motrix", "id": "app.quit", "role": "quit" }
]
diff --git a/src/main/menus/en-US/win32.json b/src/main/menus/en-US/win32.json
index 0d4a7948..bd2cff7f 100644
--- a/src/main/menus/en-US/win32.json
+++ b/src/main/menus/en-US/win32.json
@@ -8,9 +8,6 @@
{ "type": "separator" },
{ "label": "Preferences...", "id": "app.preferences", "command": "application:preferences", "command-before": "application:show,index"},
{ "label": "Check for Updates...", "id": "app.check-for-updates", "command": "application:check-for-updates" },
- { "label": "Hide Motrix", "id": "app.hide", "role": "hide" },
- { "label": "Hide Others", "id": "app.hide-others", "role": "hideothers" },
- { "label": "Show All", "id": "app.unhide", "role": "unhide" },
{ "type": "separator" },
{ "label": "Quit Motrix", "id": "app.quit", "role": "quit" }
]
diff --git a/src/main/menus/fr/linux.json b/src/main/menus/fr/linux.json
index d2536a4a..64e490d9 100644
--- a/src/main/menus/fr/linux.json
+++ b/src/main/menus/fr/linux.json
@@ -8,9 +8,6 @@
{ "type": "separator" },
{ "label": "Préférences...", "id": "app.preferences", "command": "application:preferences", "command-before": "application:show,index"},
{ "label": "Verifier les mises a jour...", "id": "app.check-for-updates", "command": "application:check-for-updates" },
- { "label": "Cacher Motrix", "id": "app.hide", "role": "hide" },
- { "label": "Cacher les autres", "id": "app.hide-others", "role": "hideothers" },
- { "label": "Tout montrer", "id": "app.unhide", "role": "unhide" },
{ "type": "separator" },
{ "label": "Quitter Motrix", "id": "app.quit", "role": "quit" }
]
@@ -77,4 +74,4 @@
]
}
]
-}
\ No newline at end of file
+}
diff --git a/src/main/menus/fr/win32.json b/src/main/menus/fr/win32.json
index d2536a4a..64e490d9 100644
--- a/src/main/menus/fr/win32.json
+++ b/src/main/menus/fr/win32.json
@@ -8,9 +8,6 @@
{ "type": "separator" },
{ "label": "Préférences...", "id": "app.preferences", "command": "application:preferences", "command-before": "application:show,index"},
{ "label": "Verifier les mises a jour...", "id": "app.check-for-updates", "command": "application:check-for-updates" },
- { "label": "Cacher Motrix", "id": "app.hide", "role": "hide" },
- { "label": "Cacher les autres", "id": "app.hide-others", "role": "hideothers" },
- { "label": "Tout montrer", "id": "app.unhide", "role": "unhide" },
{ "type": "separator" },
{ "label": "Quitter Motrix", "id": "app.quit", "role": "quit" }
]
@@ -77,4 +74,4 @@
]
}
]
-}
\ No newline at end of file
+}
diff --git a/src/main/menus/tr/linux.json b/src/main/menus/tr/linux.json
index efd37001..20b9e725 100644
--- a/src/main/menus/tr/linux.json
+++ b/src/main/menus/tr/linux.json
@@ -8,9 +8,6 @@
{ "type": "separator" },
{ "label": "Ayarlar...", "id": "app.preferences", "command": "application:preferences", "command-before": "application:show,index"},
{ "label": "Güncellemeleri denetle...", "id": "app.check-for-updates", "command": "application:check-for-updates" },
- { "label": "Motrix'i gizle", "id": "app.hide", "role": "hide" },
- { "label": "Diğerlerini gizle", "id": "app.hide-others", "role": "hideothers" },
- { "label": "Hepsini Göster", "id": "app.unhide", "role": "unhide" },
{ "type": "separator" },
{ "label": "Motrix'ten çık", "id": "app.quit", "role": "quit" }
]
diff --git a/src/main/menus/tr/win32.json b/src/main/menus/tr/win32.json
index efd37001..20b9e725 100644
--- a/src/main/menus/tr/win32.json
+++ b/src/main/menus/tr/win32.json
@@ -8,9 +8,6 @@
{ "type": "separator" },
{ "label": "Ayarlar...", "id": "app.preferences", "command": "application:preferences", "command-before": "application:show,index"},
{ "label": "Güncellemeleri denetle...", "id": "app.check-for-updates", "command": "application:check-for-updates" },
- { "label": "Motrix'i gizle", "id": "app.hide", "role": "hide" },
- { "label": "Diğerlerini gizle", "id": "app.hide-others", "role": "hideothers" },
- { "label": "Hepsini Göster", "id": "app.unhide", "role": "unhide" },
{ "type": "separator" },
{ "label": "Motrix'ten çık", "id": "app.quit", "role": "quit" }
]
diff --git a/src/main/menus/zh-CN/linux.json b/src/main/menus/zh-CN/linux.json
index 8384fd56..759c2e7d 100644
--- a/src/main/menus/zh-CN/linux.json
+++ b/src/main/menus/zh-CN/linux.json
@@ -8,9 +8,6 @@
{ "type": "separator" },
{ "label": "偏好设置...", "id": "app.preferences", "command": "application:preferences" },
{ "label": "检查更新...", "id": "app.check-for-updates", "command": "application:check-for-updates" },
- { "label": "隐藏 Motrix", "id": "app.hide", "role": "hide" },
- { "label": "隐藏其他", "id": "app.hide-others", "role": "hideothers" },
- { "label": "显示全部", "id": "app.unhide", "role": "unhide" },
{ "type": "separator" },
{ "label": "退出 Motrix", "id": "app.quit", "role": "quit" }
]
diff --git a/src/main/menus/zh-CN/win32.json b/src/main/menus/zh-CN/win32.json
index 8384fd56..759c2e7d 100644
--- a/src/main/menus/zh-CN/win32.json
+++ b/src/main/menus/zh-CN/win32.json
@@ -8,9 +8,6 @@
{ "type": "separator" },
{ "label": "偏好设置...", "id": "app.preferences", "command": "application:preferences" },
{ "label": "检查更新...", "id": "app.check-for-updates", "command": "application:check-for-updates" },
- { "label": "隐藏 Motrix", "id": "app.hide", "role": "hide" },
- { "label": "隐藏其他", "id": "app.hide-others", "role": "hideothers" },
- { "label": "显示全部", "id": "app.unhide", "role": "unhide" },
{ "type": "separator" },
{ "label": "退出 Motrix", "id": "app.quit", "role": "quit" }
]
diff --git a/src/main/menus/zh-TW/darwin.json b/src/main/menus/zh-TW/darwin.json
index c07caaa9..d9f3fa1c 100644
--- a/src/main/menus/zh-TW/darwin.json
+++ b/src/main/menus/zh-TW/darwin.json
@@ -16,20 +16,20 @@
]
},
{
- "label": "工作",
+ "label": "任務",
"id": "menu.task",
"submenu": [
- { "label": "新增工作", "id": "task.new-task", "command": "application:new-task", "command-after": "application:show,index"},
- { "label": "新建 BT 工作", "id": "task.new-bt-task", "command": "application:new-bt-task", "command-arg": "torrent", "command-after": "application:show,index"},
+ { "label": "新增任務", "id": "task.new-task", "command": "application:new-task", "command-after": "application:show,index"},
+ { "label": "新建 BT 任務", "id": "task.new-bt-task", "command": "application:new-bt-task", "command-arg": "torrent", "command-after": "application:show,index"},
{ "type": "separator" },
- { "label": "暫停工作", "id": "task.pause-task", "command": "application:pause-task" },
- { "label": "繼續工作", "id": "task.resume-task", "command": "application:resume-task" },
- { "label": "刪除工作", "id": "task.delete-task", "command": "application:delete-task" },
- { "label": "上移工作", "id": "task.move-task-up", "command": "application:move-task-up" },
- { "label": "下移工作", "id": "task.move-task-down", "command": "application:move-task-down" },
+ { "label": "暫停任務", "id": "task.pause-task", "command": "application:pause-task" },
+ { "label": "繼續任務", "id": "task.resume-task", "command": "application:resume-task" },
+ { "label": "刪除任務", "id": "task.delete-task", "command": "application:delete-task" },
+ { "label": "上移任務", "id": "task.move-task-up", "command": "application:move-task-up" },
+ { "label": "下移任務", "id": "task.move-task-down", "command": "application:move-task-down" },
{ "type": "separator" },
- { "label": "暂停所有工作", "id": "task.pause-all-task", "command": "application:pause-all-task" },
- { "label": "繼續所有工作", "id": "task.resume-all-task", "command": "application:resume-all-task" },
+ { "label": "暂停所有任務", "id": "task.pause-all-task", "command": "application:pause-all-task" },
+ { "label": "繼續所有任務", "id": "task.resume-all-task", "command": "application:resume-all-task" },
{ "type": "separator" },
{ "label": "清除最近的下載紀錄", "id": "task.clear-recent-tasks", "command": "application:clear-recent-tasks" }
]
diff --git a/src/main/menus/zh-TW/linux.json b/src/main/menus/zh-TW/linux.json
index 26caa714..95705f33 100644
--- a/src/main/menus/zh-TW/linux.json
+++ b/src/main/menus/zh-TW/linux.json
@@ -8,28 +8,25 @@
{ "type": "separator" },
{ "label": "偏好設定...", "id": "app.preferences", "command": "application:preferences" },
{ "label": "檢查更新...", "id": "app.check-for-updates", "command": "application:check-for-updates" },
- { "label": "隐藏 Motrix", "id": "app.hide", "role": "hide" },
- { "label": "隱藏其它", "id": "app.hide-others", "role": "hideothers" },
- { "label": "全部顯示", "id": "app.unhide", "role": "unhide" },
{ "type": "separator" },
{ "label": "結束 Motrix", "id": "app.quit", "role": "quit" }
]
},
{
- "label": "工作",
+ "label": "任務",
"id": "menu.task",
"submenu": [
- { "label": "新增工作", "id": "task.new-task", "command": "application:new-task", "command-after": "application:show,index"},
- { "label": "新建 BT 工作", "id": "task.new-bt-task", "command": "application:new-bt-task", "command-arg": "torrent", "command-after": "application:show,index"},
+ { "label": "新增任務", "id": "task.new-task", "command": "application:new-task", "command-after": "application:show,index"},
+ { "label": "新建 BT 任務", "id": "task.new-bt-task", "command": "application:new-bt-task", "command-arg": "torrent", "command-after": "application:show,index"},
{ "type": "separator" },
- { "label": "暫停工作", "id": "task.pause-task", "command": "application:pause-task" },
- { "label": "繼續工作", "id": "task.resume-task", "command": "application:resume-task" },
- { "label": "刪除工作", "id": "task.delete-task", "command": "application:delete-task" },
- { "label": "上移工作", "id": "task.move-task-up", "command": "application:move-task-up" },
- { "label": "下移工作", "id": "task.move-task-down", "command": "application:move-task-down" },
+ { "label": "暫停任務", "id": "task.pause-task", "command": "application:pause-task" },
+ { "label": "繼續任務", "id": "task.resume-task", "command": "application:resume-task" },
+ { "label": "刪除任務", "id": "task.delete-task", "command": "application:delete-task" },
+ { "label": "上移任務", "id": "task.move-task-up", "command": "application:move-task-up" },
+ { "label": "下移任務", "id": "task.move-task-down", "command": "application:move-task-down" },
{ "type": "separator" },
- { "label": "暫停所有工作", "id": "task.pause-all-task", "command": "application:pause-all-task" },
- { "label": "繼續所有工作", "id": "task.resume-all-task", "command": "application:resume-all-task" },
+ { "label": "暫停所有任務", "id": "task.pause-all-task", "command": "application:pause-all-task" },
+ { "label": "繼續所有任務", "id": "task.resume-all-task", "command": "application:resume-all-task" },
{ "type": "separator" },
{ "label": "清除最近的下載紀錄", "id": "task.clear-recent-tasks", "command": "application:clear-recent-tasks" }
]
diff --git a/src/main/menus/zh-TW/win32.json b/src/main/menus/zh-TW/win32.json
index 456b789a..3017ac5e 100644
--- a/src/main/menus/zh-TW/win32.json
+++ b/src/main/menus/zh-TW/win32.json
@@ -8,28 +8,25 @@
{ "type": "separator" },
{ "label": "偏好設定...", "id": "app.preferences", "command": "application:preferences" },
{ "label": "檢查更新...", "id": "app.check-for-updates", "command": "application:check-for-updates" },
- { "label": "隐藏 Motrix", "id": "app.hide", "role": "hide" },
- { "label": "隱藏其它", "id": "app.hide-others", "role": "hideothers" },
- { "label": "全部顯示", "id": "app.unhide", "role": "unhide" },
{ "type": "separator" },
{ "label": "結束 Motrix", "id": "app.quit", "role": "quit" }
]
},
{
- "label": "工作",
+ "label": "任務",
"id": "menu.task",
"submenu": [
- { "label": "新增工作", "id": "task.new-task", "command": "application:new-task", "command-after": "application:show,index"},
- { "label": "新建 BT 工作", "id": "task.new-bt-task", "command": "application:new-bt-task", "command-arg": "torrent", "command-after": "application:show,index"},
+ { "label": "新增任務", "id": "task.new-task", "command": "application:new-task", "command-after": "application:show,index"},
+ { "label": "新建 BT 任務", "id": "task.new-bt-task", "command": "application:new-bt-task", "command-arg": "torrent", "command-after": "application:show,index"},
{ "type": "separator" },
- { "label": "暫停工作", "id": "task.pause-task", "command": "application:pause-task" },
- { "label": "繼續工作", "id": "task.resume-task", "command": "application:resume-task" },
- { "label": "刪除工作", "id": "task.delete-task", "command": "application:delete-task" },
- { "label": "上移工作", "id": "task.move-task-up", "command": "application:move-task-up" },
- { "label": "下移工作", "id": "task.move-task-down", "command": "application:move-task-down" },
+ { "label": "暫停任務", "id": "task.pause-task", "command": "application:pause-task" },
+ { "label": "繼續任務", "id": "task.resume-task", "command": "application:resume-task" },
+ { "label": "刪除任務", "id": "task.delete-task", "command": "application:delete-task" },
+ { "label": "上移任務", "id": "task.move-task-up", "command": "application:move-task-up" },
+ { "label": "下移任務", "id": "task.move-task-down", "command": "application:move-task-down" },
{ "type": "separator" },
- { "label": "暫停所有工作", "id": "task.pause-all-task", "command": "application:pause-all-task" },
- { "label": "繼續所有工作", "id": "task.resume-all-task", "command": "application:resume-all-task" },
+ { "label": "暫停所有任務", "id": "task.pause-all-task", "command": "application:pause-all-task" },
+ { "label": "繼續所有任務", "id": "task.resume-all-task", "command": "application:resume-all-task" },
{ "type": "separator" },
{ "label": "清除最近的下載紀錄", "id": "task.clear-recent-tasks", "command": "application:clear-recent-tasks" }
]
diff --git a/src/shared/locales/index.js b/src/shared/locales/index.js
index b4e9c911..048205ae 100644
--- a/src/shared/locales/index.js
+++ b/src/shared/locales/index.js
@@ -6,23 +6,23 @@
export const availableLanguages = [
{
value: 'en-US',
- label: '🇺🇸 English (US)'
+ label: 'English'
},
{
- value: 'zh-CN',
- label: '🇨🇳 简体中文'
+ value: 'fr',
+ label: 'Français'
},
{
- value: 'zh-TW',
- label: 'ᴛᴡ 正體中文'
+ value: 'tr',
+ label: 'Türkçe'
},
{
- value: 'tr',
- label: '🇹🇷 Türkçe (TR)'
+ value: 'zh-CN',
+ label: '简体中文'
},
{
- value: 'fr',
- label: '🇫🇷 Français (FR)'
+ value: 'zh-TW',
+ label: '繁體中文'
}
]
diff --git a/src/shared/locales/zh-TW/app.js b/src/shared/locales/zh-TW/app.js
index e68fe923..817626d1 100644
--- a/src/shared/locales/zh-TW/app.js
+++ b/src/shared/locales/zh-TW/app.js
@@ -1,5 +1,5 @@
export default {
- 'task-list': '工作列表',
+ 'task-list': '任務列表',
'add-task': '新增任務',
'about': '關於 Motrix',
'preferences': '偏好設定...',
diff --git a/src/shared/locales/zh-TW/menu.js b/src/shared/locales/zh-TW/menu.js
index 0bc4fdb5..a56178cb 100644
--- a/src/shared/locales/zh-TW/menu.js
+++ b/src/shared/locales/zh-TW/menu.js
@@ -1,7 +1,7 @@
export default {
'app': 'Motrix',
'file': '檔案',
- 'task': '工作',
+ 'task': '任務',
'edit': '編輯',
'window': '視窗',
'help': '說明'
diff --git a/src/shared/locales/zh-TW/preferences.js b/src/shared/locales/zh-TW/preferences.js
index 11ecb480..c108254d 100644
--- a/src/shared/locales/zh-TW/preferences.js
+++ b/src/shared/locales/zh-TW/preferences.js
@@ -5,13 +5,13 @@ export default {
'save': '儲存並套用',
'discard': '拋棄',
'startup': '啟動',
- 'auto-resume-all': '啟動後自動繼續未完成工作',
+ 'auto-resume-all': '啟動後自動繼續未完成任務',
'default-dir': '預設下載路徑',
'mas-default-dir-tip': '因 App Store 的沙盒權限限制,建議將預設下載路徑設定為您的「下載」資料夾',
- 'task-manage': '工作管理',
- 'max-concurrent-downloads': '最多可同時下載的工作數',
+ 'task-manage': '任務管理',
+ 'max-concurrent-downloads': '最多可同時下載的任務數',
'max-connection-per-server': '每台伺服器的最大連線數',
- 'new-task-show-downloading': '新增工作後自動顯示下載頁',
+ 'new-task-show-downloading': '新增任務後自動顯示下載頁',
'continue': '中斷續傳',
'task-completed-notify': '下載完成後通知',
'auto-purge-record': '當結束程式時自動清除下載紀錄',
diff --git a/src/shared/locales/zh-TW/subnav.js b/src/shared/locales/zh-TW/subnav.js
index 9f2fac24..1723f084 100644
--- a/src/shared/locales/zh-TW/subnav.js
+++ b/src/shared/locales/zh-TW/subnav.js
@@ -1,4 +1,4 @@
export default {
- 'task-list': '工作列表',
+ 'task-list': '任務列表',
'preferences': '偏好設定'
}
diff --git a/src/shared/locales/zh-TW/task.js b/src/shared/locales/zh-TW/task.js
index add419af..adb2b9cd 100644
--- a/src/shared/locales/zh-TW/task.js
+++ b/src/shared/locales/zh-TW/task.js
@@ -2,15 +2,15 @@ export default {
'active': '下載中',
'waiting': '等待中',
'stopped': '已停止',
- 'new-task': '新增工作',
- 'new-bt-task': '新增 BT 工作',
- 'uri-task': '連結工作',
- 'torrent-task': '種子工作',
+ 'new-task': '新增任務',
+ 'new-bt-task': '新增 BT 任務',
+ 'uri-task': '連結任務',
+ 'torrent-task': '種子任務',
'uri-task-tip': '新增多個下載連結時,請確保每行只有一個連結(支援磁力連結)',
'thunder-link-tip': '友情提示:迅雷連結解碼之後的資源不一定存在',
- 'task-name': '工作名稱',
+ 'task-name': '任務名稱',
'task-out': '重新命名',
- 'task-out-tip': '選填(僅支援單一工作)',
+ 'task-out-tip': '選填(僅支援單一任務)',
'task-split': '下載執行緒',
'task-dir': '儲存資料夾',
'task-ua': 'UA',
@@ -23,35 +23,35 @@ export default {
'copyright-warning-message': '您要下載的檔案可能是有版權的音訊視訊,請確保您有相應的版權方授權。',
'copyright-yes': '是,我有版權方授權',
'copyright-no': '否',
- 'copyright-error-message': '因版權问题,新增工作失敗',
- 'pause-task': '暫停工作',
- 'pause-task-success': '暫停工作 "{{taskName}}" 成功',
- 'pause-task-fail': '暫停工作 "{{taskName}}" 失敗',
- 'resume-task': '繼續工作',
- 'resume-task-success': '繼續工作 "{{taskName}}" 成功',
- 'resume-task-fail': '繼續工作 "{{taskName}}" 失敗',
- 'delete-task': '移除工作',
- 'delete-selected-tasks': '移除選取的工作',
+ 'copyright-error-message': '因版權问题,新增任務失敗',
+ 'pause-task': '暫停任務',
+ 'pause-task-success': '暫停任務 "{{taskName}}" 成功',
+ 'pause-task-fail': '暫停任務 "{{taskName}}" 失敗',
+ 'resume-task': '繼續任務',
+ 'resume-task-success': '繼續任務 "{{taskName}}" 成功',
+ 'resume-task-fail': '繼續任務 "{{taskName}}" 失敗',
+ 'delete-task': '移除任務',
+ 'delete-selected-tasks': '移除選取的任務',
'delete-task-confirm': '你確定要移除 "{{taskName}}" 下載紀錄嗎?',
'delete-task-label': '同時删除檔案',
- 'delete-task-success': '移除工作 "{{taskName}}" 成功',
- 'delete-task-fail': '移除工作 "{{taskName}}" 失敗',
- 'remove-task-file-fail': '删除工作檔案失敗,請手動删除',
- 'remove-task-config-file-fail': '删除工作設定檔失敗,請手動删除',
- 'move-task-up': '上移工作',
- 'move-task-down': '下載工作',
- 'pause-all-task': '暫停所有工作',
- 'pause-all-task-success': '暫停所有工作成功',
- 'pause-all-task-fail': '暫停所有工作失敗',
- 'resume-all-task': '繼續所有工作',
- 'resume-all-task-success': '繼續所有工作成功',
- 'resume-all-task-fail': '繼續所有工作失敗',
+ 'delete-task-success': '移除任務 "{{taskName}}" 成功',
+ 'delete-task-fail': '移除任務 "{{taskName}}" 失敗',
+ 'remove-task-file-fail': '删除任務檔案失敗,請手動删除',
+ 'remove-task-config-file-fail': '删除任務設定檔失敗,請手動删除',
+ 'move-task-up': '上移任務',
+ 'move-task-down': '下載任務',
+ 'pause-all-task': '暫停所有任務',
+ 'pause-all-task-success': '暫停所有任務成功',
+ 'pause-all-task-fail': '暫停所有任務失敗',
+ 'resume-all-task': '繼續所有任務',
+ 'resume-all-task-success': '繼續所有任務成功',
+ 'resume-all-task-fail': '繼續所有任務失敗',
'clear-recent-tasks': '清除最近的下載紀錄',
'purge-record': '清除下載紀錄',
'purge-record-success': '清除下載紀錄成功',
'purge-record-fail': '清除下載紀錄失敗',
- 'refresh-list': '重整工作清單',
- 'no-task': '目前没有下載工作',
+ 'refresh-list': '重整任務清單',
+ 'no-task': '目前没有下載任務',
'copy-link': '複製連結',
'copy-link-success': '複製連結成功',
'remove-record': '移除下載紀錄',
@@ -63,7 +63,7 @@ export default {
'file-not-exist': '目標檔案不存在或已删除',
'file-path-error': '檔案路徑錯誤',
'opening-task-message': '正在打開 "{{taskName}}" ...',
- 'get-task-name': '抓取工作名稱中...',
+ 'get-task-name': '抓取任務名稱中...',
'remaining-prefix': '剩下',
'select-torrent': '將種子拖曳到此,或點選來選取',
'task-info-dialog-title': '{{title}} 詳細資訊',