From ba33d5a39b4164b660fcf9b0456691b3a329a9cd Mon Sep 17 00:00:00 2001 From: 3gf8jv4dv <3gf8jv4dv@gmail.com> Date: Sun, 15 Dec 2024 14:45:38 +0800 Subject: [PATCH] Fix i18n keys (#2170) `setting__setting__desktop_lyric_font_weight` to `setting__desktop_lyric_font_weight` --- src/lang/en-us.json | 6 +++--- src/lang/zh-cn.json | 6 +++--- src/lang/zh-tw.json | 6 +++--- .../views/Setting/components/SettingDesktopLyric.vue | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/lang/en-us.json b/src/lang/en-us.json index d0f287e4..4a457ce7 100644 --- a/src/lang/en-us.json +++ b/src/lang/en-us.json @@ -541,9 +541,9 @@ "setting__search_focus_search_box": "Automatically focus search box on startup", "setting__search_history": "Enable Search History", "setting__search_hot": "Enable Top Searches", - "setting__setting__desktop_lyric_font_weight_extended": "Translated & romanized lyrics", - "setting__setting__desktop_lyric_font_weight_font": "Verbatim lyrics", - "setting__setting__desktop_lyric_font_weight_line": "Progressive lyrics", + "setting__desktop_lyric_font_weight_extended": "Translated & romanized lyrics", + "setting__desktop_lyric_font_weight_font": "Verbatim lyrics", + "setting__desktop_lyric_font_weight_line": "Progressive lyrics", "setting__sync": "Data Sync", "setting__sync_client_address": "Current device address: {address}", "setting__sync_client_host": "Sync service address", diff --git a/src/lang/zh-cn.json b/src/lang/zh-cn.json index f34bdd50..e945e41f 100644 --- a/src/lang/zh-cn.json +++ b/src/lang/zh-cn.json @@ -541,9 +541,9 @@ "setting__search_focus_search_box": "启动时自动聚焦搜索框", "setting__search_history": "显示历史搜索记录", "setting__search_hot": "显示热门搜索", - "setting__setting__desktop_lyric_font_weight_extended": "翻译、罗马音歌词", - "setting__setting__desktop_lyric_font_weight_font": "逐字歌词", - "setting__setting__desktop_lyric_font_weight_line": "逐行歌词", + "setting__desktop_lyric_font_weight_extended": "翻译、罗马音歌词", + "setting__desktop_lyric_font_weight_font": "逐字歌词", + "setting__desktop_lyric_font_weight_line": "逐行歌词", "setting__sync": "数据同步", "setting__sync_client_address": "当前设备地址:{address}", "setting__sync_client_host": "同步服务地址", diff --git a/src/lang/zh-tw.json b/src/lang/zh-tw.json index 49f31404..6837506b 100644 --- a/src/lang/zh-tw.json +++ b/src/lang/zh-tw.json @@ -541,9 +541,9 @@ "setting__search_focus_search_box": "啟動時自動聚焦搜尋框", "setting__search_history": "顯示歷史搜尋記錄", "setting__search_hot": "顯示熱門搜尋", - "setting__setting__desktop_lyric_font_weight_extended": "翻譯、羅馬音歌詞", - "setting__setting__desktop_lyric_font_weight_font": "逐字歌詞", - "setting__setting__desktop_lyric_font_weight_line": "逐行歌詞", + "setting__desktop_lyric_font_weight_extended": "翻譯、羅馬音歌詞", + "setting__desktop_lyric_font_weight_font": "逐字歌詞", + "setting__desktop_lyric_font_weight_line": "逐行歌詞", "setting__sync": "資料同步", "setting__sync_client_address": "目前設備位址:{address}", "setting__sync_client_host": "同步服務地址", diff --git a/src/renderer/views/Setting/components/SettingDesktopLyric.vue b/src/renderer/views/Setting/components/SettingDesktopLyric.vue index 50b8d2d6..49da05d7 100644 --- a/src/renderer/views/Setting/components/SettingDesktopLyric.vue +++ b/src/renderer/views/Setting/components/SettingDesktopLyric.vue @@ -31,9 +31,9 @@ dd dd h3#setting__desktop_lyric_font_weight {{ $t('setting__desktop_lyric_font_weight') }} div - base-checkbox.gap-left(id="setting_setting__desktop_lyric_font_weight_font" :model-value="appSetting['desktopLyric.style.isFontWeightFont']" :label="$t('setting__setting__desktop_lyric_font_weight_font')" @update:model-value="updateSetting({ 'desktopLyric.style.isFontWeightFont': $event })") - base-checkbox.gap-left(id="setting_setting__desktop_lyric_font_weight_line" :model-value="appSetting['desktopLyric.style.isFontWeightLine']" :label="$t('setting__setting__desktop_lyric_font_weight_line')" @update:model-value="updateSetting({ 'desktopLyric.style.isFontWeightLine': $event })") - base-checkbox.gap-left(id="setting_setting__desktop_lyric_font_weight_extended" :model-value="appSetting['desktopLyric.style.isFontWeightExtended']" :label="$t('setting__setting__desktop_lyric_font_weight_extended')" @update:model-value="updateSetting({ 'desktopLyric.style.isFontWeightExtended': $event })") + base-checkbox.gap-left(id="setting_setting__desktop_lyric_font_weight_font" :model-value="appSetting['desktopLyric.style.isFontWeightFont']" :label="$t('setting__desktop_lyric_font_weight_font')" @update:model-value="updateSetting({ 'desktopLyric.style.isFontWeightFont': $event })") + base-checkbox.gap-left(id="setting_setting__desktop_lyric_font_weight_line" :model-value="appSetting['desktopLyric.style.isFontWeightLine']" :label="$t('setting__desktop_lyric_font_weight_line')" @update:model-value="updateSetting({ 'desktopLyric.style.isFontWeightLine': $event })") + base-checkbox.gap-left(id="setting_setting__desktop_lyric_font_weight_extended" :model-value="appSetting['desktopLyric.style.isFontWeightExtended']" :label="$t('setting__desktop_lyric_font_weight_extended')" @update:model-value="updateSetting({ 'desktopLyric.style.isFontWeightExtended': $event })") dd