mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
string changes
This commit is contained in:
parent
e7abf626bc
commit
d7a9c7f8f9
@ -524,10 +524,10 @@ class MultipleWidget(QWidget):
|
|||||||
if name is None:
|
if name is None:
|
||||||
name = _('items')
|
name = _('items')
|
||||||
if only_manage_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:
|
else:
|
||||||
self.editor_button.setToolTip(_('Open the {} editor. If Ctrl or Shift '
|
self.editor_button.setToolTip(_('Open the {0} editor. If Ctrl or Shift '
|
||||||
'is pressed, open the {} Category editor').format(name, name))
|
'is pressed, open the Manage {0} window').format(name))
|
||||||
self.editor_button.setIcon(QIcon.ic('chapters.png'))
|
self.editor_button.setIcon(QIcon.ic('chapters.png'))
|
||||||
layout.addWidget(self.editor_button)
|
layout.addWidget(self.editor_button)
|
||||||
self.setLayout(layout)
|
self.setLayout(layout)
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_3">
|
<widget class="QLabel" name="label_3">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Add item:</string>
|
<string>&Apply item:</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="buddy">
|
<property name="buddy">
|
||||||
<cstring>add_tag_input</cstring>
|
<cstring>add_tag_input</cstring>
|
||||||
|
@ -347,10 +347,9 @@ class TagListEditor(QDialog, Ui_TagListEditor):
|
|||||||
self.current_links = {}
|
self.current_links = {}
|
||||||
|
|
||||||
# Put the category name into the title bar
|
# Put the category name into the title bar
|
||||||
t = self.windowTitle()
|
|
||||||
self.category_name = cat_name
|
self.category_name = cat_name
|
||||||
self.category = category
|
self.category = category
|
||||||
self.setWindowTitle(t + ' (' + cat_name + ')')
|
self.setWindowTitle(_('Manage {}').format(cat_name))
|
||||||
# Remove help icon on title bar
|
# Remove help icon on title bar
|
||||||
icon = self.windowIcon()
|
icon = self.windowIcon()
|
||||||
self.setWindowFlags(self.windowFlags()&(~Qt.WindowType.WindowContextHelpButtonHint))
|
self.setWindowFlags(self.windowFlags()&(~Qt.WindowType.WindowContextHelpButtonHint))
|
||||||
|
@ -197,12 +197,12 @@ class MetadataSingleDialogBase(QDialog):
|
|||||||
self.manage_authors_button = QToolButton(self)
|
self.manage_authors_button = QToolButton(self)
|
||||||
self.manage_authors_button.setIcon(QIcon.ic('user_profile.png'))
|
self.manage_authors_button.setIcon(QIcon.ic('user_profile.png'))
|
||||||
self.manage_authors_button.setToolTip('<p>' + _(
|
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>')
|
'individual author\'s sort values') + '</p>')
|
||||||
self.manage_authors_button.clicked.connect(self.authors.manage_authors)
|
self.manage_authors_button.clicked.connect(self.authors.manage_authors)
|
||||||
|
|
||||||
self.series_editor_button = QToolButton(self)
|
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.setIcon(QIcon.ic('chapters.png'))
|
||||||
self.series_editor_button.clicked.connect(self.series_editor)
|
self.series_editor_button.clicked.connect(self.series_editor)
|
||||||
self.series = SeriesEdit(self)
|
self.series = SeriesEdit(self)
|
||||||
@ -239,7 +239,7 @@ class MetadataSingleDialogBase(QDialog):
|
|||||||
|
|
||||||
self.tags = TagsEdit(self)
|
self.tags = TagsEdit(self)
|
||||||
self.tags_editor_button = QToolButton(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.setIcon(QIcon.ic('chapters.png'))
|
||||||
self.tags_editor_button.clicked.connect(self.tags_editor)
|
self.tags_editor_button.clicked.connect(self.tags_editor)
|
||||||
self.tags.tag_editor_requested.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.update_paste_identifiers_menu()
|
||||||
|
|
||||||
self.publisher_editor_button = QToolButton(self)
|
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.setIcon(QIcon.ic('chapters.png'))
|
||||||
self.publisher_editor_button.clicked.connect(self.publisher_editor)
|
self.publisher_editor_button.clicked.connect(self.publisher_editor)
|
||||||
self.publisher = PublisherEdit(self)
|
self.publisher = PublisherEdit(self)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user