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 committed Apr 11, 2024
1 parent 25b482d commit 72b4c55
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
1 change: 1 addition & 0 deletions luxwslang/all.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ func All() (result []*Terminology) {
German,
English,
Dutch,
Finnish,
)
}

Expand Down
32 changes: 16 additions & 16 deletions luxwslang/finnish.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}

0 comments on commit 72b4c55

Please sign in to comment.