diff options
| author | ormorph <roma251078@mail.ru> | 2024-04-28 15:13:46 +0300 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-04-30 11:56:48 +0900 |
| commit | 03a1fe47182f68ef6267676c290469b0b9a3aa8f (patch) | |
| tree | e5fe400214d557f010f00d5607b332a80e40ed66 /examples/i18n/mywidget.py | |
| parent | 3dec37ecf0484f58246046efb26ba0fbbdf3dcd7 (diff) | |
| download | pytqt-03a1fe47182f68ef6267676c290469b0b9a3aa8f.tar.gz pytqt-03a1fe47182f68ef6267676c290469b0b9a3aa8f.zip | |
Fix example translations for pytqt
Signed-off-by: ormorph <roma251078@mail.ru>
(cherry picked from commit f8780f8ac8d4f5955828d8c3a927bed453a3630b)
Diffstat (limited to 'examples/i18n/mywidget.py')
| -rw-r--r-- | examples/i18n/mywidget.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/i18n/mywidget.py b/examples/i18n/mywidget.py index 681d98a..7dac01c 100644 --- a/examples/i18n/mywidget.py +++ b/examples/i18n/mywidget.py @@ -25,9 +25,9 @@ class MyWidget(TQMainWindow): self.gbox = TQButtonGroup(1, TQGroupBox.Horizontal, self.trUtf8("View"), self.central) - rb = TQRadioButton(tqApp.translate('MyWidget','Perspective'), self.gbox) - rb = TQRadioButton(tqApp.translate('MyWidget','Isometric'), self.gbox) - rb = TQRadioButton(tqApp.translate('MyWidget','Oblique'), self.gbox) + rb = TQRadioButton(tqApp.translate(b'MyWidget',b'Perspective'), self.gbox) + rb = TQRadioButton(tqApp.translate(b'MyWidget',b'Isometric'), self.gbox) + rb = TQRadioButton(tqApp.translate(b'MyWidget',b'Oblique'), self.gbox) self.initChoices(self.central) |
