mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Portugese (Brazil) Translation
Provides 64% coverage of language texts.
This commit is contained in:
committed by
Mark Liversedge
parent
4b0ce34d09
commit
c780f2edd0
@@ -153,6 +153,8 @@ void ConfigDialog::save_Clicked()
|
||||
settings->setValue(GC_LANG, "fr");
|
||||
else if (configPage->langCombo->currentIndex()==2)
|
||||
settings->setValue(GC_LANG, "ja");
|
||||
else if (configPage->langCombo->currentIndex()==3)
|
||||
settings->setValue(GC_LANG, "pt-br");
|
||||
|
||||
if (configPage->unitCombo->currentIndex()==0)
|
||||
settings->setValue(GC_UNIT, "Metric");
|
||||
|
||||
@@ -35,6 +35,7 @@ ConfigurationPage::ConfigurationPage(MainWindow *main) : main(main)
|
||||
langCombo->addItem(tr("English"));
|
||||
langCombo->addItem(tr("French"));
|
||||
langCombo->addItem(tr("Japanese"));
|
||||
langCombo->addItem(tr("Portugese (Brazil)"));
|
||||
|
||||
QVariant lang = settings->value(GC_LANG);
|
||||
|
||||
@@ -44,6 +45,8 @@ ConfigurationPage::ConfigurationPage(MainWindow *main) : main(main)
|
||||
langCombo->setCurrentIndex(1);
|
||||
else if(lang.toString() == "ja")
|
||||
langCombo->setCurrentIndex(2);
|
||||
else if(lang.toString() == "pt-br")
|
||||
langCombo->setCurrentIndex(3);
|
||||
else // default : English
|
||||
langCombo->setCurrentIndex(0);
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
<file>images/noavatar.png</file>
|
||||
<file>translations/gc_fr.qm</file>
|
||||
<file>translations/gc_ja.qm</file>
|
||||
<file>translations/gc_pt-br.qm</file>
|
||||
<file>xml/charts.xml</file>
|
||||
<file>xml/metadata.xml</file>
|
||||
<file>images/toolbar/close-icon.png</file>
|
||||
|
||||
@@ -311,5 +311,7 @@ SOURCES += \
|
||||
|
||||
RESOURCES = application.qrc
|
||||
|
||||
TRANSLATIONS = translations/gc_fr.ts translations/gc_ja.ts
|
||||
TRANSLATIONS = translations/gc_fr.ts \
|
||||
translations/gc_ja.ts \
|
||||
translations/gc_pt-br.ts
|
||||
|
||||
|
||||
BIN
src/translations/gc_pt-br.qm
Normal file
BIN
src/translations/gc_pt-br.qm
Normal file
Binary file not shown.
5083
src/translations/gc_pt-br.ts
Normal file
5083
src/translations/gc_pt-br.ts
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user