From 01eed3ec9e3c71c6ca4865c5a9870edc7962e025 Mon Sep 17 00:00:00 2001 From: Sude Date: Sun, 17 Feb 2019 01:19:37 +0200 Subject: [PATCH] Add language: Arabic, Romanian --- include/globalconstants.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/globalconstants.h b/include/globalconstants.h index 788086b..05691cc 100644 --- a/include/globalconstants.h +++ b/include/globalconstants.h @@ -43,6 +43,8 @@ namespace GlobalConstants const unsigned int LANGUAGE_BL = 1 << 21; const unsigned int LANGUAGE_UK = 1 << 22; const unsigned int LANGUAGE_ES_419 = 1 << 23; + const unsigned int LANGUAGE_AR = 1 << 24; + const unsigned int LANGUAGE_RO = 1 << 25; const std::vector LANGUAGES = { @@ -69,7 +71,9 @@ namespace GlobalConstants { LANGUAGE_SK, "sk", "Slovak", "sk|slk|slo|slovak|sk[_-]SK" }, { LANGUAGE_BL, "bl", "Bulgarian", "bl|bg|bul|bulgarian|bg[_-]BG" }, { LANGUAGE_UK, "uk", "Ukrainian", "uk|ukr|ukrainian|uk[_-]UA" }, - { LANGUAGE_ES_419, "es_mx", "Spanish (Latin American)", "es_mx|es-mx|esmx|es-419|spanish_latin_american" } + { LANGUAGE_ES_419, "es_mx", "Spanish (Latin American)", "es_mx|es-mx|esmx|es-419|spanish_latin_american" }, + { LANGUAGE_AR, "ar", "Arabic", "ar|ara|arabic|ar[_-][A-Z]{2}" }, + { LANGUAGE_RO, "ro", "Romanian", "ro|ron|rum|romanian|ro[_-][RM]O" } }; // Platform constants