Rename items

rename_files -> location
label_3 -> label_use_filename
This commit is contained in:
Laurent Monin
2015-12-25 00:22:45 +01:00
parent 2be1572df7
commit ffe1070d94
2 changed files with 16 additions and 16 deletions

View File

@@ -25,31 +25,31 @@ class Ui_CoverOptionsPage(object):
CoverOptionsPage.resize(632, 560)
self.verticalLayout = QtGui.QVBoxLayout(CoverOptionsPage)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.rename_files = QtGui.QGroupBox(CoverOptionsPage)
self.rename_files.setObjectName(_fromUtf8("rename_files"))
self.vboxlayout = QtGui.QVBoxLayout(self.rename_files)
self.location = QtGui.QGroupBox(CoverOptionsPage)
self.location.setObjectName(_fromUtf8("location"))
self.vboxlayout = QtGui.QVBoxLayout(self.location)
self.vboxlayout.setSpacing(2)
self.vboxlayout.setMargin(9)
self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
self.save_images_to_tags = QtGui.QCheckBox(self.rename_files)
self.save_images_to_tags = QtGui.QCheckBox(self.location)
self.save_images_to_tags.setObjectName(_fromUtf8("save_images_to_tags"))
self.vboxlayout.addWidget(self.save_images_to_tags)
self.cb_embed_front_only = QtGui.QCheckBox(self.rename_files)
self.cb_embed_front_only = QtGui.QCheckBox(self.location)
self.cb_embed_front_only.setObjectName(_fromUtf8("cb_embed_front_only"))
self.vboxlayout.addWidget(self.cb_embed_front_only)
self.save_images_to_files = QtGui.QCheckBox(self.rename_files)
self.save_images_to_files = QtGui.QCheckBox(self.location)
self.save_images_to_files.setObjectName(_fromUtf8("save_images_to_files"))
self.vboxlayout.addWidget(self.save_images_to_files)
self.label_3 = QtGui.QLabel(self.rename_files)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.vboxlayout.addWidget(self.label_3)
self.cover_image_filename = QtGui.QLineEdit(self.rename_files)
self.label_use_filename = QtGui.QLabel(self.location)
self.label_use_filename.setObjectName(_fromUtf8("label_use_filename"))
self.vboxlayout.addWidget(self.label_use_filename)
self.cover_image_filename = QtGui.QLineEdit(self.location)
self.cover_image_filename.setObjectName(_fromUtf8("cover_image_filename"))
self.vboxlayout.addWidget(self.cover_image_filename)
self.save_images_overwrite = QtGui.QCheckBox(self.rename_files)
self.save_images_overwrite = QtGui.QCheckBox(self.location)
self.save_images_overwrite.setObjectName(_fromUtf8("save_images_overwrite"))
self.vboxlayout.addWidget(self.save_images_overwrite)
self.verticalLayout.addWidget(self.rename_files)
self.verticalLayout.addWidget(self.location)
self.ca_providers_groupbox = QtGui.QGroupBox(CoverOptionsPage)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
@@ -77,11 +77,11 @@ class Ui_CoverOptionsPage(object):
CoverOptionsPage.setTabOrder(self.cover_image_filename, self.save_images_overwrite)
def retranslateUi(self, CoverOptionsPage):
self.rename_files.setTitle(_("Location"))
self.location.setTitle(_("Location"))
self.save_images_to_tags.setText(_("Embed cover images into tags"))
self.cb_embed_front_only.setText(_("Only embed a front image"))
self.save_images_to_files.setText(_("Save cover images as separate files"))
self.label_3.setText(_("Use the following file name for images:"))
self.label_use_filename.setText(_("Use the following file name for images:"))
self.save_images_overwrite.setText(_("Overwrite the file if it already exists"))
self.ca_providers_groupbox.setTitle(_("Cover Art Providers"))

View File

@@ -12,7 +12,7 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="rename_files">
<widget class="QGroupBox" name="location">
<property name="title">
<string>Location</string>
</property>
@@ -45,7 +45,7 @@
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<widget class="QLabel" name="label_use_filename">
<property name="text">
<string>Use the following file name for images:</string>
</property>