Skip to content

Commit

Permalink
Add Dutch translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen Torrekens authored and hansmi committed Feb 26, 2022
1 parent bf1b5f5 commit 994d389
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion luxws-exporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ and/or deployed by the following companies:

The exporter must know which language the controller interface is using. See
the [`luxwslang` package](../luxwslang/) for implemented languages (includes
English and German). Other languages are easily added by defining a few
English, German and Dutch). Other languages are easily added by defining a few
strings.


Expand Down
1 change: 1 addition & 0 deletions luxwslang/all.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ func All() (result []*Terminology) {
return append(result,
German,
English,
Dutch,
)
}

Expand Down
32 changes: 32 additions & 0 deletions luxwslang/dutch.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
package luxwslang

import "regexp"

// Dutch language terminology.
var Dutch = &Terminology{
ID: "nl",
Name: "Nederlands",

timestampFormat: "02.01.06 15:04:05",

NavInformation: "Informatie",
NavTemperatures: "Temperaturen",
NavElapsedTimes: "Aflooptijden",
NavInputs: "Ingangen",
NavOutputs: "Uitgangen",
NavHeatQuantity: "Energie",
NavErrorMemory: "Storingsbuffer",
NavSwitchOffs: "Afschakelingen",

NavOpHours: "Bedrijfsuren",
HoursImpulsesRe: regexp.MustCompile(`^impulse\s`),

NavSystemStatus: "Installatiestatus",
StatusType: "Warmtepomp Type",
StatusSoftwareVersion: "Softwareversie",
StatusOperationMode: "Bedrijfstoestand",
StatusPowerOutput: "Vermogen",

BoolFalse: "Uit",
BoolTrue: "Aan",
}

0 comments on commit 994d389

Please sign in to comment.