Skip to content

Commit

Permalink
Catalan empty lang file added
Browse files Browse the repository at this point in the history
  • Loading branch information
jokob-sk committed Nov 1, 2024
1 parent c6b5f0d commit 580c5ae
Show file tree
Hide file tree
Showing 6 changed files with 723 additions and 5 deletions.
5 changes: 4 additions & 1 deletion front/js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var timerRefreshData = ''

var emptyArr = ['undefined', "", undefined, null, 'null'];
var UI_LANG = "English";
const allLanguages = ["en_us", "es_es", "de_de", "fr_fr", "it_it", "ru_ru", "nb_no", "pl_pl", "pt_br", "tr_tr", "zh_cn", "cs_cz", "ar_ar"]; // needs to be same as in lang.php
const allLanguages = ["en_us", "es_es", "de_de", "fr_fr", "it_it", "ru_ru", "nb_no", "pl_pl", "pt_br", "tr_tr", "zh_cn", "cs_cz", "ar_ar", "ca_ca"]; // needs to be same as in lang.php
var settingsJSON = {}


Expand Down Expand Up @@ -336,6 +336,9 @@ function getLangCode() {
case 'Arabic (ar_ar)':
lang_code = 'ar_ar';
break;
case 'Catalan (ca_ca)':
lang_code = 'ca_ca';
break;
}

return lang_code;
Expand Down
Loading

0 comments on commit 580c5ae

Please sign in to comment.