Skip to content

Commit

Permalink
Add Finnish language support to luxwslang package
Browse files Browse the repository at this point in the history
  • Loading branch information
tphakala authored and hansmi committed Apr 13, 2024
1 parent 0f770d5 commit ed63c41
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions luxwslang/all.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ func All() (result []*Terminology) {
Czech,
German,
English,
Finnish,
Dutch,
)
}
Expand Down
32 changes: 32 additions & 0 deletions luxwslang/finnish.go
Original file line number Diff line number Diff line change
@@ -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",
}

0 comments on commit ed63c41

Please sign in to comment.