Add Dutch locale on supported Alexa interfaces (#132936)

This commit is contained in:
Jan Bouwhuis 2024-12-11 19:01:20 +01:00 committed by GitHub
parent 233d927c01
commit 3a7fc15656
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 21 additions and 0 deletions

View File

@ -317,6 +317,7 @@ class Alexa(AlexaCapability):
"hi-IN", "hi-IN",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
"pt-BR", "pt-BR",
} }
@ -403,6 +404,7 @@ class AlexaPowerController(AlexaCapability):
"hi-IN", "hi-IN",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
"pt-BR", "pt-BR",
} }
@ -469,6 +471,7 @@ class AlexaLockController(AlexaCapability):
"hi-IN", "hi-IN",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
"pt-BR", "pt-BR",
} }
@ -523,6 +526,7 @@ class AlexaSceneController(AlexaCapability):
"hi-IN", "hi-IN",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
"pt-BR", "pt-BR",
} }
@ -562,6 +566,7 @@ class AlexaBrightnessController(AlexaCapability):
"hi-IN", "hi-IN",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
"pt-BR", "pt-BR",
} }
@ -611,6 +616,7 @@ class AlexaColorController(AlexaCapability):
"hi-IN", "hi-IN",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
"pt-BR", "pt-BR",
} }
@ -669,6 +675,7 @@ class AlexaColorTemperatureController(AlexaCapability):
"hi-IN", "hi-IN",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
"pt-BR", "pt-BR",
} }
@ -715,6 +722,7 @@ class AlexaSpeaker(AlexaCapability):
"fr-FR", # Not documented as of 2021-12-04, see PR #60489 "fr-FR", # Not documented as of 2021-12-04, see PR #60489
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
} }
def name(self) -> str: def name(self) -> str:
@ -772,6 +780,7 @@ class AlexaStepSpeaker(AlexaCapability):
"es-ES", "es-ES",
"fr-FR", # Not documented as of 2021-12-04, see PR #60489 "fr-FR", # Not documented as of 2021-12-04, see PR #60489
"it-IT", "it-IT",
"nl-NL",
} }
def name(self) -> str: def name(self) -> str:
@ -801,6 +810,7 @@ class AlexaPlaybackController(AlexaCapability):
"hi-IN", "hi-IN",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
"pt-BR", "pt-BR",
} }
@ -859,6 +869,7 @@ class AlexaInputController(AlexaCapability):
"hi-IN", "hi-IN",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
"pt-BR", "pt-BR",
} }
@ -1104,6 +1115,7 @@ class AlexaThermostatController(AlexaCapability):
"hi-IN", "hi-IN",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
"pt-BR", "pt-BR",
} }
@ -1245,6 +1257,7 @@ class AlexaPowerLevelController(AlexaCapability):
"fr-CA", "fr-CA",
"fr-FR", "fr-FR",
"it-IT", "it-IT",
"nl-NL",
"ja-JP", "ja-JP",
} }
@ -1723,6 +1736,7 @@ class AlexaRangeController(AlexaCapability):
"hi-IN", "hi-IN",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
"pt-BR", "pt-BR",
} }
@ -2066,6 +2080,7 @@ class AlexaToggleController(AlexaCapability):
"hi-IN", "hi-IN",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
"pt-BR", "pt-BR",
} }
@ -2212,6 +2227,7 @@ class AlexaPlaybackStateReporter(AlexaCapability):
"hi-IN", "hi-IN",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
"pt-BR", "pt-BR",
} }
@ -2267,6 +2283,7 @@ class AlexaSeekController(AlexaCapability):
"hi-IN", "hi-IN",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
"pt-BR", "pt-BR",
} }
@ -2360,6 +2377,7 @@ class AlexaEqualizerController(AlexaCapability):
"hi-IN", "hi-IN",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
"pt-BR", "pt-BR",
} }
@ -2470,6 +2488,7 @@ class AlexaCameraStreamController(AlexaCapability):
"hi-IN", "hi-IN",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
"pt-BR", "pt-BR",
} }

View File

@ -59,6 +59,7 @@ CONF_SUPPORTED_LOCALES = (
"hi-IN", "hi-IN",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
"pt-BR", "pt-BR",
) )

View File

@ -527,6 +527,7 @@ async def async_api_unlock(
"hi-IN", "hi-IN",
"it-IT", "it-IT",
"ja-JP", "ja-JP",
"nl-NL",
"pt-BR", "pt-BR",
}: }:
msg = ( msg = (