]> git.basschouten.com Git - openhab-addons.git/commitdiff
[sonos] Add all default translations to properties file (#11399)
authorlolodomo <lg.hc@free.fr>
Wed, 20 Oct 2021 17:25:22 +0000 (19:25 +0200)
committerGitHub <noreply@github.com>
Wed, 20 Oct 2021 17:25:22 +0000 (19:25 +0200)
* [sonos] Add all default translations to properties file

Allows translating the sonos binding strings with Crowdin.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/config/config.xml
bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/i18n/sonos.properties
bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/i18n/sonos_de.properties
bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/i18n/sonos_fr.properties
bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/One.xml
bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/OneSL.xml
bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/PLAY1.xml
bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/PLAY3.xml
bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/PLAY5.xml
bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/channels.xml

index 2c57a3070ff240abb28c8c4c35a85e3ed975ac2f..0817ec7f7068890c5cba56b921a9908d9e46d0f2 100644 (file)
@@ -7,7 +7,7 @@
        <config-description uri="thing-type:sonos:zoneplayer">
                <parameter name="udn" type="text" required="true">
                        <label>Unique Device Name</label>
-                       <description>The UDN identifies the Zone Player.</description>
+                       <description>The UDN identifies the Sonos device.</description>
                </parameter>
                <parameter name="notificationTimeout" type="integer" unit="s">
                        <label>Notification Timeout</label>
index 72031ee4e046c99ff2f79119b87b78b6de989aa9..944f48f044b41cf62727a18471f19139f8d9096a 100644 (file)
@@ -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.
index 05bf0e55576ffdba7b871bf5789051eaff520466..2f3b7f4919605c7a2a859d71b2eba2e24240ffcc 100644 (file)
@@ -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.
index c9e3636abd1447e9cde7b246649140353d939af8..fe7a68a04d6a05420c1a8978ab59d2648d4d6e88 100644 (file)
@@ -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
index 07740c9d17bbbf0dd1c9beda8285bf0f6fadeffc..fc5c3be75c316c7003d48419670886202abc7701 100644 (file)
@@ -8,7 +8,7 @@
        <thing-type id="One" listed="false">
                <!-- Label without column (:) because of device pairing name restrictions -->
                <label>One</label>
-               <description>Represents SONOS One Zone Player</description>
+               <description>Represents SONOS One speaker</description>
 
                <channels>
                        <channel id="add" typeId="add"/>
index 7eb81c3cfc919ed1180815500c44cf7fac15542a..e34d6545fffb9f3140fd6ec7717b7d82784e94e4 100644 (file)
@@ -8,7 +8,7 @@
        <thing-type id="OneSL" listed="false">
                <!-- Label without column (:) because of device pairing name restrictions -->
                <label>One SL</label>
-               <description>Represents SONOS One SL Zone Player</description>
+               <description>Represents SONOS One SL speaker</description>
 
                <channels>
                        <channel id="add" typeId="add"/>
index b8e6cd28adb5d2e357c63a18689f54bb7b8083df..48d9e4ead2f18aaf46cac215b1d1c79093232862 100644 (file)
@@ -8,7 +8,7 @@
        <thing-type id="PLAY1" listed="false">
                <!-- Label without column (:) because of device pairing name restrictions -->
                <label>PLAY 1</label>
-               <description>Represents SONOS PLAY:1 Zone Player</description>
+               <description>Represents SONOS PLAY:1 speaker</description>
 
                <channels>
                        <channel id="add" typeId="add"/>
index 6a04566f27bfb9ac9379f294446ae8abc254bfbb..a4bee8a8104056dfe353b889a3f25b5d76d55354 100644 (file)
@@ -8,7 +8,7 @@
        <thing-type id="PLAY3" listed="false">
                <!-- Label without column (:) because of device pairing name restrictions -->
                <label>PLAY 3</label>
-               <description>Represents SONOS PLAY:3 Zone Player</description>
+               <description>Represents SONOS PLAY:3 speaker</description>
 
                <channels>
                        <channel id="add" typeId="add"/>
index a7b59a227b6512b67ebac6122b82801dc979ebb6..b753869dec6669bf6e2de85dfaddbe991f0e7ab3 100644 (file)
@@ -8,7 +8,7 @@
        <thing-type id="PLAY5" listed="false">
                <!-- Label without column (:) because of device pairing name restrictions -->
                <label>PLAY 5</label>
-               <description>Represents SONOS PLAY:5 Zone Player</description>
+               <description>Represents SONOS PLAY:5 speaker</description>
 
                <channels>
                        <channel id="add" typeId="add"/>
index 4e51bab6d5b7fa375ce0bbe663ec3551311d0966..69e92c50be244eb26ad871dae0692c73b2918e10 100644 (file)
        <channel-type id="playlist" advanced="true">
                <item-type>String</item-type>
                <label>Play Playlist</label>
-               <description>Play the given playlist. The playlist has to predefined in the Sonos Controller app</description>
+               <description>Play the given playlist. The playlist has to be predefined in the Sonos Controller app</description>
        </channel-type>
 
        <channel-type id="playqueue" advanced="true">