From d7df7a698d748d2b8affc02fce4cef555cae3702 Mon Sep 17 00:00:00 2001 From: lolodomo Date: Wed, 20 Oct 2021 19:25:22 +0200 Subject: [PATCH] [sonos] Add all default translations to properties file (#11399) * [sonos] Add all default translations to properties file Allows translating the sonos binding strings with Crowdin. Signed-off-by: Laurent Garnier --- .../main/resources/OH-INF/config/config.xml | 2 +- .../resources/OH-INF/i18n/sonos.properties | 183 ++++++++++++++++++ .../resources/OH-INF/i18n/sonos_de.properties | 12 +- .../resources/OH-INF/i18n/sonos_fr.properties | 12 +- .../src/main/resources/OH-INF/thing/One.xml | 2 +- .../src/main/resources/OH-INF/thing/OneSL.xml | 2 +- .../src/main/resources/OH-INF/thing/PLAY1.xml | 2 +- .../src/main/resources/OH-INF/thing/PLAY3.xml | 2 +- .../src/main/resources/OH-INF/thing/PLAY5.xml | 2 +- .../main/resources/OH-INF/thing/channels.xml | 2 +- 10 files changed, 202 insertions(+), 19 deletions(-) diff --git a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/config/config.xml b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/config/config.xml index 2c57a3070..0817ec7f7 100644 --- a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/config/config.xml +++ b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/config/config.xml @@ -7,7 +7,7 @@ - The UDN identifies the Zone Player. + The UDN identifies the Sonos device. diff --git a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/i18n/sonos.properties b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/i18n/sonos.properties index 72031ee4e..944f48f04 100644 --- a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/i18n/sonos.properties +++ b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/i18n/sonos.properties @@ -1,3 +1,186 @@ +# binding +binding.sonos.name = Sonos Binding +binding.sonos.description = This is the binding for the Sonos multi-room audio system. +binding.config.sonos.opmlUrl.label = OPML Service URL +binding.config.sonos.opmlUrl.description = URL for the OPML/tunein.com service +binding.config.sonos.callbackUrl.label = Callback URL +binding.config.sonos.callbackUrl.description = URL to use for playing notification sounds, e.g. http://192.168.0.2:8080 + +# thing types +thing-type.sonos.Amp.label = Amp +thing-type.sonos.Amp.description = Represents SONOS Amp amplifier +thing-type.sonos.Arc.label = Arc +thing-type.sonos.Arc.description = Represents SONOS Arc soundbar +thing-type.sonos.ArcSL.label = Arc +thing-type.sonos.ArcSL.description = Represents SONOS Arc SL soundbar +thing-type.sonos.Beam.label = Beam +thing-type.sonos.Beam.description = Represents SONOS Beam soundbar +thing-type.sonos.CONNECT.label = CONNECT +thing-type.sonos.CONNECT.description = Represents SONOS CONNECT connector +thing-type.sonos.CONNECTAMP.label = CONNECT AMP +thing-type.sonos.CONNECTAMP.description = Represents SONOS CONNECT:AMP amplifier +thing-type.sonos.Move.label = Move +thing-type.sonos.Move.description = Represents SONOS Move speaker +thing-type.sonos.One.label = One +thing-type.sonos.One.description = Represents SONOS One speaker +thing-type.sonos.OneSL.label = One SL +thing-type.sonos.OneSL.description = Represents SONOS One SL speaker +thing-type.sonos.PLAY1.label = PLAY 1 +thing-type.sonos.PLAY1.description = Represents SONOS PLAY:1 speaker +thing-type.sonos.PLAY3.label = PLAY 3 +thing-type.sonos.PLAY3.description = Represents SONOS PLAY:3 speaker +thing-type.sonos.PLAY5.label = PLAY 5 +thing-type.sonos.PLAY5.description = Represents SONOS PLAY:5 speaker +thing-type.sonos.PLAYBAR.label = PLAYBAR +thing-type.sonos.PLAYBAR.description = Represents SONOS PLAYBAR soundbar +thing-type.sonos.PLAYBASE.label = PLAYBASE +thing-type.sonos.PLAYBASE.description = Represents SONOS PLAYBASE soundbar +thing-type.sonos.Port.label = Port +thing-type.sonos.Port.description = Represents SONOS Port connector +thing-type.sonos.Roam.label = Roam +thing-type.sonos.Roam.description = Represents SONOS Roam speaker +thing-type.sonos.SYMFONISK.label = SYMFONISK +thing-type.sonos.SYMFONISK.description = Represents IKEA SYMFONISK speaker +thing-type.sonos.zoneplayer.label = Zone Player +thing-type.sonos.zoneplayer.description = The Zone Player represents a Sonos Zone Player which is not known to this binding + +thing-type.config.sonos.zoneplayer.udn.label = Unique Device Name +thing-type.config.sonos.zoneplayer.udn.description = The UDN identifies the Sonos device. +thing-type.config.sonos.zoneplayer.notificationTimeout.label = Notification Timeout +thing-type.config.sonos.zoneplayer.notificationTimeout.description = Specifies the amount of time in seconds for which the notification sound will be played +thing-type.config.sonos.zoneplayer.notificationVolume.label = Notification Sound Volume +thing-type.config.sonos.zoneplayer.notificationVolume.description = Specifies the volume in percent applied to a notification sound +thing-type.config.sonos.zoneplayer.refresh.label = Refresh Interval +thing-type.config.sonos.zoneplayer.refresh.description = Specifies the refresh interval in seconds + +# channel types +channel-type.sonos.add.label = Add +channel-type.sonos.add.description = Add the given Sonos device to the group of this Sonos device +channel-type.sonos.alarm.label = Set Alarm +channel-type.sonos.alarm.description = Set the first occurring alarm either ON or OFF. Alarms first have to be defined through the Sonos Controller app +channel-type.sonos.alarmproperties.label = Alarm Properties +channel-type.sonos.alarmproperties.description = Properties of the alarm currently running +channel-type.sonos.alarmrunning.label = Alarm Is Running +channel-type.sonos.alarmrunning.description = Set to ON if the alarm was triggered +channel-type.sonos.bass.label = Bass +channel-type.sonos.bass.description = Set or get the bass level adjustment +channel-type.sonos.clearqueue.label = Clear Queue +channel-type.sonos.clearqueue.description = Suppress all songs from the current queue +channel-type.sonos.codec.label = Codec +channel-type.sonos.codec.description = Name of codec currently being decoded +channel-type.sonos.codec.state.option.noSignal = No Signal +channel-type.sonos.codec.state.option.silence = Silence +channel-type.sonos.codec.state.option.DTS = DTS +channel-type.sonos.codec.state.option.dolbyAtmos = Dolby Atmos +channel-type.sonos.codec.state.option.DD20 = Dolby Digital 2.0 +channel-type.sonos.codec.state.option.PCM20 = Dolby Multichannel PCM 2.0 +channel-type.sonos.codec.state.option.DD51 = Dolby Digital 5.1 +channel-type.sonos.codec.state.option.DDPlus51 = Dolby Digital Plus 5.1 +channel-type.sonos.codec.state.option.PCM51 = Dolby Multichannel PCM 5.1 +channel-type.sonos.coordinator.label = Coordinator +channel-type.sonos.coordinator.description = UDN of the coordinator for the current group +channel-type.sonos.currentalbum.label = Current Album +channel-type.sonos.currentalbum.description = Name of the album currently playing +channel-type.sonos.currentalbumart.label = Current Album Cover Art +channel-type.sonos.currentalbumart.description = Cover art of the album currently playing +channel-type.sonos.currentalbumarturl.label = Current Album Cover Art URL +channel-type.sonos.currentalbumarturl.description = Cover art URL of the album currently playing +channel-type.sonos.currenttrack.label = Current Track +channel-type.sonos.currenttrack.description = Name of the current track or radio station currently playing +channel-type.sonos.currenttrackuri.label = Current Track URI +channel-type.sonos.currenttrackuri.description = URI of the current track +channel-type.sonos.currenttransporturi.label = Current AV Transport URI +channel-type.sonos.currenttransporturi.description = URI of the current AV transport +channel-type.sonos.favorite.label = Favorite +channel-type.sonos.favorite.description = Play the given favorite entry. The favorite entry has to be predefined in the Sonos Controller app +channel-type.sonos.heightlevel.label = Height Level +channel-type.sonos.heightlevel.description = Set or get the height level adjustment +channel-type.sonos.led.label = Led +channel-type.sonos.led.description = Set or get the status of the white led on the front of the Sonos device +channel-type.sonos.localcoordinator.label = Local Coordinator +channel-type.sonos.localcoordinator.description = Indicator set to ON if this Sonos device is the Zone Group Coordinator +channel-type.sonos.loudness.label = Loudness +channel-type.sonos.loudness.description = Enable or disable the loudness +channel-type.sonos.nightmode.label = Night Mode +channel-type.sonos.nightmode.description = Enable or disable the night mode feature +channel-type.sonos.notificationsound.label = Notification Sound +channel-type.sonos.notificationsound.description = Play a notification sound by a given URI +channel-type.sonos.playlist.label = Play Playlist +channel-type.sonos.playlist.description = Play the given playlist. The playlist has to be predefined in the Sonos Controller app +channel-type.sonos.playqueue.label = Play Queue +channel-type.sonos.playqueue.description = Play the songs from the current queue +channel-type.sonos.playtrack.label = Play Track +channel-type.sonos.playtrack.description = Play the given track number from the current queue +channel-type.sonos.playuri.label = Play URI +channel-type.sonos.playuri.description = Play the given URI +channel-type.sonos.publicaddress.label = Public Address +channel-type.sonos.publicaddress.description = Put all Sonos devices in one group, and stream audio from the line-in from the Sonos device that triggered the command +channel-type.sonos.radio.label = Radio +channel-type.sonos.radio.description = Play the given radio station. The radio station has to be predefined in the Sonos Controller app +channel-type.sonos.remove.label = Remove +channel-type.sonos.remove.description = Remove the given Sonos device from the group of this Sonos device +channel-type.sonos.repeat.label = Repeat +channel-type.sonos.repeat.description = Repeat track or queue playback +channel-type.sonos.repeat.state.option.OFF = Off +channel-type.sonos.repeat.state.option.ONE = Track +channel-type.sonos.repeat.state.option.ALL = Queue +channel-type.sonos.restore.label = Restore +channel-type.sonos.restore.description = Restore the state of the Sonos device +channel-type.sonos.restoreall.label = Restore All +channel-type.sonos.restoreall.description = Restore the state of all the Sonos devices +channel-type.sonos.save.label = Save +channel-type.sonos.save.description = Save the state of the Sonos device +channel-type.sonos.saveall.label = Save All +channel-type.sonos.saveall.description = Save the state of all the Sonos devices +channel-type.sonos.shuffle.label = Shuffle +channel-type.sonos.shuffle.description = Shuffle queue playback +channel-type.sonos.sleeptimer.label = Sleep Timer +channel-type.sonos.sleeptimer.description = Set/show the duration of the sleep timer in seconds +channel-type.sonos.snooze.label = Snooze +channel-type.sonos.snooze.description = Snooze the running alarm, if any, with the given number of minutes +channel-type.sonos.speechenhancement.label = Speech Enhancement +channel-type.sonos.speechenhancement.description = Enable or disable the speech enhancement feature +channel-type.sonos.standalone.label = Stand Alone +channel-type.sonos.standalone.description = Make the Sonos device leave its group and become a standalone player +channel-type.sonos.state.label = State +channel-type.sonos.state.description = The State channel contains state of the Sonos device, e.g. PLAYING, STOPPED,... +channel-type.sonos.state.state.option.STOPPED = Stopped +channel-type.sonos.state.state.option.PLAYING = Playing +channel-type.sonos.state.state.option.PAUSED_PLAYBACK = Paused +channel-type.sonos.state.state.option.TRANSITIONING = Transitioning +channel-type.sonos.stop.label = Stop +channel-type.sonos.stop.description = Stop the Sonos device. ON if the player is stopped. +channel-type.sonos.treble.label = Treble +channel-type.sonos.treble.description = Set or get the treble level adjustment +channel-type.sonos.subwoofer.label = Subwoofer +channel-type.sonos.subwoofer.description = Enable or disable the subwoofer +channel-type.sonos.subwoofergain.label = Subwoofer Gain +channel-type.sonos.subwoofergain.description = Set or get the subwoofer gain adjustment +channel-type.sonos.surround.label = Surround Audio +channel-type.sonos.surround.description = Enable or disable the surround audio +channel-type.sonos.surroundmusicmode.label = Surround Music Mode +channel-type.sonos.surroundmusicmode.description = Set or get the surround playback mode for music +channel-type.sonos.surroundmusicmode.state.option.0 = Ambient +channel-type.sonos.surroundmusicmode.state.option.1 = Full +channel-type.sonos.surroundmusiclevel.label = Surround Music Level +channel-type.sonos.surroundmusiclevel.description = Set or get the surround level adjustment for music +channel-type.sonos.surroundtvlevel.label = Surround TV Level +channel-type.sonos.surroundtvlevel.description = Set or get the surround level adjustment for TV +channel-type.sonos.tuneinstationid.label = TuneIn Station Id +channel-type.sonos.tuneinstationid.description = Provide the current TuneIn station id or play the TuneIn radio given by its station id +channel-type.sonos.zonegroupid.label = Zone Group ID +channel-type.sonos.zonegroupid.description = Id of the Zone Group the Sonos device belongs to +channel-type.sonos.zonename.label = Zone Name +channel-type.sonos.zonename.description = Name of the Zone Group associated to the Sonos device +channel-type.sonos.linein.label = Line-in Connected +channel-type.sonos.linein.description = Indicator set to ON when the line-in of the Sonos device is connected +channel-type.sonos.playlinein.label = Play Line-in +channel-type.sonos.playlinein.description = Play the line-in of the the Sonos device corresponding to the given UIN +channel-type.sonos.batterycharging.label = Battery Charging +channel-type.sonos.batterycharging.description = Indicator set to ON when the battery is charging +channel-type.sonos.microphone.label = Microphone +channel-type.sonos.microphone.description = Indicator set to ON when the microphone is enabled + # Thing status descriptions offline.conf-error-missing-udn = The parameter "Unique Device Name" must be configured. offline.upnp-device-not-registered = The UPnP device {0} is not yet registered. diff --git a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/i18n/sonos_de.properties b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/i18n/sonos_de.properties index 05bf0e555..2f3b7f491 100644 --- a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/i18n/sonos_de.properties +++ b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/i18n/sonos_de.properties @@ -8,10 +8,14 @@ binding.config.sonos.callbackUrl.label = Callback URL binding.config.sonos.callbackUrl.description = URL zum Abspielen von Benachrichtigungen (z.B. http://192.168.0.2:8080). # thing types +thing-type.sonos.Beam.label = Beam +thing-type.sonos.Beam.description = Dient zur Steuerung von Sonos Beam Speakern. thing-type.sonos.CONNECT.label = CONNECT thing-type.sonos.CONNECT.description = Dient zur Steuerung von Sonos CONNECT Geräten. thing-type.sonos.CONNECTAMP.label = CONNECT:AMP thing-type.sonos.CONNECTAMP.description = Dient zur Steuerung von Sonos CONNECT:AMP Geräten. +thing-type.sonos.One.label = One +thing-type.sonos.One.description = Dient zur Steuerung von Sonos One Speakern. thing-type.sonos.PLAY1.label = PLAY:1 thing-type.sonos.PLAY1.description = Dient zur Steuerung von Sonos PLAY:1 Speakern. thing-type.sonos.PLAY3.label = PLAY:3 @@ -22,14 +26,10 @@ thing-type.sonos.PLAYBAR.label = PLAYBAR thing-type.sonos.PLAYBAR.description = Dient zur Steuerung von Sonos PLAYBAR Speakern. thing-type.sonos.PLAYBASE.label = PLAYBASE thing-type.sonos.PLAYBASE.description = Dient zur Steuerung von Sonos PLAYBASE Speakern. -thing-type.sonos.Beam.label = Beam -thing-type.sonos.Beam.description = Dient zur Steuerung von Sonos Beam Speakern. -thing-type.sonos.zoneplayer.label = Gruppen Player -thing-type.sonos.zoneplayer.description = Dient zur Steuerung von unbekannten Sonos Speakern. -thing-type.sonos.One.label = One -thing-type.sonos.One.description = Dient zur Steuerung von Sonos One Speakern. thing-type.sonos.SYMFONISK.label = SYMFONISK thing-type.sonos.SYMFONISK.description = Dient zur Steuerung von IKEA SYMFONISK Speakern. +thing-type.sonos.zoneplayer.label = Gruppen Player +thing-type.sonos.zoneplayer.description = Dient zur Steuerung von unbekannten Sonos Speakern. thing-type.config.sonos.zoneplayer.udn.label = Eindeutiger Name (UDN) thing-type.config.sonos.zoneplayer.udn.description = Der UDN zur Identifizierung des Sonos Gerätes. diff --git a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/i18n/sonos_fr.properties b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/i18n/sonos_fr.properties index c9e3636ab..fe7a68a04 100644 --- a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/i18n/sonos_fr.properties +++ b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/i18n/sonos_fr.properties @@ -7,10 +7,14 @@ binding.config.sonos.callbackUrl.label = URL callback binding.config.sonos.callbackUrl.description = URL à utiliser pour les notifications sonores, par ex. http://192.168.0.2:8080 # thing types +thing-type.sonos.Beam.label = Beam +thing-type.sonos.Beam.description = Représente une barre de son Sonos Beam thing-type.sonos.CONNECT.label = CONNECT thing-type.sonos.CONNECT.description = Représente un lecteur pré-ampli Sonos CONNECT thing-type.sonos.CONNECTAMP.label = CONNECT:AMP thing-type.sonos.CONNECTAMP.description = Représente un lecteur ampli Sonos CONNECT:AMP +thing-type.sonos.One.label = One +thing-type.sonos.One.description = Represente une enceinte Sonos One thing-type.sonos.PLAY1.label = PLAY:1 thing-type.sonos.PLAY1.description = Représente une enceinte Sonos PLAY:1 thing-type.sonos.PLAY3.label = PLAY:3 @@ -21,14 +25,10 @@ thing-type.sonos.PLAYBAR.label = PLAYBAR thing-type.sonos.PLAYBAR.description = Représente une barre de son Sonos PLAYBAR thing-type.sonos.PLAYBASE.label = PLAYBASE thing-type.sonos.PLAYBASE.description = Représente une barre de son Sonos PLAYBASE -thing-type.sonos.Beam.label = Beam -thing-type.sonos.Beam.description = Représente une barre de son Sonos Beam -thing-type.sonos.zoneplayer.label = Autre Sonos -thing-type.sonos.zoneplayer.description = Représente un équipement Sonos inconnu de l'extension -thing-type.sonos.One.label = One -thing-type.sonos.One.description = Represente une enceinte Sonos One thing-type.sonos.SYMFONISK.label = SYMFONISK thing-type.sonos.SYMFONISK.description = Represente une enceinte meuble IKEA SYMFONISK +thing-type.sonos.zoneplayer.label = Autre Sonos +thing-type.sonos.zoneplayer.description = Représente un équipement Sonos inconnu de l'extension thing-type.config.sonos.zoneplayer.udn.label = Nom unique (UDN) thing-type.config.sonos.zoneplayer.udn.description = Identifie de manière unique un Sonos diff --git a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/One.xml b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/One.xml index 07740c9d1..fc5c3be75 100644 --- a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/One.xml +++ b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/One.xml @@ -8,7 +8,7 @@ - Represents SONOS One Zone Player + Represents SONOS One speaker diff --git a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/OneSL.xml b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/OneSL.xml index 7eb81c3cf..e34d6545f 100644 --- a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/OneSL.xml +++ b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/OneSL.xml @@ -8,7 +8,7 @@ - Represents SONOS One SL Zone Player + Represents SONOS One SL speaker diff --git a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/PLAY1.xml b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/PLAY1.xml index b8e6cd28a..48d9e4ead 100644 --- a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/PLAY1.xml +++ b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/PLAY1.xml @@ -8,7 +8,7 @@ - Represents SONOS PLAY:1 Zone Player + Represents SONOS PLAY:1 speaker diff --git a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/PLAY3.xml b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/PLAY3.xml index 6a04566f2..a4bee8a81 100644 --- a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/PLAY3.xml +++ b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/PLAY3.xml @@ -8,7 +8,7 @@ - Represents SONOS PLAY:3 Zone Player + Represents SONOS PLAY:3 speaker diff --git a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/PLAY5.xml b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/PLAY5.xml index a7b59a227..b753869de 100644 --- a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/PLAY5.xml +++ b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/PLAY5.xml @@ -8,7 +8,7 @@ - Represents SONOS PLAY:5 Zone Player + Represents SONOS PLAY:5 speaker diff --git a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/channels.xml b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/channels.xml index 4e51bab6d..69e92c50b 100644 --- a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/channels.xml +++ b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/channels.xml @@ -160,7 +160,7 @@ String - Play the given playlist. The playlist has to predefined in the Sonos Controller app + Play the given playlist. The playlist has to be predefined in the Sonos Controller app