From: <hok...@us...> - 2007-02-27 05:47:43
|
Revision: 5178 http://svn.sourceforge.net/translate/?rev=5178&view=rev Author: hokkakada Date: 2007-02-26 21:47:43 -0800 (Mon, 26 Feb 2007) Log Message: ----------- use normal string instead of Qstring because toolkit doesn't suppor Qstring. Modified Paths: -------------- src/trunk/pootling/modules/Preference.py Modified: src/trunk/pootling/modules/Preference.py =================================================================== --- src/trunk/pootling/modules/Preference.py 2007-02-26 14:27:10 UTC (rev 5177) +++ src/trunk/pootling/modules/Preference.py 2007-02-27 05:47:43 UTC (rev 5178) @@ -311,7 +311,7 @@ def setNPlural(self, langCode): """Set nplurals for specific language. @param langCode: as Qstring type. """ - language = factory.getlanguage(langCode) + language = factory.getlanguage(str(langCode)) self.ui.spinBox.setValue(language.nplurals) self.ui.lineEqaution.setText(language.pluralequation) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |