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/PackageDock.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/PackageDock.py')
-rw-r--r-- | module/gui/PackageDock.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/gui/PackageDock.py b/module/gui/PackageDock.py index c81798935..fec5466c2 100644 --- a/module/gui/PackageDock.py +++ b/module/gui/PackageDock.py @@ -21,7 +21,7 @@ from PyQt4.QtGui import * class NewPackageDock(QDockWidget): def __init__(self): - QDockWidget.__init__(self, "New Package") + QDockWidget.__init__(self, _("New Package")) self.setObjectName("New Package Dock") self.widget = NewPackageWindow(self) self.setWidget(self.widget) @@ -47,10 +47,10 @@ class NewPackageWindow(QWidget): self.setLayout(QGridLayout()) layout = self.layout() - nameLabel = QLabel("Name") + nameLabel = QLabel(_("Name")) nameInput = QLineEdit() - linksLabel = QLabel("Links in this Package") + linksLabel = QLabel(_("Links in this Package")) linkView = QTreeWidget() linkView.setSelectionBehavior(QAbstractItemView.SelectRows) linkView.setSelectionMode(QAbstractItemView.ExtendedSelection) @@ -65,7 +65,7 @@ class NewPackageWindow(QWidget): self.view = linkView self.nameInput = nameInput - save = QPushButton("Create") + save = QPushButton(_("Create")) layout.addWidget(nameLabel, 0, 0) layout.addWidget(nameInput, 0, 1) |