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