make 'card layout' translatable thanks to piotr

This commit is contained in:
Damien Elmes 2011-01-15 18:50:53 +09:00
parent 91d4d838f3
commit 146a881f9b

View file

@ -121,7 +121,7 @@ class FactEditor(object):
self.fieldsBox.addLayout(self.iconsBox2)
# card layout
self.iconsBox.addItem(QSpacerItem(20,1, QSizePolicy.Expanding))
self.clayout = QPushButton("Card Layout")
self.clayout = QPushButton(_("Card Layout"))
self.clayout.connect(self.clayout, SIGNAL("clicked()"), self.onCardLayout)
self.clayout.setSizePolicy(QSizePolicy.Preferred,QSizePolicy.Preferred)
self.clayout.setFixedHeight(20)