Preferences/ConfigurationPages/EditorSpellCheckingPage.py

changeset 3190
a9a94491c4fd
parent 3186
a05eff845522
child 3484
645c12de6b0c
equal deleted inserted replaced
3189:9a21c547de5f 3190:a9a94491c4fd
110 """ 110 """
111 Private method to select the personal word list file. 111 Private method to select the personal word list file.
112 """ 112 """
113 file = E5FileDialog.getOpenFileName( 113 file = E5FileDialog.getOpenFileName(
114 self, 114 self,
115 self.trUtf8("Select personal word list"), 115 self.tr("Select personal word list"),
116 self.pwlEdit.text(), 116 self.pwlEdit.text(),
117 self.trUtf8("Dictionary File (*.dic);;All Files (*)")) 117 self.tr("Dictionary File (*.dic);;All Files (*)"))
118 118
119 if file: 119 if file:
120 self.pwlEdit.setText(Utilities.toNativeSeparators(file)) 120 self.pwlEdit.setText(Utilities.toNativeSeparators(file))
121 121
122 @pyqtSlot() 122 @pyqtSlot()
124 """ 124 """
125 Private method to select the personal exclude list file. 125 Private method to select the personal exclude list file.
126 """ 126 """
127 file = E5FileDialog.getOpenFileName( 127 file = E5FileDialog.getOpenFileName(
128 self, 128 self,
129 self.trUtf8("Select personal exclude list"), 129 self.tr("Select personal exclude list"),
130 self.pelEdit.text(), 130 self.pelEdit.text(),
131 self.trUtf8("Dictionary File (*.dic);;All Files (*)")) 131 self.tr("Dictionary File (*.dic);;All Files (*)"))
132 132
133 if file: 133 if file:
134 self.pelEdit.setText(Utilities.toNativeSeparators(file)) 134 self.pelEdit.setText(Utilities.toNativeSeparators(file))
135 135
136 136

eric ide

mercurial