]> git.basschouten.com Git - openhab-addons.git/commitdiff
[ntp] Align XML description and default translations (#12881)
authorlolodomo <lg.hc@free.fr>
Sat, 4 Jun 2022 20:54:28 +0000 (22:54 +0200)
committerGitHub <noreply@github.com>
Sat, 4 Jun 2022 20:54:28 +0000 (22:54 +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.ntp/src/main/resources/OH-INF/i18n/ntp.properties
bundles/org.openhab.binding.ntp/src/main/resources/OH-INF/thing/thing-types.xml

index 4446e2c4e515793f02eb5c296ee073574afd7b0d..c68fc88a3a903e2ce11b11649cd79554fe355748 100644 (file)
@@ -1,12 +1,15 @@
 # binding
+
 binding.ntp.name = NTP Binding
 binding.ntp.description = The NTP Binding polls the configured timeserver and post the current date and time.
 
 # thing types
+
 thing-type.ntp.ntp.label = NTP Server
 thing-type.ntp.ntp.description = An NTP server that provides current date and time
 
-# thing type configuration
+# thing types config
+
 thing-type.config.ntp.ntp.hostname.label = Hostname
 thing-type.config.ntp.ntp.hostname.description = The NTP server hostname.
 thing-type.config.ntp.ntp.refreshInterval.label = Refresh Interval
@@ -19,18 +22,22 @@ thing-type.config.ntp.ntp.timeZone.label = Timezone
 thing-type.config.ntp.ntp.timeZone.description = The configured timezone.
 
 # channel types
+
 channel-type.ntp.dateTime-channel.label = Date
 channel-type.ntp.dateTime-channel.description = NTP refreshed date and time.
 channel-type.ntp.string-channel.label = Date
 channel-type.ntp.string-channel.description = NTP refreshed date and time.
 
-# channel type configuration
+# channel types config
+
 channel-type.config.ntp.string-channel.DateTimeFormat.label = Date Time Format
 channel-type.config.ntp.string-channel.DateTimeFormat.description = Formattting of the date and time.
 
-# Thing status descriptions
+# thing status descriptions
+
 offline.comm-error-unknown-host = The timeserver hostname {0} is unknown -> returning current sytem time instead.
 offline.comm-error-connection = The network connection to the timeserver {0} cannot be established -> returning current sytem time instead.
 
-# Discovery result
+# discovery result
+
 discovery.ntp.ntp.local.label = Local Time
index e58662a3373cfb3c62ee9221561ef64274b52b32..099954b43107b31d31fddc3be61288ed9e0c5cd0 100644 (file)
        <channel-type id="dateTime-channel">
                <item-type>DateTime</item-type>
                <label>Date</label>
-               <description>NTP refreshed date &amp; time</description>
+               <description>NTP refreshed date and time.</description>
                <category>Time</category>
                <state readOnly="true"/>
        </channel-type>
        <channel-type id="string-channel">
                <item-type>String</item-type>
                <label>Date</label>
-               <description>NTP refreshed date &amp; time</description>
+               <description>NTP refreshed date and time.</description>
                <category>Time</category>
                <state readOnly="true"/>
                <config-description>
                        <parameter name="DateTimeFormat" type="text" required="false">
                                <label>Date Time Format</label>
-                               <description>Formattting of the date &amp; time.</description>
+                               <description>Formattting of the date and time.</description>
                                <default>yyyy-MM-dd HH:mm:ss z</default>
                        </parameter>
                </config-description>