From 7a890242a53bd7bdd503d2ac0c1c165a9597016c Mon Sep 17 00:00:00 2001 From: kyw Date: Sat, 5 Feb 2022 02:35:28 +0800 Subject: [PATCH] Irregular update 04/02 (#322) --- src/i18n/README.md | 12 ++++++++- src/i18n/en_SGA.jsonc | 12 ++++++++- src/i18n/en_US.jsonc | 11 +++++++- src/i18n/zh_HK.jsonc | 18 +++++++++++--- src/i18n/zh_yue.jsonc | 36 +++++++++++++++++---------- src/renderer/views/app/sidebar.ejs | 10 ++++---- src/renderer/views/pages/settings.ejs | 14 +++++------ 7 files changed, 81 insertions(+), 32 deletions(-) diff --git a/src/i18n/README.md b/src/i18n/README.md index 78c87965..f2a514e4 100644 --- a/src/i18n/README.md +++ b/src/i18n/README.md @@ -36,4 +36,14 @@ Updated 02/02/2022 17:16 UTC * `term.videoExtras`: Added for `en_US`. * `term.top`: Added for `en_US`. * `action.newpreset`: Added for `en_US`. -* `action.deletepreset`: Added for `en_US`. \ No newline at end of file +* `action.deletepreset`: Added for `en_US`. + +Updated 04/02/2022 10:00 UTC + +* `term.history`: Added for `en_US`. +* `action.copy`: Added for `en_US`. +* `settings.header.visual.theme`: Added for `en_US`. +* `settings.option.visual.theme.default`: Added for `en_US`. +* `settings.option.visual.theme.dark`: Added for `en_US`. +* `settings.option.experimental.copy_log`: Added for `en_US`. +* `settings.option.experimental.inline_playlists`: Added for `en_US`. \ No newline at end of file diff --git a/src/i18n/en_SGA.jsonc b/src/i18n/en_SGA.jsonc index d300d3fb..5860f213 100644 --- a/src/i18n/en_SGA.jsonc +++ b/src/i18n/en_SGA.jsonc @@ -29,10 +29,11 @@ "term.learnMore": "|:ᒷᖋ∷リ ᒲᒍ∷ᒷ", "term.accountSettings": "ᖋᔮᔮᒍ⚍リᒣ ϟᒷᒣᒣ╎リ┤ϟ", "term.logout": "|:ᒍ┤ᒍ⚍ᒣ", - "term.login": "|:ᒍ┤╎リ", + "term.login": "|:ᒍ┤ ╎リ", "term.about": "ᖋᕊᒍ⚍ᒣ", "term.privateSession": "I!∷╎⍊ᖋᒣᒷ ϟᒷϟϟ╎ᒍリ", "term.queue": "ᑑ⚍ᒷ⚍ᒷ", + "term.history": "⍑╎ϟᒣᒍ∷॥", "term.search": "ϟᒷᖋ∷ᔮ⍑", "term.library": "|:╎ᕊ∷ᖋ∷॥", "term.listenNow": "|:╎ϟᒣᒷリ", @@ -213,6 +214,7 @@ "action.tray.quit": "ᑑ⚍╎ᒣ", "action.tray.show": "ϟ⍑ᒍ∴", "action.update": "⚍i!↸ᖋᒣᒷ", + "action.copy": "ᔮᒍi!॥", "action.newpreset": "リᒷ∴ i!∷ᒷϟᒷᒣ...", // Equalizer Preset "action.deletepreset": "↸ᒷ|:ᒷᒣᒷ i!∷ᒷϟᒷᒣ", @@ -262,6 +264,12 @@ "settings.option.visual.hardwareAcceleration.description": "∷ᒷᑑ⚍╎∷ᒷϟ ∷ᒷ|:ᖋ⚍リᔮ⍑", "settings.header.visual.hardwareAcceleration.default": "↸ᒷ⎓ᖋ⚍|:ᒣ", "settings.header.visual.hardwareAcceleration.webGPU": "∴ᒷᕊ┤i!⚍", + "settings.header.visual.theme": "ᒣ⍑ᒷᒲᒷ", + + // Settings - Visual - Theme name + "settings.option.visual.theme.default": "ᔮ╎↸ᒷ∷", + "settings.option.visual.theme.dark": "↸ᖋ∷·ǀ·", + // Refer to term.disabled for the disabled option "settings.option.visual.showPersonalInfo": "ϟ⍑ᒍ∴ i!ᒷ∷ϟᒍリᖋ|: ╎リ⎓ᒍ", // Toggle @@ -294,6 +302,8 @@ "settings.header.experimental.description": "ᖋ↸⋮⚍ϟᒣ ᒣ⍑ᒷ ᒷ/i!ᒷ∷╎ᒲᒷリᒣᖋ|: ϟᒷᒣᒣ╎リ┤ϟ ⎓ᒍ∷ ᔮ╎↸ᒷ∷.", "settings.option.experimental.compactUI": "ᔮᒍᒲi!ᖋᔮᒣ ⚍╎", // Toggle "settings.option.experimental.close_button_hide": "ᔮ|:ᒍϟᒷ ᕊ⚍ᒣᒣᒍリ ϟ⍑ᒍ⚍|:↸ ⍑╎↸ᒷ ᒣ⍑ᒷ ᖋi!i!|:╎ᔮᖋᒣ╎ᒍリ", + "settings.option.experimental.copy_log": "ᔮᒍi!॥ |:ᒍ┤ϟ ᒣᒍ ᔮ|:╎i!ᕊᒍᖋ∷↸", + "settings.option.experimental.inline_playlists": "╎リ|:╎リᒷ i!|:ᖋ॥|:╎ϟᒣϟ ᖋリ↸ ᖋ|:ᕊ⚍ᒲϟ", // Refer to term.disabled & term.enabled // Spatialization Menu diff --git a/src/i18n/en_US.jsonc b/src/i18n/en_US.jsonc index 622011fd..45c9a4e2 100644 --- a/src/i18n/en_US.jsonc +++ b/src/i18n/en_US.jsonc @@ -29,7 +29,7 @@ "term.learnMore": "Learn more", "term.accountSettings": "Account Settings", "term.logout": "Logout", - "term.login": "Login", + "term.login": "Log In", "term.about": "About", "term.privateSession": "Private Session", "term.queue": "Queue", @@ -214,6 +214,7 @@ "action.tray.quit": "Quit", "action.tray.show": "Show", "action.update": "Update", + "action.copy": "Copy", "action.newpreset": "New Preset...", // Equalizer Preset "action.deletepreset": "Delete Preset", @@ -263,6 +264,12 @@ "settings.option.visual.hardwareAcceleration.description": "Requires relaunch", "settings.header.visual.hardwareAcceleration.default": "Default", "settings.header.visual.hardwareAcceleration.webGPU": "WebGPU", + "settings.header.visual.theme": "Theme", + + // Settings - Visual - Theme name + "settings.option.visual.theme.default": "Cider", + "settings.option.visual.theme.dark": "Dark", + // Refer to term.disabled for the disabled option "settings.option.visual.showPersonalInfo": "Show Personal Info", // Toggle @@ -295,6 +302,8 @@ "settings.header.experimental.description": "Adjust the experimental settings for Cider.", "settings.option.experimental.compactUI": "Compact UI", // Toggle "settings.option.experimental.close_button_hide": "Close Button Should Hide the Application", + "settings.option.experimental.copy_log": "Copy logs to clipboard", + "settings.option.experimental.inline_playlists": "Inline Playlists and Albums", // Refer to term.disabled & term.enabled // Spatialization Menu diff --git a/src/i18n/zh_HK.jsonc b/src/i18n/zh_HK.jsonc index d68a3e84..d8e04e5a 100644 --- a/src/i18n/zh_HK.jsonc +++ b/src/i18n/zh_HK.jsonc @@ -33,6 +33,7 @@ "term.about": "關於", "term.privateSession": "私人模式", "term.queue": "待播清單", + "term.history": "歷史紀錄", "term.search": "搜尋", "term.library": "資料庫", "term.listenNow": "立即聆聽", @@ -136,12 +137,12 @@ "term.deletedpreset": "已刪除", "term.musicVideos": "MV", // Search page friendlyTypes "term.stations": "電台", - "term.curators": "Curators", - "term.appleCurators": "Apple Curators", + //"term.curators": "Curators", + //"term.appleCurators": "Apple Curators", "term.radioShows": "廣播單集", "term.recordLabels": "唱片公司", "term.videoExtras": "影片特輯", - "term.top": "Top", + //"term.top": "Top", // Home "home.title": "主頁", @@ -213,6 +214,7 @@ "action.tray.quit": "結束", "action.tray.show": "顯示", "action.update": "更新", + "action.copy": "複製", "action.newpreset": "新增範本", //Equallizer preset "action.deletepreset": "刪除範本", @@ -262,6 +264,12 @@ "settings.option.visual.hardwareAcceleration.description": "需要重啓 Cider 才能生效", "settings.header.visual.hardwareAcceleration.default": "預設", "settings.header.visual.hardwareAcceleration.webGPU": "WebGPU", + "settings.header.visual.theme": "主題", + + // Settings - Visual - Theme name + "settings.option.visual.theme.default": "預設", + "settings.option.visual.theme.dark": "午夜暗", + // Refer to term.disabled for the disabled option "settings.option.visual.showPersonalInfo": "顯示個人檔案", // Toggle @@ -286,7 +294,7 @@ "settings.option.connectivity.lastfmScrobble.delay": "Last.fm Scrobble 延遲 (%)", "settings.option.connectivity.lastfmScrobble.nowPlaying": "啟用 Last.fm 正在播放", "settings.option.connectivity.lastfmScrobble.removeFeatured": "從歌名中移除藝人推薦 (Last.fm)", - "settings.option.connectivity.lastfmScrobble.filterLoop": "Filter looped track (Last.fm)", + //"settings.option.connectivity.lastfmScrobble.filterLoop": "Filter looped track (Last.fm)", // Refer to term.connect for the connect button // Settings - Experimental @@ -294,6 +302,8 @@ "settings.header.experimental.description": "調整Cider的實驗性功能", "settings.option.experimental.compactUI": "緊凑型 UI", // Toggle "settings.option.experimental.close_button_hide": "以關閉按鈕來隱藏 Cider", + "settings.option.experimental.copy_log": "複製運行記錄檔至剪貼簿", + //"settings.option.experimental.inline_playlists": "Inline Playlists and Albums", // Refer to term.disabled & term.enabled // Spatialization Menu diff --git a/src/i18n/zh_yue.jsonc b/src/i18n/zh_yue.jsonc index 6c62a6f8..e3692746 100644 --- a/src/i18n/zh_yue.jsonc +++ b/src/i18n/zh_yue.jsonc @@ -1,7 +1,7 @@ { // i18n Info - "i18n.languageName": "廣東話(香港﹚", // name of language in native language + "i18n.languageName": "廣東話(香港)", // name of language in native language "i18n.languageNameEnglish": "Cantonese (Hong Kong)", // name of language in English "i18n.category": "main", // main = real language, fun = fun community languages "i18n.authors": "@tszngaiyip @strikesnc", // Authors, if you contribute to this file feel free to add your name seperated with a space @@ -33,6 +33,7 @@ "term.about": "關於", "term.privateSession": "無痕模式", "term.queue": "待播清單", + "term.history": "播放歷史", "term.search": "搵野", "term.library": "資料庫", "term.listenNow": "即刻聽", @@ -130,18 +131,18 @@ "term.topResult": "熱門搜尋結果", // Search Results "term.sharedPlaylists": "播放清單", // Search Results "term.people": "個人檔案", // Search Results - "term.newpreset.name": "New EQ Preset Name", // Equalizer Preset - "term.addedpreset": "Added Preset", - "term.deletepreset.warn": "Are you sure you want to delete this preset?", - "term.deletedpreset": "Removed preset", - "term.musicVideos": "Music Videos", // Search page friendlyTypes + "term.newpreset.name": "新EQ範本嘅名", // Equalizer Preset + "term.addedpreset": "新增咗", + "term.deletepreset.warn": "你係咪要刪除呢個範本?", + "term.deletedpreset": "刪除咗", + "term.musicVideos": "MV", // Search page friendlyTypes "term.stations": "電台", - "term.curators": "Curators", - "term.appleCurators": "Apple Curators", - "term.radioShows": "廣播單集", + //"term.curators": "Curators", + //"term.appleCurators": "Apple Curators", + "term.radioShows": "電台單集", "term.recordLabels": "唱片公司", - "term.videoExtras": "影片特輯", - "term.top": "Top", + "term.videoExtras": "相關嘅片", + //"term.top": "Top", // Home "home.title": "主頁", @@ -213,8 +214,9 @@ "action.tray.quit": "結束", "action.tray.show": "顯示", "action.update": "更新", - "action.newpreset": "New Preset...", // Equalizer Preset - "action.deletepreset": "Delete Preset", + "action.copy": "複製", + "action.newpreset": "新增範本", // Equalizer Preset + "action.deletepreset": "刪除範本", // Settings - General "settings.header.general": "一般", @@ -262,6 +264,12 @@ "settings.option.visual.hardwareAcceleration.description": "需要重開Cider先會生效", "settings.header.visual.hardwareAcceleration.default": "預設", "settings.header.visual.hardwareAcceleration.webGPU": "WebGPU", + "settings.header.visual.theme": "主題", + + // Settings - Visual - Theme name + "settings.option.visual.theme.default": "預設", + "settings.option.visual.theme.dark": "黑色", + // Refer to term.disabled for the disabled option "settings.option.visual.showPersonalInfo": "顯示個人檔案", // Toggle @@ -294,6 +302,8 @@ "settings.header.experimental.description": "調整Cider嘅實驗性功能", "settings.option.experimental.compactUI": "逼啲既 UI", // Toggle "settings.option.experimental.close_button_hide": "㩒交叉制嚟隱藏 Cider", + "settings.option.experimental.copy_log": "將log複製喺剪貼簿", + //"settings.option.experimental.inline_playlists": "Inline Playlists and Albums", // Refer to term.disabled & term.enabled // Spatialization Menu diff --git a/src/renderer/views/app/sidebar.ejs b/src/renderer/views/app/sidebar.ejs index ba0ba6b2..7c89a71d 100644 --- a/src/renderer/views/app/sidebar.ejs +++ b/src/renderer/views/app/sidebar.ejs @@ -21,7 +21,7 @@
- Cider + {{$root.getLz('app.name')}}
@@ -84,12 +84,12 @@
diff --git a/src/renderer/views/pages/settings.ejs b/src/renderer/views/pages/settings.ejs index e8089339..ea43c323 100644 --- a/src/renderer/views/pages/settings.ejs +++ b/src/renderer/views/pages/settings.ejs @@ -99,12 +99,12 @@
- Theme + {{$root.getLz('settings.header.visual.theme')}}
@@ -598,7 +598,7 @@
- Inline Playlists and Albums + {{$root.getLz('settings.option.experimental.inline_playlists')}}
@@ -640,11 +640,11 @@
- Copy logs to clipboard + {{$root.getLz('settings.option.experimental.copy_log')}}
@@ -732,7 +732,7 @@ methods: { copyLogs() { ipcRenderer.send('fetch-log') - notyf.success('Logs copied to clipboard'); + notyf.success(app.getLz('term.share.success')); }, getLanguages: function () { let langs = this.$root.lzListing