Skip to content
Snippets Groups Projects
Commit f39fe2d1 authored by Vincent Texier's avatar Vincent Texier
Browse files

Add Czech language

parent c4b7671f
No related branches found
No related tags found
1 merge request!542Add Czech language
This diff is collapsed.
...@@ -31,7 +31,7 @@ class PreferencesDialog(QDialog, Ui_PreferencesDialog): ...@@ -31,7 +31,7 @@ class PreferencesDialog(QDialog, Ui_PreferencesDialog):
for ref in money.Referentials: for ref in money.Referentials:
self.combo_referential.addItem(QCoreApplication.translate('Account', ref.translated_name())) self.combo_referential.addItem(QCoreApplication.translate('Account', ref.translated_name()))
self.combo_referential.setCurrentIndex(self.app.preferences['ref']) self.combo_referential.setCurrentIndex(self.app.preferences['ref'])
for lang in ('en_GB', 'fr_FR', 'de_DE', 'es_ES', 'it_IT', 'pl_PL', 'pt_BR', 'ru_RU'): for lang in ('en_GB', 'fr_FR', 'de_DE', 'es_ES', 'it_IT', 'pl_PL', 'pt_BR', 'ru_RU', 'cs_CZ'):
self.combo_language.addItem(lang) self.combo_language.addItem(lang)
self.combo_language.setCurrentText(self.app.preferences.get('lang', 'en_US')) self.combo_language.setCurrentText(self.app.preferences.get('lang', 'en_US'))
self.checkbox_expertmode.setChecked(self.app.preferences.get('expert_mode', False)) self.checkbox_expertmode.setChecked(self.app.preferences.get('expert_mode', False))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment