From 4591c70fc58b09761329ad445b7b681c9ab55815 Mon Sep 17 00:00:00 2001 From: Poesty Li Date: Sun, 5 May 2024 12:44:49 +0000 Subject: [PATCH 1/4] Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (153 of 153 strings) Translation: Hyperpipe/Translations Translate-URL: https://hosted.weblate.org/projects/hyperpipe/translations/zh_Hans/ --- src/locales/zh_Hans.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/locales/zh_Hans.json b/src/locales/zh_Hans.json index b59a442..90efaa3 100644 --- a/src/locales/zh_Hans.json +++ b/src/locales/zh_Hans.json @@ -27,7 +27,8 @@ "feeds": "订阅源", "offline": "离线", "logout": "登出", - "restore_prefs": "还原偏好" + "restore_prefs": "还原偏好", + "now_playing": "正在播放" }, "action": { "add": "添加", From b9b15e78af6fd8f2db7b07232a25dec7644d05c2 Mon Sep 17 00:00:00 2001 From: maboroshin Date: Tue, 7 May 2024 01:36:47 +0000 Subject: [PATCH 2/4] Translated using Weblate (Japanese) Currently translated at 99.3% (152 of 153 strings) Translation: Hyperpipe/Translations Translate-URL: https://hosted.weblate.org/projects/hyperpipe/translations/ja/ --- src/locales/ja.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/locales/ja.json b/src/locales/ja.json index b897f70..1fea540 100644 --- a/src/locales/ja.json +++ b/src/locales/ja.json @@ -18,7 +18,8 @@ "feeds": "フィード", "offline": "オフライン", "logout": "ログアウト", - "restore_prefs": "設定用URLから復元" + "restore_prefs": "設定用URLから復元", + "now_playing": "再生中" }, "action": { "back": "戻る", From 6586f782f21cb93758a2911b0f3a4b2516644c13 Mon Sep 17 00:00:00 2001 From: banaanihillo Date: Thu, 9 May 2024 13:30:48 +0300 Subject: [PATCH 3/4] Keyboard handlers, aria labels, locales cleanup Added keyboard handlers for queue items Fixed and/or added missing aria labels Overlapping translations cleaned up + new ones added --- src/components/Btn.vue | 9 +++++++-- src/components/NavBar.vue | 7 ++++++- src/components/Playlists.vue | 10 ++++++++-- src/components/Search.vue | 17 ++++++++++++----- src/components/SongItem.vue | 19 +++++++++++++++---- src/components/StatusBar.vue | 34 +++++++++++++++++++++++----------- src/locales/en.json | 33 +++++++++++++++++++++++++++------ src/locales/ja.json | 3 +-- src/locales/zh_Hans.json | 3 +-- 9 files changed, 100 insertions(+), 35 deletions(-) diff --git a/src/components/Btn.vue b/src/components/Btn.vue index 9a2f14b..0248aa1 100644 --- a/src/components/Btn.vue +++ b/src/components/Btn.vue @@ -1,12 +1,17 @@ diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index adb493b..1b1d2d7 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -28,7 +28,12 @@ function set(page) { diff --git a/src/components/SongItem.vue b/src/components/SongItem.vue index fbdeb69..3286dec 100644 --- a/src/components/SongItem.vue +++ b/src/components/SongItem.vue @@ -129,7 +129,7 @@ const openSong = el => { {{ author ? author.replaceAll(' - Topic', '') : '' }} - + {{ t('title.now_playing') }} @@ -138,24 +138,35 @@ const openSong = el => { class="bi bi-three-dots-vertical popup-wrap ign" @mouseenter="show = true" @mouseleave="show = false" - @keyup.enter="show = !show"> + @keyup.enter="show = !show" + :aria-label="t('action.more_controls')"> diff --git a/src/components/StatusBar.vue b/src/components/StatusBar.vue index cc6880d..755a87f 100644 --- a/src/components/StatusBar.vue +++ b/src/components/StatusBar.vue @@ -77,10 +77,16 @@ async function Like() {