[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:
parent
2c36c08f33
commit
373b73c429
bundles/org.openhab.binding.ntp/src/main/resources/OH-INF
@ -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
|
||||
|
@ -45,20 +45,20 @@
|
||||
<channel-type id="dateTime-channel">
|
||||
<item-type>DateTime</item-type>
|
||||
<label>Date</label>
|
||||
<description>NTP refreshed date & 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 & 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 & time.</description>
|
||||
<description>Formattting of the date and time.</description>
|
||||
<default>yyyy-MM-dd HH:mm:ss z</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
Loading…
x
Reference in New Issue
Block a user