added dutch translation option to settings dialog
This commit is contained in:
parent
8ed4ba8670
commit
b97a65391c
|
@ -3348,7 +3348,7 @@ class settingsDialog(QtGui.QDialog):
|
|||
shared.safeConfigGetBoolean('bitmessagesettings', 'replybelow'))
|
||||
|
||||
global languages
|
||||
languages = ['system','en','eo','fr','de','es','ru','no','ar','zh_cn','ja','en_pirate','other']
|
||||
languages = ['system','en','eo','fr','de','es','ru','no','ar','zh_cn','ja','nl','en_pirate','other']
|
||||
user_countrycode = str(shared.config.get('bitmessagesettings', 'userlocale'))
|
||||
if user_countrycode in languages:
|
||||
curr_index = languages.index(user_countrycode)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Form implementation generated from reading ui file 'settings.ui'
|
||||
#
|
||||
# Created: Wed Apr 30 18:35:41 2014
|
||||
# Created: Mon May 19 15:54:27 2014
|
||||
# by: PyQt4 UI code generator 4.10.3
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
@ -84,15 +84,27 @@ class Ui_settingsDialog(object):
|
|||
self.languageComboBox.setObjectName(_fromUtf8("languageComboBox"))
|
||||
self.languageComboBox.addItem(_fromUtf8(""))
|
||||
self.languageComboBox.addItem(_fromUtf8(""))
|
||||
self.languageComboBox.setItemText(1, _fromUtf8("English"))
|
||||
self.languageComboBox.addItem(_fromUtf8(""))
|
||||
self.languageComboBox.setItemText(2, _fromUtf8("Esperanto"))
|
||||
self.languageComboBox.addItem(_fromUtf8(""))
|
||||
self.languageComboBox.setItemText(3, _fromUtf8("Français"))
|
||||
self.languageComboBox.addItem(_fromUtf8(""))
|
||||
self.languageComboBox.setItemText(4, _fromUtf8("Deutsch"))
|
||||
self.languageComboBox.addItem(_fromUtf8(""))
|
||||
self.languageComboBox.setItemText(5, _fromUtf8("Españl"))
|
||||
self.languageComboBox.addItem(_fromUtf8(""))
|
||||
self.languageComboBox.setItemText(6, _fromUtf8("русский"))
|
||||
self.languageComboBox.addItem(_fromUtf8(""))
|
||||
self.languageComboBox.setItemText(7, _fromUtf8("Norsk"))
|
||||
self.languageComboBox.addItem(_fromUtf8(""))
|
||||
self.languageComboBox.setItemText(8, _fromUtf8("العربية"))
|
||||
self.languageComboBox.addItem(_fromUtf8(""))
|
||||
self.languageComboBox.setItemText(9, _fromUtf8("简体中文"))
|
||||
self.languageComboBox.addItem(_fromUtf8(""))
|
||||
self.languageComboBox.setItemText(10, _fromUtf8("日本語"))
|
||||
self.languageComboBox.addItem(_fromUtf8(""))
|
||||
self.languageComboBox.setItemText(11, _fromUtf8("Nederlands"))
|
||||
self.languageComboBox.addItem(_fromUtf8(""))
|
||||
self.languageComboBox.addItem(_fromUtf8(""))
|
||||
self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.languageComboBox)
|
||||
|
@ -399,18 +411,8 @@ class Ui_settingsDialog(object):
|
|||
self.checkBoxReplyBelow.setText(_translate("settingsDialog", "Reply below Quote", None))
|
||||
self.groupBox.setTitle(_translate("settingsDialog", "Interface Language", None))
|
||||
self.languageComboBox.setItemText(0, _translate("settingsDialog", "System Settings", "system"))
|
||||
self.languageComboBox.setItemText(1, _translate("settingsDialog", "English", "en"))
|
||||
self.languageComboBox.setItemText(2, _translate("settingsDialog", "Esperanto", "eo"))
|
||||
self.languageComboBox.setItemText(3, _translate("settingsDialog", "Français", "fr"))
|
||||
self.languageComboBox.setItemText(4, _translate("settingsDialog", "Deutsch", "de"))
|
||||
self.languageComboBox.setItemText(5, _translate("settingsDialog", "Españl", "es"))
|
||||
self.languageComboBox.setItemText(6, _translate("settingsDialog", "русский", "ru"))
|
||||
self.languageComboBox.setItemText(7, _translate("settingsDialog", "Norsk", "no"))
|
||||
self.languageComboBox.setItemText(8, _translate("settingsDialog", "العربية", "ar"))
|
||||
self.languageComboBox.setItemText(9, _translate("settingsDialog", "简体中文", "zh_cn"))
|
||||
self.languageComboBox.setItemText(10, _translate("settingsDialog", "日本語", "ja"))
|
||||
self.languageComboBox.setItemText(11, _translate("settingsDialog", "Pirate English", "en_pirate"))
|
||||
self.languageComboBox.setItemText(12, _translate("settingsDialog", "Other (set in keys.dat)", "other"))
|
||||
self.languageComboBox.setItemText(12, _translate("settingsDialog", "Pirate English", "en_pirate"))
|
||||
self.languageComboBox.setItemText(13, _translate("settingsDialog", "Other (set in keys.dat)", "other"))
|
||||
self.tabWidgetSettings.setTabText(self.tabWidgetSettings.indexOf(self.tabUserInterface), _translate("settingsDialog", "User Interface", None))
|
||||
self.groupBox1.setTitle(_translate("settingsDialog", "Listening port", None))
|
||||
self.label.setText(_translate("settingsDialog", "Listen for connections on port:", None))
|
||||
|
|
|
@ -133,52 +133,57 @@
|
|||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string comment="en">English</string>
|
||||
<string notr="true" comment="en">English</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string comment="eo">Esperanto</string>
|
||||
<string notr="true" comment="eo">Esperanto</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string comment="fr">Français</string>
|
||||
<string notr="true" comment="fr">Français</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string comment="de">Deutsch</string>
|
||||
<string notr="true" comment="de">Deutsch</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string comment="es">Españl</string>
|
||||
<string notr="true" comment="es">Españl</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string comment="ru">русский</string>
|
||||
<string notr="true" comment="ru">русский</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string comment="no">Norsk</string>
|
||||
<string notr="true" comment="no">Norsk</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string comment="ar">العربية</string>
|
||||
<string notr="true" comment="ar">العربية</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string comment="zh_cn">简体中文</string>
|
||||
<string notr="true" comment="zh_cn">简体中文</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string comment="ja">日本語</string>
|
||||
<string notr="true" comment="ja">日本語</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string notr="true" comment="nl">Nederlands</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
|
|
|
@ -31,5 +31,5 @@ SOURCES = ../addresses.py\
|
|||
../bitmessageqt/specialaddressbehavior.py
|
||||
|
||||
|
||||
TRANSLATIONS = bitmessage_en_pirate.ts
|
||||
TRANSLATIONS = bitmessage_nl.ts
|
||||
CODECFORTR = UTF-8
|
||||
|
|
Loading…
Reference in New Issue
Block a user