From 82f76b6c96b79700c9d73e5f0a6ab0195aa400de Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Sun, 10 Oct 2021 10:52:39 +0200 Subject: [PATCH] [ntp] Add default translations properties file (#11363) This allows for translating the NTP Binding strings with Crowdin. Signed-off-by: Wouter Born --- .../main/resources/OH-INF/i18n/ntp.properties | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) 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 8cd4b30e61..4446e2c4e5 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,3 +1,33 @@ +# 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-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 +thing-type.config.ntp.ntp.refreshInterval.description = Interval that new time updates are posted to the event bus in seconds. +thing-type.config.ntp.ntp.refreshNtp.label = NTP Refresh Frequency +thing-type.config.ntp.ntp.refreshNtp.description = Number of updates before querying the NTP server. +thing-type.config.ntp.ntp.serverPort.label = Server Port +thing-type.config.ntp.ntp.serverPort.description = The port that the NTP server could use. +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-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 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. -- 2.47.3