]> git.basschouten.com Git - openhab-addons.git/commitdiff
[xmltv] Add few missing translations and reorder the entries (#12872)
authorlolodomo <lg.hc@free.fr>
Sat, 4 Jun 2022 18:30:38 +0000 (20:30 +0200)
committerGitHub <noreply@github.com>
Sat, 4 Jun 2022 18:30:38 +0000 (20:30 +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.xmltv/src/main/resources/OH-INF/i18n/xmltv.properties
bundles/org.openhab.binding.xmltv/src/main/resources/OH-INF/thing/thing-types.xml

index 9b5f21afd24b802db92713a649c0f29f2404051e..dc3181c55101de2a0dbf5ff1984e95a0f5ceea99 100644 (file)
@@ -3,22 +3,14 @@
 binding.xmltv.name = XmlTV Binding
 binding.xmltv.description = This is the binding for reading and parsing XmlTV files
 
-# bridge types
-
-thing-type.xmltv.xmltvfile.label = XmlTVFile
-thing-type.xmltv.xmltvfile.description = This is the interface to a XmlTV file
-
-thing-type.config.xmltv.xmltvfile.filePath.label = XmlTV File Path
-thing-type.config.xmltv.xmltvfile.filePath.description = Path to an XmlTV file.
-thing-type.config.xmltv.xmltvfile.refresh.label = Refresh Interval
-thing-type.config.xmltv.xmltvfile.refresh.description = Specifies the XMLTV file reload interval in hours.
-thing-type.config.xmltv.xmltvfile.encoding.label = File encoding
-thing-type.config.xmltv.xmltvfile.encoding.description = Specifies the XMLTV file encoding.
-
 # thing types
 
 thing-type.xmltv.channel.label = Channel
 thing-type.xmltv.channel.description = This represent a channel on a given TV file
+thing-type.xmltv.xmltvfile.label = XmlTVFile
+thing-type.xmltv.xmltvfile.description = This is the interface to a XmlTV file
+
+# thing types config
 
 thing-type.config.xmltv.channel.channelId.label = Channel Id
 thing-type.config.xmltv.channel.channelId.description = Id of the channel as presented in the XmlTV file.
@@ -26,39 +18,51 @@ thing-type.config.xmltv.channel.offset.label = Offset
 thing-type.config.xmltv.channel.offset.description = Moves an event or datetime value forward or backward (in minutes)
 thing-type.config.xmltv.channel.refresh.label = Refresh Interval
 thing-type.config.xmltv.channel.refresh.description = Specifies the refresh interval in seconds.
+thing-type.config.xmltv.xmltvfile.encoding.label = File encoding
+thing-type.config.xmltv.xmltvfile.encoding.description = Specifies the XMLTV file encoding.
+thing-type.config.xmltv.xmltvfile.filePath.label = XmlTV File Path
+thing-type.config.xmltv.xmltvfile.filePath.description = Path to an XmlTV file.
+thing-type.config.xmltv.xmltvfile.refresh.label = Refresh Interval
+thing-type.config.xmltv.xmltvfile.refresh.description = Specifies the XMLTV file reload interval in hours.
 
 # channel group types
 
 channel-group-type.xmltv.channelprops.label = Channel Properties
+channel-group-type.xmltv.channelprops.description = Properties of the current channel.
 channel-group-type.xmltv.currentprog.label = Current Program
+channel-group-type.xmltv.currentprog.description = Program currently on air on this channel.
 channel-group-type.xmltv.nextprog.label = Next Program
-       
-# channel type
+channel-group-type.xmltv.nextprog.description = Program which will follow current program on this channel.
+
+# channel types
 
+channel-type.xmltv.elapsedTime.label = Current Time
+channel-type.xmltv.elapsedTime.description = Current time of currently playing program.
+channel-type.xmltv.icon.label = Icon
+channel-type.xmltv.icon.description = Icon of the channel / program.
 channel-type.xmltv.iconUrl.label = Channel Icon URL
 channel-type.xmltv.iconUrl.description = Icon URL of the TV channel.
-channel-type.xmltv.progIconUrl.label = Program URL
-channel-type.xmltv.progIconUrl.description = URL to an image of the program.
-channel-type.xmltv.progTitle.label = Title
-channel-type.xmltv.progTitle.description = Program Title.
 channel-type.xmltv.progCategory.label = Category
 channel-type.xmltv.progCategory.description = Program Category.
-channel-type.xmltv.progStart.label = Start Time
-channel-type.xmltv.progStart.description = Program Start Time
 channel-type.xmltv.progEnd.label = End Time
 channel-type.xmltv.progEnd.description = Program End Time
-channel-type.xmltv.elapsedTime.label = Current Time
-channel-type.xmltv.elapsedTime.description = Current time of currently playing program.
+channel-type.xmltv.progEnd.state.pattern = %1$tF %1$tR
+channel-type.xmltv.progIconUrl.label = Program URL
+channel-type.xmltv.progIconUrl.description = URL to an image of the program.
+channel-type.xmltv.progStart.label = Start Time
+channel-type.xmltv.progStart.description = Program Start Time
+channel-type.xmltv.progStart.state.pattern = %1$tF %1$tR
+channel-type.xmltv.progTitle.label = Title
+channel-type.xmltv.progTitle.description = Program Title.
+channel-type.xmltv.progress.label = Progress
+channel-type.xmltv.progress.description = Relative progression of the current program.
 channel-type.xmltv.remainingTime.label = Remaining Time
 channel-type.xmltv.remainingTime.description = Time remaining until end of the program.
 channel-type.xmltv.timeLeft.label = Time Left
 channel-type.xmltv.timeLeft.description = Time left before program start
-channel-type.xmltv.progress.label = Progress
-channel-type.xmltv.progress.description = Relative progression of the current program.
-channel-type.xmltv.icon.label = Icon
-channel-type.xmltv.icon.description = Icon of the channel / program.
 
 # messages
+
 no-more-programs = No programmes to come in the current XML file for this channel
 no-file-available = No file available
 file-outdated = XMLTV file seems outdated
index dbc89996c368a943067a759af049292b100625cb..1b0c54662359e273be48591eb140a7ca67f2d410 100644 (file)
                        </parameter>
                        <parameter name="refresh" type="integer" unit="h">
                                <label>Refresh Interval</label>
-                               <description>Specifies the XMLTV file reload interval in hours</description>
+                               <description>Specifies the XMLTV file reload interval in hours.</description>
                                <default>24</default>
                        </parameter>
                        <parameter name="encoding" type="text" required="true">
                                <label>File encoding</label>
-                               <description>Specifies the XMLTV file encoding</description>
+                               <description>Specifies the XMLTV file encoding.</description>
                                <default>UTF8</default>
                        </parameter>
                </config-description>
@@ -53,7 +53,7 @@
 
                        <parameter name="refresh" type="integer" unit="s">
                                <label>Refresh Interval</label>
-                               <description>Specifies the refresh interval in seconds</description>
+                               <description>Specifies the refresh interval in seconds.</description>
                                <default>60</default>
                        </parameter>
 
@@ -63,7 +63,7 @@
 
        <channel-group-type id="channelprops">
                <label>Channel Properties</label>
-               <description>Properties of the current channel</description>
+               <description>Properties of the current channel.</description>
                <channels>
                        <channel id="iconUrl" typeId="iconUrl"/>
                        <channel id="icon" typeId="icon"/>
@@ -72,7 +72,7 @@
 
        <channel-group-type id="currentprog">
                <label>Current Program</label>
-               <description>Program currently on air on this channel</description>
+               <description>Program currently on air on this channel.</description>
                <channels>
                        <channel id="progStart" typeId="progStart"/>
                        <channel id="progEnd" typeId="progEnd"/>
@@ -88,7 +88,7 @@
 
        <channel-group-type id="nextprog">
                <label>Next Program</label>
-               <description>Program which will follow current program on this channel</description>
+               <description>Program which will follow current program on this channel.</description>
                <channels>
                        <channel id="progStart" typeId="progStart"/>
                        <channel id="timeLeft" typeId="timeLeft"/>