]> git.basschouten.com Git - openhab-addons.git/commitdiff
[ntp] Add default translations properties file (#11363)
authorWouter Born <github@maindrain.net>
Sun, 10 Oct 2021 08:52:39 +0000 (10:52 +0200)
committerGitHub <noreply@github.com>
Sun, 10 Oct 2021 08:52:39 +0000 (10:52 +0200)
This allows for translating the NTP Binding strings with Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
bundles/org.openhab.binding.ntp/src/main/resources/OH-INF/i18n/ntp.properties

index 8cd4b30e61db1d7139e1b851825ca9ddbc52a511..4446e2c4e515793f02eb5c296ee073574afd7b0d 100644 (file)
@@ -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.