From 72b4c5503f9abaceda11885cfd5fbd93c175a257 Mon Sep 17 00:00:00 2001 From: Tomi Hakala Date: Thu, 11 Apr 2024 17:51:18 +0300 Subject: [PATCH] Add Finnish language support to luxwslang package --- luxwslang/all.go | 1 + luxwslang/finnish.go | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/luxwslang/all.go b/luxwslang/all.go index 82b5ebc..3d898a0 100644 --- a/luxwslang/all.go +++ b/luxwslang/all.go @@ -9,6 +9,7 @@ func All() (result []*Terminology) { German, English, Dutch, + Finnish, ) } diff --git a/luxwslang/finnish.go b/luxwslang/finnish.go index 091ff20..5dd6c38 100644 --- a/luxwslang/finnish.go +++ b/luxwslang/finnish.go @@ -9,24 +9,24 @@ var Finnish = &Terminology{ 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", + 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", + NavOpHours: "Käyttötunnit", HoursImpulsesRe: regexp.MustCompile(`^impulse\s`), - NavSystemStatus: "laitetiedot", - StatusType: "lämpöpumpun tyyppi", - StatusSoftwareVersion: "ohjelmaversio", - StatusOperationMode: "toimintatila", - StatusPowerOutput: "kapasiteetti", + NavSystemStatus: "Laitetiedot", + StatusType: "Lämpöpumpun tyyppi", + StatusSoftwareVersion: "Ohjelmaversio", + StatusOperationMode: "Toimintatila", + StatusPowerOutput: "Kapasiteetti", - BoolFalse: "pois", - BoolTrue: "on", + BoolFalse: "Pois", + BoolTrue: "On", }