string changes

This commit is contained in:
Kovid Goyal 2023-11-08 15:50:27 +05:30
parent e7abf626bc
commit d7a9c7f8f9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
4 changed files with 9 additions and 10 deletions

View File

@ -524,10 +524,10 @@ class MultipleWidget(QWidget):
if name is None:
name = _('items')
if only_manage_items:
self.editor_button.setToolTip(_('Open the {} Category editor').format(name))
self.editor_button.setToolTip(_('Open the Manage {} window').format(name))
else:
self.editor_button.setToolTip(_('Open the {} editor. If Ctrl or Shift '
'is pressed, open the {} Category editor').format(name, name))
self.editor_button.setToolTip(_('Open the {0} editor. If Ctrl or Shift '
'is pressed, open the Manage {0} window').format(name))
self.editor_button.setIcon(QIcon.ic('chapters.png'))
layout.addWidget(self.editor_button)
self.setLayout(layout)

View File

@ -38,7 +38,7 @@
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>&amp;Add item:</string>
<string>&amp;Apply item:</string>
</property>
<property name="buddy">
<cstring>add_tag_input</cstring>

View File

@ -347,10 +347,9 @@ class TagListEditor(QDialog, Ui_TagListEditor):
self.current_links = {}
# Put the category name into the title bar
t = self.windowTitle()
self.category_name = cat_name
self.category = category
self.setWindowTitle(t + ' (' + cat_name + ')')
self.setWindowTitle(_('Manage {}').format(cat_name))
# Remove help icon on title bar
icon = self.windowIcon()
self.setWindowFlags(self.windowFlags()&(~Qt.WindowType.WindowContextHelpButtonHint))

View File

@ -197,12 +197,12 @@ class MetadataSingleDialogBase(QDialog):
self.manage_authors_button = QToolButton(self)
self.manage_authors_button.setIcon(QIcon.ic('user_profile.png'))
self.manage_authors_button.setToolTip('<p>' + _(
'Open the Authors Category editor. Use to rename authors and correct '
'Open the Manage Authors editor. Use to rename authors and correct '
'individual author\'s sort values') + '</p>')
self.manage_authors_button.clicked.connect(self.authors.manage_authors)
self.series_editor_button = QToolButton(self)
self.series_editor_button.setToolTip(_('Open the Series Category editor'))
self.series_editor_button.setToolTip(_('Open the Manage Series editor'))
self.series_editor_button.setIcon(QIcon.ic('chapters.png'))
self.series_editor_button.clicked.connect(self.series_editor)
self.series = SeriesEdit(self)
@ -239,7 +239,7 @@ class MetadataSingleDialogBase(QDialog):
self.tags = TagsEdit(self)
self.tags_editor_button = QToolButton(self)
self.tags_editor_button.setToolTip(_('Open the Tag editor. If Ctrl or Shift is pressed, open the Tags Category editor'))
self.tags_editor_button.setToolTip(_('Open the Tag editor. If Ctrl or Shift is pressed, open the Manage Tags editor'))
self.tags_editor_button.setIcon(QIcon.ic('chapters.png'))
self.tags_editor_button.clicked.connect(self.tags_editor)
self.tags.tag_editor_requested.connect(self.tags_editor)
@ -267,7 +267,7 @@ class MetadataSingleDialogBase(QDialog):
self.update_paste_identifiers_menu()
self.publisher_editor_button = QToolButton(self)
self.publisher_editor_button.setToolTip(_('Open the Publishers Category editor'))
self.publisher_editor_button.setToolTip(_('Open the Manage Publishers editor'))
self.publisher_editor_button.setIcon(QIcon.ic('chapters.png'))
self.publisher_editor_button.clicked.connect(self.publisher_editor)
self.publisher = PublisherEdit(self)