🌎 Portuguese (Brazil) empty file init

This commit is contained in:
jokob-sk
2024-04-20 11:41:35 +10:00
parent 003fc557cd
commit 436669173b
9 changed files with 1829 additions and 1164 deletions

View File

@@ -201,7 +201,7 @@ function cacheStrings()
if(!getCache('completedCalls').includes('cacheStrings'))
{
// handle core strings and translations
var allLanguages = ["en_us", "es_es", "de_de", "fr_fr", "it_it", "ru_ru", "nb_no"]; // needs to be same as in lang.php
var allLanguages = ["en_us", "es_es", "de_de", "fr_fr", "it_it", "ru_ru", "nb_no", "pt_br"]; // needs to be same as in lang.php
allLanguages.forEach(function (language_code) {
$.get(`php/templates/language/${language_code}.json?nocache=${Date.now()}`, function (res) {
@@ -254,6 +254,9 @@ function getString (key) {
case 'Norwegian':
lang_code = 'nb_no';
break;
case 'Portuguese (Brazil)':
lang_code = 'pt_br';
break;
case 'Italian':
lang_code = 'it_it';
break;