]> git.basschouten.com Git - openhab-addons.git/commitdiff
[sonos] Align XML description and default translations (#12886)
authorlolodomo <lg.hc@free.fr>
Mon, 6 Jun 2022 07:51:01 +0000 (09:51 +0200)
committerGitHub <noreply@github.com>
Mon, 6 Jun 2022 07:51:01 +0000 (09:51 +0200)
Re-run of the i18n tool will then trigger no change.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/i18n/sonos.properties
bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/channels.xml

index 14c14068666ea803bcb20a8a40b718c8dbef92d6..7e3d429e3480c2074ddce650a28650a2249444f9 100644 (file)
@@ -76,6 +76,8 @@ 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.batterycharging.label = Battery Charging
+channel-type.sonos.batterycharging.description = Indicator set to ON when the battery is charging
 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
@@ -109,14 +111,20 @@ 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.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.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.microphone.label = Microphone
+channel-type.sonos.microphone.description = Indicator set to ON when the microphone is enabled
 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.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.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
@@ -162,36 +170,28 @@ 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.surroundmusiclevel.label = Surround Music Level
+channel-type.sonos.surroundmusiclevel.description = Set or get the surround level adjustment for music
 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.treble.label = Treble
+channel-type.sonos.treble.description = Set or get the treble level adjustment
 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
 
index 69e92c50be244eb26ad871dae0692c73b2918e10..9b6c6d53124abb511d7619e8901aea3f589f9e03 100644 (file)
@@ -8,7 +8,7 @@
        <channel-type id="add" advanced="true">
                <item-type>String</item-type>
                <label>Add</label>
-               <description>Add the given Zone Player to the group of this Zone Player</description>
+               <description>Add the given Sonos device to the group of this Sonos device</description>
        </channel-type>
 
        <channel-type id="alarm" advanced="true">
        <channel-type id="led" advanced="true">
                <item-type>Switch</item-type>
                <label>Led</label>
-               <description>Set or get the status of the white led on the front of the Zone Player</description>
+               <description>Set or get the status of the white led on the front of the Sonos device</description>
        </channel-type>
 
        <channel-type id="localcoordinator" advanced="true">
                <item-type>Switch</item-type>
                <label>Local Coordinator</label>
-               <description>Indicator set to ON if this Zone Player is the Zone Group Coordinator</description>
+               <description>Indicator set to ON if this Sonos device is the Zone Group Coordinator</description>
                <state readOnly="true"/>
        </channel-type>
 
        <channel-type id="publicaddress" advanced="true">
                <item-type>Switch</item-type>
                <label>Public Address</label>
-               <description>Put all Zone Players in one group, and stream audio from the line-in from the Zone Player that triggered
-                       the command</description>
+               <description>Put all Sonos devices in one group, and stream audio from the line-in from the Sonos device that
+                       triggered the command</description>
        </channel-type>
 
        <channel-type id="radio" advanced="true">
        <channel-type id="remove" advanced="true">
                <item-type>String</item-type>
                <label>Remove</label>
-               <description>Remove the given Zone Player from the group of this Zone Player</description>
+               <description>Remove the given Sonos device from the group of this Sonos device</description>
        </channel-type>
 
        <channel-type id="repeat" advanced="true">
        <channel-type id="restore" advanced="true">
                <item-type>Switch</item-type>
                <label>Restore</label>
-               <description>Restore the state of the Zone Player</description>
+               <description>Restore the state of the Sonos device</description>
        </channel-type>
 
        <channel-type id="restoreall" advanced="true">
                <item-type>Switch</item-type>
                <label>Restore All</label>
-               <description>Restore the state of all the Zone Players</description>
+               <description>Restore the state of all the Sonos devices</description>
        </channel-type>
 
        <channel-type id="save" advanced="true">
                <item-type>Switch</item-type>
                <label>Save</label>
-               <description>Save the state of the Zone Player</description>
+               <description>Save the state of the Sonos device</description>
        </channel-type>
 
        <channel-type id="saveall" advanced="true">
                <item-type>Switch</item-type>
                <label>Save All</label>
-               <description>Save the state of all the Zone Players</description>
+               <description>Save the state of all the Sonos devices</description>
        </channel-type>
 
        <channel-type id="shuffle" advanced="true">
        <channel-type id="standalone" advanced="true">
                <item-type>Switch</item-type>
                <label>Stand Alone</label>
-               <description>Make the Zone Player leave its group and become a standalone Zone Player</description>
+               <description>Make the Sonos device leave its group and become a standalone player</description>
        </channel-type>
 
        <!-- The Sonos State Type -->
        <channel-type id="state" advanced="true">
                <item-type>String</item-type>
                <label>State</label>
-               <description>The State channel contains state of the Zone Player, e.g. PLAYING, STOPPED,...</description>
+               <description>The State channel contains state of the Sonos device, e.g. PLAYING, STOPPED,...</description>
                <state readOnly="true">
                        <options>
                                <option value="STOPPED">Stopped</option>
        <channel-type id="stop" advanced="true">
                <item-type>Switch</item-type>
                <label>Stop</label>
-               <description>Stop the Zone Player. ON if the player is stopped.</description>
+               <description>Stop the Sonos device. ON if the player is stopped.</description>
        </channel-type>
 
        <channel-type id="treble" advanced="true">
        <channel-type id="zonegroupid" advanced="true">
                <item-type>String</item-type>
                <label>Zone Group ID</label>
-               <description>Id of the Zone Group the Zone Player belongs to</description>
+               <description>Id of the Zone Group the Sonos device belongs to</description>
                <state readOnly="true"/>
        </channel-type>
 
        <channel-type id="zonename">
                <item-type>String</item-type>
                <label>Zone Name</label>
-               <description>Name of the Zone Group associated to the Zone Player</description>
+               <description>Name of the Zone Group associated to the Sonos device</description>
                <state readOnly="true"/>
        </channel-type>
 
        <channel-type id="linein" advanced="true">
                <item-type>Switch</item-type>
                <label>Line-in Connected</label>
-               <description>Indicator set to ON when the line-in of the Zone Player is connected</description>
+               <description>Indicator set to ON when the line-in of the Sonos device is connected</description>
                <state readOnly="true"/>
        </channel-type>
 
        <channel-type id="playlinein" advanced="true">
                <item-type>String</item-type>
                <label>Play Line-in</label>
-               <description>Play the line-in of the the Zone Player corresponding to the given UIN</description>
+               <description>Play the line-in of the the Sonos device corresponding to the given UIN</description>
        </channel-type>
 
        <!-- Extended channels (for SONOS Move only) -->