From: lolodomo Date: Sat, 4 Jun 2022 20:54:28 +0000 (+0200) Subject: [ntp] Align XML description and default translations (#12881) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=373b73c42989012a4b32e6b3c96715c70a35d4d3;p=openhab-addons.git [ntp] Align XML description and default translations (#12881) Re-run of the i18n tool will then trigger no change. Signed-off-by: Laurent Garnier --- diff --git a/bundles/org.openhab.binding.ntp/src/main/resources/OH-INF/i18n/ntp.properties b/bundles/org.openhab.binding.ntp/src/main/resources/OH-INF/i18n/ntp.properties index 4446e2c4e5..c68fc88a3a 100644 --- a/bundles/org.openhab.binding.ntp/src/main/resources/OH-INF/i18n/ntp.properties +++ b/bundles/org.openhab.binding.ntp/src/main/resources/OH-INF/i18n/ntp.properties @@ -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 diff --git a/bundles/org.openhab.binding.ntp/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.ntp/src/main/resources/OH-INF/thing/thing-types.xml index e58662a337..099954b431 100644 --- a/bundles/org.openhab.binding.ntp/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.ntp/src/main/resources/OH-INF/thing/thing-types.xml @@ -45,20 +45,20 @@ DateTime - NTP refreshed date & time + NTP refreshed date and time. Time String - NTP refreshed date & time + NTP refreshed date and time. Time - Formattting of the date & time. + Formattting of the date and time. yyyy-MM-dd HH:mm:ss z