Sat, 17 Mar 2012 13:01:31 +0100
Fixed an issue in the Subversion List Properties dialog related to the language used by the subversion commandline proces (svn).
Plugins/VcsPlugins/vcsSubversion/SvnPropListDialog.py | file | annotate | diff | comparison | revisions |
--- a/Plugins/VcsPlugins/vcsSubversion/SvnPropListDialog.py Fri Mar 16 17:33:48 2012 +0100 +++ b/Plugins/VcsPlugins/vcsSubversion/SvnPropListDialog.py Sat Mar 17 13:01:31 2012 +0100 @@ -7,7 +7,7 @@ Module implementing a dialog to show the output of the svn proplist command process. """ -from PyQt4.QtCore import QTimer, QProcess, QRegExp, Qt +from PyQt4.QtCore import QTimer, QProcess, QProcessEnvironment, QRegExp, Qt from PyQt4.QtGui import QWidget, QHeaderView, QDialogButtonBox, QTreeWidgetItem from E5Gui import E5MessageBox @@ -35,6 +35,9 @@ self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) self.process = QProcess() + env = QProcessEnvironment.systemEnvironment() + env.insert("LANG", "C") + self.process.setProcessEnvironment(env) self.vcs = vcs self.propsList.headerItem().setText(self.propsList.columnCount(), "")