add no-translation setting, disable uncomplete translations

This commit is contained in:
MichaelDvP
2022-09-17 19:10:58 +02:00
parent 0d5d353e99
commit 63e31d672b
10 changed files with 283 additions and 3 deletions

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, EMSESP_LOCALE_PL};
const char * const languages[] = {EMSESP_LOCALE_EN, EMSESP_LOCALE_DE, EMSESP_LOCALE_NL, EMSESP_LOCALE_SE, EMSESP_LOCALE_PL, EMSESP_LOCALE_NO};
size_t num_languages = sizeof(languages) / sizeof(const char *);