From f29cadd57d4f88a0ccbf6963a84a006ea2ba4df4 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Mon, 31 Jan 2022 03:22:13 -0800 Subject: [PATCH] Add new translation strings --- src/components/player/NowPlayingInfoView.tsx | 2 +- src/components/player/NowPlayingMiniView.tsx | 6 ++++-- src/i18n/locales/de.json | 15 +++++++++------ src/i18n/locales/en.json | 9 ++++++--- src/i18n/locales/zhcn.json | 13 +++++++++---- 5 files changed, 29 insertions(+), 16 deletions(-) diff --git a/src/components/player/NowPlayingInfoView.tsx b/src/components/player/NowPlayingInfoView.tsx index 0d6c835..0179e3f 100644 --- a/src/components/player/NowPlayingInfoView.tsx +++ b/src/components/player/NowPlayingInfoView.tsx @@ -370,7 +370,7 @@ const NowPlayingInfoView = () => { {currentArtist?.info?.similarArtist?.length > 0 && ( { const { t } = useTranslation(); @@ -319,7 +319,9 @@ const NowPlayingMiniView = () => { enterable speaker={ - {t('How many tracks? (1-500)*')} + {`${t('How many tracks?')} ${ + config.serverType === Server.Subsonic ? '(1 - 500)*' : '(1 - ∞)' + }`}