diff options
author | mkaay <mkaay@mkaay.de> | 2010-02-04 19:06:26 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-02-04 19:06:26 +0100 |
commit | dfcf74000e0c8021b62a74ffe0068ff685decb97 (patch) | |
tree | f12e1475ecacdbe862788527ebbe1de80b5c4578 /module/gui/CaptchaDock.py | |
parent | little fixes, closed #71 (diff) | |
download | pyload-dfcf74000e0c8021b62a74ffe0068ff685decb97.tar.xz |
better gui performance, i18n in gui, new pot files
Diffstat (limited to 'module/gui/CaptchaDock.py')
-rw-r--r-- | module/gui/CaptchaDock.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/gui/CaptchaDock.py b/module/gui/CaptchaDock.py index 8a7e8010e..4f3c9efd0 100644 --- a/module/gui/CaptchaDock.py +++ b/module/gui/CaptchaDock.py @@ -22,7 +22,7 @@ from PyQt4.QtGui import * class CaptchaDock(QDockWidget): def __init__(self): - QDockWidget.__init__(self, "Captcha") + QDockWidget.__init__(self, _("Captcha")) self.setObjectName("Captcha Dock") self.widget = CaptchaDockWidget(self) self.setWidget(self.widget) @@ -53,8 +53,8 @@ class CaptchaDockWidget(QWidget): imgLabel = QLabel() captchaInput = QLineEdit() - okayButton = QPushButton("OK") - cancelButton = QPushButton("Cancel") + okayButton = QPushButton(_("OK")) + cancelButton = QPushButton(_("Cancel")) layout.addStretch() layout.addWidget(imgLabel) |