From 25b482de536074418294c0863a35bf6016e05699 Mon Sep 17 00:00:00 2001 From: Tomi Hakala Date: Thu, 11 Apr 2024 17:14:25 +0300 Subject: [PATCH] Add Finnish language support to luxwslang package --- luxwslang/finnish.go | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 luxwslang/finnish.go diff --git a/luxwslang/finnish.go b/luxwslang/finnish.go new file mode 100644 index 0000000..091ff20 --- /dev/null +++ b/luxwslang/finnish.go @@ -0,0 +1,32 @@ +package luxwslang + +import "regexp" + +// Finnish language terminology. +var Finnish = &Terminology{ + ID: "fi", + Name: "Suomi", + + timestampFormat: "02.01.06 15:04:05", + + NavInformation: "informaatio", + NavTemperatures: "lämpötilat", + NavElapsedTimes: "käyntiajat", + NavInputs: "tilat sisäänmeno", + NavOutputs: "tilat ulostulo", + NavHeatQuantity: "kalorimetri", + NavErrorMemory: "häiriöloki", + NavSwitchOffs: "pysähtymistieto", + + NavOpHours: "käyttötunnit", + HoursImpulsesRe: regexp.MustCompile(`^impulse\s`), + + NavSystemStatus: "laitetiedot", + StatusType: "lämpöpumpun tyyppi", + StatusSoftwareVersion: "ohjelmaversio", + StatusOperationMode: "toimintatila", + StatusPowerOutput: "kapasiteetti", + + BoolFalse: "pois", + BoolTrue: "on", +}