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 4446e2c4e..c68fc88a3 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 e58662a33..099954b43 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