[ntp] Align XML description and default translations (#12881)

Re-run of the i18n tool will then trigger no change.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo 2022-06-04 22:54:28 +02:00 committed by GitHub
parent 2c36c08f33
commit 373b73c429
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 7 deletions

View File

@ -1,12 +1,15 @@
# binding # binding
binding.ntp.name = NTP Binding binding.ntp.name = NTP Binding
binding.ntp.description = The NTP Binding polls the configured timeserver and post the current date and time. binding.ntp.description = The NTP Binding polls the configured timeserver and post the current date and time.
# thing types # thing types
thing-type.ntp.ntp.label = NTP Server thing-type.ntp.ntp.label = NTP Server
thing-type.ntp.ntp.description = An NTP server that provides current date and time 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.label = Hostname
thing-type.config.ntp.ntp.hostname.description = The NTP server hostname. thing-type.config.ntp.ntp.hostname.description = The NTP server hostname.
thing-type.config.ntp.ntp.refreshInterval.label = Refresh Interval 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. thing-type.config.ntp.ntp.timeZone.description = The configured timezone.
# channel types # channel types
channel-type.ntp.dateTime-channel.label = Date channel-type.ntp.dateTime-channel.label = Date
channel-type.ntp.dateTime-channel.description = NTP refreshed date and time. channel-type.ntp.dateTime-channel.description = NTP refreshed date and time.
channel-type.ntp.string-channel.label = Date channel-type.ntp.string-channel.label = Date
channel-type.ntp.string-channel.description = NTP refreshed date and time. 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.label = Date Time Format
channel-type.config.ntp.string-channel.DateTimeFormat.description = Formattting of the date and time. 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-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. 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 discovery.ntp.ntp.local.label = Local Time

View File

@ -45,20 +45,20 @@
<channel-type id="dateTime-channel"> <channel-type id="dateTime-channel">
<item-type>DateTime</item-type> <item-type>DateTime</item-type>
<label>Date</label> <label>Date</label>
<description>NTP refreshed date &amp; time</description> <description>NTP refreshed date and time.</description>
<category>Time</category> <category>Time</category>
<state readOnly="true"/> <state readOnly="true"/>
</channel-type> </channel-type>
<channel-type id="string-channel"> <channel-type id="string-channel">
<item-type>String</item-type> <item-type>String</item-type>
<label>Date</label> <label>Date</label>
<description>NTP refreshed date &amp; time</description> <description>NTP refreshed date and time.</description>
<category>Time</category> <category>Time</category>
<state readOnly="true"/> <state readOnly="true"/>
<config-description> <config-description>
<parameter name="DateTimeFormat" type="text" required="false"> <parameter name="DateTimeFormat" type="text" required="false">
<label>Date Time Format</label> <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> <default>yyyy-MM-dd HH:mm:ss z</default>
</parameter> </parameter>
</config-description> </config-description>