Project/SpellingPropertiesDialog.py

changeset 3190
a9a94491c4fd
parent 3186
a05eff845522
child 3366
6084bb3c3911
diff -r 9a21c547de5f -r a9a94491c4fd Project/SpellingPropertiesDialog.py
--- a/Project/SpellingPropertiesDialog.py	Fri Jan 10 19:30:21 2014 +0100
+++ b/Project/SpellingPropertiesDialog.py	Sat Jan 11 11:55:33 2014 +0100
@@ -47,7 +47,7 @@
         self.pelCompleter = E5FileCompleter(self.pelEdit)
         
         from QScintilla.SpellChecker import SpellChecker
-        self.spellingComboBox.addItem(self.trUtf8("<default>"))
+        self.spellingComboBox.addItem(self.tr("<default>"))
         self.spellingComboBox.addItems(
             sorted(SpellChecker.getAvailableLanguages()))
         
@@ -83,9 +83,9 @@
                 os.path.join(self.project.ppath, pwl))
         file = E5FileDialog.getOpenFileName(
             self,
-            self.trUtf8("Select project word list"),
+            self.tr("Select project word list"),
             pwl,
-            self.trUtf8("Dictionary File (*.dic);;All Files (*)"))
+            self.tr("Dictionary File (*.dic);;All Files (*)"))
         
         if file:
             self.pwlEdit.setText(self.project.getRelativePath(
@@ -104,9 +104,9 @@
                 os.path.join(self.project.ppath, pel))
         file = E5FileDialog.getOpenFileName(
             self,
-            self.trUtf8("Select project exclude list"),
+            self.tr("Select project exclude list"),
             pel,
-            self.trUtf8("Dictionary File (*.dic);;All Files (*)"))
+            self.tr("Dictionary File (*.dic);;All Files (*)"))
             
         if file:
             self.pelEdit.setText(self.project.getRelativePath(

eric ide

mercurial