some missing translations
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Mon, 12 Oct 2020 22:30:30 +0000 (00:30 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Mon, 12 Oct 2020 22:30:30 +0000 (00:30 +0200)
music_assistant/managers/config.py
music_assistant/translations.json

index 032cf39eb385c563eb80b76192b4a753a6eb5fc9..f2b54e6b87c006bfa6625a08c6ff21c6452c5cd1 100755 (executable)
@@ -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
index 2571b54bd81490f25d822518fe267956a9922814..6fdf5813dff893f9f099aecd33da49dfc8c4d501 100644 (file)
@@ -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."
   }
 }