Skip to content

Commit

Permalink
Add af and de translations
Browse files Browse the repository at this point in the history
  • Loading branch information
rgc99 committed Aug 3, 2024
1 parent 4d462ba commit 2327573
Show file tree
Hide file tree
Showing 3 changed files with 197 additions and 0 deletions.
154 changes: 154 additions & 0 deletions dist/irrigation-unlimited-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,158 @@ const fireEvent = (node, type, detail, options) => {
return event;
};

var common$3 = {
version: "Weergawe",
invalidConfiguration: "Ongeldige konfigurasie"
};
var editor$2 = {
title: {
name: "Titel (opsioneel)"
},
showControllers: {
name: "Wys beheerders (CSV lys)"
},
alwaysShowZones: {
name: "Wys altyd sones"
},
alwaysShowSequences: {
name: "Wys altyd volgordes"
},
showTimelineScheduled: {
name: "Wys geskeduleerde tydslyn"
},
showTimelineHistory: {
name: "Wys tydslyn geskiedenis"
}
};
var controller$2 = {
zones: {
name: "Sones",
buttonHint: "Wys/verberg sones"
},
sequences: {
name: "Volgordes",
buttonHint: "Wys/versteek volgordes"
}
};
var menu$2 = {
enable: {
name: "Aktiveer"
},
suspend: {
name: "Opskort",
hint: "Duur\n===============\nh:mm:ss\n<blank> = herstel"
},
manual: {
name: "Handmatig",
hint: "Duur"
},
pause: {
name: "Wag"
},
resume: {
name: "Hervat"
},
cancel: {
name: "Kanselleer"
},
adjust: {
name: "Aanpas",
hint: "Aanpassingsopsies\n===============\nPersentasie: %n\nWerklike: =0:00:00\nToename: +0:00:00\nAfname: -0:00:00\nHerstel: <blank>"
}
};
var af = {
common: common$3,
editor: editor$2,
controller: controller$2,
menu: menu$2
};

var af$1 = /*#__PURE__*/Object.freeze({
__proto__: null,
common: common$3,
controller: controller$2,
default: af,
editor: editor$2,
menu: menu$2
});

var common$2 = {
version: "Version",
invalidConfiguration: "Ungültige Konfiguration"
};
var editor$1 = {
title: {
name: "Title (optional)"
},
showControllers: {
name: "Zeige Controller (CSV list)"
},
alwaysShowZones: {
name: "Zeige Zonen immer an"
},
alwaysShowSequences: {
name: "Zeige Sequenzen immer an"
},
showTimelineScheduled: {
name: "Zeige geplante Ablaufpläne"
},
showTimelineHistory: {
name: "Zeige vergangene Ablaufpläne"
}
};
var controller$1 = {
zones: {
name: "Zonen",
buttonHint: "Ein/Ausblenden der Zonen"
},
sequences: {
name: "Sequenzen",
buttonHint: "Ein/Ausblenden der Sequenzen"
}
};
var menu$1 = {
enable: {
name: "Aktivieren"
},
suspend: {
name: "Pausieren",
hint: "Dauer\n===============\nh:mm:ss\n<blank> = reset"
},
manual: {
name: "Manuell",
hint: "Dauer"
},
pause: {
name: "Pause"
},
resume: {
name: "Fortsetzen"
},
cancel: {
name: "Abbrechen"
},
adjust: {
name: "Anpassen",
hint: "Anpassungs Optionen\n===============\nProzent: %n\nAktuell: =0:00:00\nErhöhen: +0:00:00\nVerringern -0:00:00\nReset: <blank>"
}
};
var de = {
common: common$2,
editor: editor$1,
controller: controller$1,
menu: menu$1
};

var de$1 = /*#__PURE__*/Object.freeze({
__proto__: null,
common: common$2,
controller: controller$1,
default: de,
editor: editor$1,
menu: menu$1
});

var common$1 = {
version: "Version",
invalidConfiguration: "Invalid configuration"
Expand Down Expand Up @@ -228,6 +380,8 @@ var nb$1 = /*#__PURE__*/Object.freeze({
});

const languages = {
af: af$1,
de: de$1,
en: en$1,
nb: nb$1,
};
Expand Down
4 changes: 4 additions & 0 deletions src/localize.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import * as af from "./translations/af.json";
import * as de from "./translations/de.json";
import * as en from "./translations/en.json";
import * as nb from "./translations/nb.json";

const languages = {
af: af,
de: de,
en: en,
nb: nb,
};
Expand Down
39 changes: 39 additions & 0 deletions src/translations/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"common": {
"version": "Version",
"invalidConfiguration": "Ungültige Konfiguration"
},
"editor": {
"title": { "name": "Title (optional)" },
"showControllers": { "name": "Zeige Controller (CSV list)" },
"alwaysShowZones": { "name": "Zeige Zonen immer an" },
"alwaysShowSequences": { "name": "Zeige Sequenzen immer an" },
"showTimelineScheduled": { "name": "Zeige geplante Ablaufpläne" },
"showTimelineHistory": { "name": "Zeige vergangene Ablaufpläne" }
},
"controller": {
"zones": {
"name": "Zonen",
"buttonHint": "Ein/Ausblenden der Zonen"
},
"sequences": {
"name": "Sequenzen",
"buttonHint": "Ein/Ausblenden der Sequenzen"
}
},
"menu": {
"enable": { "name": "Aktivieren" },
"suspend": {
"name": "Pausieren",
"hint": "Dauer\n===============\nh:mm:ss\n<blank> = reset"
},
"manual": { "name": "Manuell", "hint": "Dauer" },
"pause": { "name": "Pause" },
"resume": { "name": "Fortsetzen" },
"cancel": { "name": "Abbrechen" },
"adjust": {
"name": "Anpassen",
"hint": "Anpassungs Optionen\n===============\nProzent: %n\nAktuell: =0:00:00\nErhöhen: +0:00:00\nVerringern -0:00:00\nReset: <blank>"
}
}
}

0 comments on commit 2327573

Please sign in to comment.