Changeset f116b1fb3332…
Parent b0911ee2b8e3…
by
Changes to one file · Browse files at f116b1fb3332 Showing diff from parent b0911ee2b8e3 Diff from another changeset...
@@ -129,9 +129,8 @@
class _i18n_string(qtproxies.i18n_string):
def __str__(self):
- return "_('%s')" % (qtproxies.escape(self.string),)
- if hasattr(qtproxies, "escape"):
- qtproxies.i18n_string = _i18n_string
+ return "_('%s')" % self.string.encode('string-escape')
+ qtproxies.i18n_string = _i18n_string
cls._wrappeduic = True
|
Loading...