diff --git a/apps/pwa/src/i18n/en_us.ts b/apps/pwa/src/i18n/en_us.ts index 36cae793..003594d5 100644 --- a/apps/pwa/src/i18n/en_us.ts +++ b/apps/pwa/src/i18n/en_us.ts @@ -112,4 +112,7 @@ export default { pwa_update_question: 'do you want to reload to switch new version now ?', music: 'music', public_musicbill: 'public musicbill', + pick_from_playlist_randomly: 'pick from playlist randomly', + relocate_to_here: 'relocate to here', + empty_playqueue: 'empty playqueue', }; diff --git a/apps/pwa/src/i18n/zh_hans.ts b/apps/pwa/src/i18n/zh_hans.ts index 08b2a93c..79b67c7b 100644 --- a/apps/pwa/src/i18n/zh_hans.ts +++ b/apps/pwa/src/i18n/zh_hans.ts @@ -111,6 +111,9 @@ const zhCN: { pwa_update_question: '检查到新版本, 是否马上加载?', music: '音乐', public_musicbill: '公开乐单', + pick_from_playlist_randomly: '随机从播放列表选取', + relocate_to_here: '重定位到此处', + empty_playqueue: '空的播放队列', }; export default zhCN; diff --git a/apps/pwa/src/pages/player/playlist_playqueue_drawer/playqueue.tsx b/apps/pwa/src/pages/player/playlist_playqueue_drawer/playqueue.tsx index 0d9a1048..8d120c15 100644 --- a/apps/pwa/src/pages/player/playlist_playqueue_drawer/playqueue.tsx +++ b/apps/pwa/src/pages/player/playlist_playqueue_drawer/playqueue.tsx @@ -15,6 +15,7 @@ import Empty from '@/components/empty'; import absoluteFullSize from '@/style/absolute_full_size'; import { CSSVariable } from '@/global_style'; import autoScrollbar from '@/style/auto_scrollbar'; +import { t } from '@/i18n'; import Context from '../context'; import TabContent from './tab_content'; import MusicBase from '../components/music_base'; @@ -80,12 +81,12 @@ function Playqueue({ style }: { style: unknown }) { {queueMusic.shuffle ? ( ) : null} {actualIndex === currentPlayqueuePosition ? null : ( { e.stopPropagation(); @@ -159,7 +160,7 @@ function Playqueue({ style }: { style: unknown }) { ) : (
- +
)}