From: Marcel van der Veldt Date: Mon, 12 Oct 2020 22:30:30 +0000 (+0200) Subject: some missing translations X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=1eb1f887b03f4982152942bf021eccc63a6e4828;p=music-assistant-server.git some missing translations --- diff --git a/music_assistant/managers/config.py b/music_assistant/managers/config.py index 032cf39e..f2b54e6b 100755 --- a/music_assistant/managers/config.py +++ b/music_assistant/managers/config.py @@ -376,7 +376,8 @@ class PlayerSettings(ConfigBaseItem): ConfigEntry( entry_key=CONF_POWER_CONTROL, entry_type=ConfigEntryType.STRING, - description=CONF_POWER_CONTROL, + label=CONF_POWER_CONTROL, + description="desc_power_control", values=controls, ) ) @@ -393,7 +394,8 @@ class PlayerSettings(ConfigBaseItem): ConfigEntry( entry_key=CONF_VOLUME_CONTROL, entry_type=ConfigEntryType.STRING, - description=CONF_VOLUME_CONTROL, + label=CONF_VOLUME_CONTROL, + description="desc_volume_control", values=controls, ) ) @@ -407,7 +409,8 @@ class PlayerSettings(ConfigBaseItem): entry_type=ConfigEntryType.INT, default_value=0, range=(0, 500), - description=CONF_GROUP_DELAY, + label=CONF_GROUP_DELAY, + description="desc_group_delay", ) ) break diff --git a/music_assistant/translations.json b/music_assistant/translations.json index 2571b54b..6fdf5813 100644 --- a/music_assistant/translations.json +++ b/music_assistant/translations.json @@ -14,7 +14,9 @@ "crossfade_duration": "Enable crossfade", "group_delay": "Correction of groupdelay", "security": "Security", - + "power_control": "Power Control", + "volume_control": "Volume Control", + "desc_sample_rate": "Set the maximum sample rate this player can handle.", "desc_volume_normalisation": "Enable R128 volume normalisation to play music at an equally loud volume.", "desc_target_volume": "Set the preferred target volume level in LUFS. The R128 default is -22 LUFS.", @@ -23,7 +25,9 @@ "desc_enable_provider": "Enable this provider.", "desc_base_username": "Username to access this Music Assistant server.", "desc_base_password": "A password to protect this Music Assistant server. Can be left blank but this is extremely dangerous if this server is reachable from outside.", - "desc_group_delay": "Only used on grouped playback. Adjust the delay of the grouped playback on this player" + "desc_group_delay": "Only used on grouped playback. Adjust the delay of the grouped playback on this player", + "desc_power_control": "Use an external device as power control for this player.", + "desc_volume_control": "Use an external device as volume control for this player." }, "nl": { "enabled": "Ingeschakeld", @@ -40,6 +44,8 @@ "crossfade_duration": "Crossfade inschakelen", "security": "Beveiliging", "group_delay": "Correctie van groepsvertraging", + "power_control": "Power Control", + "volume_control": "Volume Control", "desc_sample_rate": "Stel de maximale sample rate in die deze speler aankan.", "desc_volume_normalisation": "R128 volume normalisatie inschakelen om muziek altijd op een gelijk volume af te spelen.", @@ -49,6 +55,8 @@ "desc_enable_provider": "Deze provider inschakelen.", "desc_base_username": "Gebruikersnaam waarmee deze server beveiligd moet worden.", "desc_base_password": "Wachtwoord waarmee deze server beveiligd moet worden. Mag worden leeggelaten maar dit is extreem gevaarlijk indien je besluit de server extern toegankelijk te maken.", - "desc_group_delay": "Gebruikt bij afspelen in groep. Pas de vertraging aan voor deze player." + "desc_group_delay": "Gebruikt bij afspelen in groep. Pas de vertraging aan voor deze player.", + "desc_power_control": "Gebruik een extern apparaat als aan/uit control voor deze speler.", + "desc_volume_control": "Gebruik een extern apparaat als volume control voor deze speler." } }