mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
German Translation
Provides 100% coverage of language texts* * a couple of texts for WeeklySummary window containing html codes (gt,lt et al) had not retained their encoding using >, <, whilst I edited a few of them in the file, these two were particularly complex and challenging. We can fix them later. [Mark Liversedge]
This commit is contained in:
@@ -157,6 +157,8 @@ void ConfigDialog::save_Clicked()
|
||||
settings->setValue(GC_LANG, "pt-br");
|
||||
else if (configPage->langCombo->currentIndex()==4)
|
||||
settings->setValue(GC_LANG, "it");
|
||||
else if (configPage->langCombo->currentIndex()==5)
|
||||
settings->setValue(GC_LANG, "de");
|
||||
|
||||
if (configPage->unitCombo->currentIndex()==0)
|
||||
settings->setValue(GC_UNIT, "Metric");
|
||||
|
||||
@@ -37,6 +37,7 @@ ConfigurationPage::ConfigurationPage(MainWindow *main) : main(main)
|
||||
langCombo->addItem(tr("Japanese"));
|
||||
langCombo->addItem(tr("Portugese (Brazil)"));
|
||||
langCombo->addItem(tr("Italian"));
|
||||
langCombo->addItem(tr("German"));
|
||||
|
||||
QVariant lang = settings->value(GC_LANG);
|
||||
|
||||
@@ -50,6 +51,8 @@ ConfigurationPage::ConfigurationPage(MainWindow *main) : main(main)
|
||||
langCombo->setCurrentIndex(3);
|
||||
else if(lang.toString() == "it")
|
||||
langCombo->setCurrentIndex(4);
|
||||
else if(lang.toString() == "de")
|
||||
langCombo->setCurrentIndex(5);
|
||||
else // default : English
|
||||
langCombo->setCurrentIndex(0);
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
<file>translations/gc_ja.qm</file>
|
||||
<file>translations/gc_it.qm</file>
|
||||
<file>translations/gc_pt-br.qm</file>
|
||||
<file>translations/gc_de.qm</file>
|
||||
<file>xml/charts.xml</file>
|
||||
<file>xml/metadata.xml</file>
|
||||
<file>images/toolbar/close-icon.png</file>
|
||||
|
||||
@@ -314,5 +314,6 @@ RESOURCES = application.qrc
|
||||
TRANSLATIONS = translations/gc_fr.ts \
|
||||
translations/gc_ja.ts \
|
||||
translations/gc_it.ts \
|
||||
translations/gc_pt-br.ts
|
||||
translations/gc_pt-br.ts \
|
||||
translations/gc_de.ts
|
||||
|
||||
|
||||
BIN
src/translations/gc_de.qm
Normal file
BIN
src/translations/gc_de.qm
Normal file
Binary file not shown.
5147
src/translations/gc_de.ts
Normal file
5147
src/translations/gc_de.ts
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user