cleanup code and add translations

This commit is contained in:
Mario Pesch
2021-06-14 14:36:22 +02:00
parent c1eff07b7e
commit d65948fca7
5 changed files with 37 additions and 15 deletions
+10 -3
View File
@@ -1,8 +1,15 @@
export const RTC = {
sensebox_rtc_init: "Initialisiere RTC",
sensebox_rtc_set: "Set Time manually",
sensebox_rtc_init: "Initialise RTC",
sensebox_rtc_init_tooltip:
"Initialise the RTC. Connect it to one of the 5 I2C/Wire connections and insert the battery. Before you can read out the time, it must first be set. This step usually only needs to be done once.",
sensebox_rtc_set: "Set RTC time/date:",
sensebox_rtc_set_tooltip:
"Sets the time of the RTC. Note that you execute this block in the setup.",
sensebox_rtc_get_timestamp: "Get timestamp",
sensebox_rtc_get_timestamp_tooltip:
"Returns a timestamp formatted in ISO 8601. Ex: 2021-12-24T18:21Z",
sensebox_rtc_get_tooltip: "Returns the selected value",
sensebox_rtc_set_ntp: "Set time via NTP-Server",
sensebox_rtc_get_timestamp: "Get Timestamp",
sensebox_rtc_get: "Get: ",
sensebox_rtc_second: "seconds",
sensebox_rtc_minutes: "minutes",