Add portuguese (Brazil) locale

This commit is contained in:
Christoph Atteneder 2019-09-05 10:35:35 +02:00
parent 574fe5b1a3
commit 5dcfa96741
No known key found for this signature in database
GPG Key ID: CD5DC1C529CDFD3B
3 changed files with 2506 additions and 1 deletions

View File

@ -34,6 +34,7 @@ public class LanguageUtil {
"el", // Greek
"es", // Spanish
"pt", // Portuguese
"pt_BR", // Brazilian Portuguese
"zh", // Chinese
"ru", // Russian
"fr", // French
@ -118,6 +119,8 @@ public class LanguageUtil {
// Serbia
// shows it in russian by default
return "Srpski";
} else if (locale.getLanguage().equals("pt_br")) {
return "português (Brasil)";
} else {
return locale.getDisplayName(locale);
}

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
cd $(dirname $0)
tx pull -l de,el_GR,es,ja,pt,ru,zh_CN,vi,th_TH,fa,fr
tx pull -l de,el_GR,es,ja,pt,ru,zh_CN,vi,th_TH,fa,fr,pt_BR
translations="translations/bisq-desktop.displaystringsproperties"
i18n="src/main/resources/i18n"
@ -17,5 +17,6 @@ mv "$translations/vi.properties" "$i18n/displayStrings_vi.properties"
mv "$translations/th_TH.properties" "$i18n/displayStrings_th.properties"
mv "$translations/fa.properties" "$i18n/displayStrings_fa.properties"
mv "$translations/fr.properties" "$i18n/displayStrings_fr.properties"
mv "$translations/pt_BR.properties" "$i18n/displayStrings_pt_BR.properties"
rm -rf $translations