prepare for polish translation

This commit is contained in:
MichaelDvP
2022-09-12 19:22:05 +02:00
parent ca8b236ccb
commit cd15e11ce3
12 changed files with 379 additions and 91 deletions

View File

@@ -23,6 +23,7 @@
#define EMSESP_LOCALE_DE "de"
#define EMSESP_LOCALE_NL "nl"
#define EMSESP_LOCALE_SE "se"
#define EMSESP_LOCALE_PL "pl"
// translations are in order en, de,nl, se....
// if there is no translation, it will default to en

View File

@@ -42,7 +42,7 @@
namespace emsesp {
// Languages supported. Note: the order is important and must match locale_translations.h
const char * const languages[] = {EMSESP_LOCALE_EN, EMSESP_LOCALE_DE, EMSESP_LOCALE_NL, EMSESP_LOCALE_SE};
const char * const languages[] = {EMSESP_LOCALE_EN, EMSESP_LOCALE_DE, EMSESP_LOCALE_NL, EMSESP_LOCALE_SE, EMSESP_LOCALE_PL};
size_t num_languages = sizeof(languages) / sizeof(const char *);