Skip to content

Commit

Permalink
Add Czech localization
Browse files Browse the repository at this point in the history
  • Loading branch information
ppetr authored and hansmi committed May 3, 2023
1 parent 01f4261 commit c491077
Show file tree
Hide file tree
Showing 2 changed files with 35 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 @@ -5,6 +5,7 @@ import "fmt"
// All returns a slice of all supported terminologies.
func All() (result []*Terminology) {
return append(result,
Czech,
German,
English,
Dutch,
Expand Down
34 changes: 34 additions & 0 deletions luxwslang/czech.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
package luxwslang

import (
"regexp"
)

// Czech language terminology.
var Czech = &Terminology{
ID: "cz",
Name: "Česky",

timestampFormat: "02.01.06 15:04:05",

NavInformation: "Informace",
NavTemperatures: "Teploty",
NavElapsedTimes: "Doby chodu",
NavInputs: "Vstupy",
NavOutputs: "Výstupy",
NavHeatQuantity: "Teplo",
NavErrorMemory: "Chybová paměť",
NavSwitchOffs: "Odepnutí",

NavOpHours: "Provozní hodiny",
HoursImpulsesRe: regexp.MustCompile(`^Počet startů\s`),

NavSystemStatus: "Status zařízení",
StatusType: "Typ TČ",
StatusSoftwareVersion: "Softwarová verze",
StatusOperationMode: "Provozní stav",
StatusPowerOutput: "Výkon",

BoolFalse: "Vypnuto",
BoolTrue: "Zapnuto",
}

0 comments on commit c491077

Please sign in to comment.