mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-03 07:03:58 +00:00
Clarify script types in strings in the UI files
This commit is contained in:
@@ -102,11 +102,11 @@ class Ui_ExceptionScriptSelector(object):
|
||||
|
||||
def retranslateUi(self, ExceptionScriptSelector):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
ExceptionScriptSelector.setWindowTitle(_("Exception Script Selector"))
|
||||
ExceptionScriptSelector.setWindowTitle(_("Exception Language Script Selector"))
|
||||
self.label.setText(_("Selected Scripts"))
|
||||
self.threshold_label.setText(_("Selected script match threshold:"))
|
||||
self.move_up.setToolTip(_("Move selected script up"))
|
||||
self.add_script.setToolTip(_("Add to selected scripts"))
|
||||
self.remove_script.setToolTip(_("Remove selected script"))
|
||||
self.move_down.setToolTip(_("Move selected script down"))
|
||||
self.label_2.setText(_("Available Scripts"))
|
||||
self.threshold_label.setText(_("Selected language script match threshold:"))
|
||||
self.move_up.setToolTip(_("Move selected language script up"))
|
||||
self.add_script.setToolTip(_("Add to selected language scripts"))
|
||||
self.remove_script.setToolTip(_("Remove selected language script"))
|
||||
self.move_down.setToolTip(_("Move selected language script down"))
|
||||
self.label_2.setText(_("Available Language Scripts"))
|
||||
|
||||
@@ -125,7 +125,7 @@ class Ui_MetadataOptionsPage(object):
|
||||
self.metadata_groupbox.setTitle(_("Metadata"))
|
||||
self.translate_artist_names.setText(_("Translate artist names to these locales where possible:"))
|
||||
self.select_locales.setText(_("Select..."))
|
||||
self.translate_artist_names_script_exception.setText(_("Ignore artist name translation for these scripts:"))
|
||||
self.translate_artist_names_script_exception.setText(_("Ignore artist name translation for these language scripts:"))
|
||||
self.select_scripts.setText(_("Select..."))
|
||||
self.standardize_artists.setText(_("Use standardized artist names"))
|
||||
self.standardize_instruments.setText(_("Use standardized instrument and vocal credits"))
|
||||
|
||||
@@ -160,7 +160,7 @@ class Ui_RenamingOptionsPage(object):
|
||||
self.ascii_filenames.setText(_("Replace non-ASCII characters"))
|
||||
self.windows_compatibility.setText(_("Windows compatibility"))
|
||||
self.label_2.setText(_("Selected file naming script:"))
|
||||
self.open_script_editor.setText(_("Edit script..."))
|
||||
self.open_script_editor.setText(_("Edit file naming script..."))
|
||||
self.groupBox.setTitle(_("Files will be named like this:"))
|
||||
self.example_filename_before_label.setText(_("Before"))
|
||||
self.example_filename_after_label.setText(_("After"))
|
||||
|
||||
@@ -102,11 +102,11 @@ class Ui_ScriptingOptionsPage(object):
|
||||
self.vboxlayout.addWidget(self.enable_tagger_scripts)
|
||||
|
||||
self.retranslateUi(ScriptingOptionsPage)
|
||||
self.add_button.clicked.connect(self.script_list.add_script) # type: ignore
|
||||
self.tagger_script.textChanged.connect(ScriptingOptionsPage.live_update_and_check) # type: ignore
|
||||
self.script_list.itemSelectionChanged.connect(ScriptingOptionsPage.script_selected) # type: ignore
|
||||
self.remove_button.clicked.connect(self.script_list.remove_selected_script) # type: ignore
|
||||
self.enable_tagger_scripts.toggled['bool'].connect(ScriptingOptionsPage.enable_tagger_scripts_toggled) # type: ignore
|
||||
self.add_button.clicked.connect(self.script_list.add_script)
|
||||
self.tagger_script.textChanged.connect(ScriptingOptionsPage.live_update_and_check)
|
||||
self.script_list.itemSelectionChanged.connect(ScriptingOptionsPage.script_selected)
|
||||
self.remove_button.clicked.connect(self.script_list.remove_selected_script)
|
||||
self.enable_tagger_scripts.toggled['bool'].connect(ScriptingOptionsPage.enable_tagger_scripts_toggled)
|
||||
QtCore.QMetaObject.connectSlotsByName(ScriptingOptionsPage)
|
||||
ScriptingOptionsPage.setTabOrder(self.enable_tagger_scripts, self.script_list)
|
||||
ScriptingOptionsPage.setTabOrder(self.script_list, self.tagger_script)
|
||||
@@ -117,14 +117,14 @@ class Ui_ScriptingOptionsPage(object):
|
||||
def retranslateUi(self, ScriptingOptionsPage):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
self.enable_tagger_scripts.setTitle(_("Enable Tagger Script(s)"))
|
||||
self.label.setText(_("Scripts that have been activated below will be executed automatically for each track of a release loaded from MusicBrainz."))
|
||||
self.label.setText(_("Tagger scripts that have been activated below will be executed automatically for each track of a release loaded from MusicBrainz."))
|
||||
self.tagger_script.setPlaceholderText(_("Enter your tagger script here."))
|
||||
self.move_up_button.setToolTip(_("Move script up"))
|
||||
self.move_down_button.setToolTip(_("Move script down"))
|
||||
self.add_button.setToolTip(_("Add new script"))
|
||||
self.add_button.setText(_("Add new script"))
|
||||
self.remove_button.setToolTip(_("Remove the selected script"))
|
||||
self.remove_button.setText(_("Remove script"))
|
||||
self.move_up_button.setToolTip(_("Move tagger script up"))
|
||||
self.move_down_button.setToolTip(_("Move tagger script down"))
|
||||
self.add_button.setToolTip(_("Add new tagger script"))
|
||||
self.add_button.setText(_("Add new tagger script"))
|
||||
self.remove_button.setToolTip(_("Remove the selected tagger script"))
|
||||
self.remove_button.setText(_("Remove tagger script"))
|
||||
self.import_button.setText(_("Import"))
|
||||
self.export_button.setText(_("Export"))
|
||||
self.scripting_documentation_button.setText(_("Documentation"))
|
||||
|
||||
@@ -88,16 +88,16 @@ class Ui_ScriptDetails(object):
|
||||
|
||||
def retranslateUi(self, ScriptDetails):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
ScriptDetails.setWindowTitle(_("Scripting Documentation"))
|
||||
self.script_version.setToolTip(_("Version number of the script."))
|
||||
ScriptDetails.setWindowTitle(_("File Naming Script Metadata"))
|
||||
self.script_version.setToolTip(_("Version number of the file naming script."))
|
||||
self.label_4.setText(_("Last Updated:"))
|
||||
self.script_last_updated.setToolTip(_("Date and time the script was last updated (UTC)."))
|
||||
self.script_last_updated.setToolTip(_("Date and time the file naming script was last updated (UTC)."))
|
||||
self.last_updated_now.setText(_("Now"))
|
||||
self.label_2.setText(_("Author:"))
|
||||
self.label_3.setText(_("Version:"))
|
||||
self.label_5.setText(_("License:"))
|
||||
self.label.setText(_("Title:"))
|
||||
self.script_license.setToolTip(_("License under which the script is available."))
|
||||
self.script_license.setToolTip(_("License under which the file naming script is available."))
|
||||
self.label_6.setText(_("Description:"))
|
||||
self.script_description.setToolTip(_("Brief description of the naming script, including any required plugins."))
|
||||
self.script_author.setToolTip(_("The author of the script."))
|
||||
self.script_description.setToolTip(_("Brief description of the file naming script, including any required plugins."))
|
||||
self.script_author.setToolTip(_("The author of the file naming script."))
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Exception Script Selector</string>
|
||||
<string>Exception Language Script Selector</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
@@ -58,7 +58,7 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="threshold_label">
|
||||
<property name="text">
|
||||
<string>Selected script match threshold:</string>
|
||||
<string>Selected language script match threshold:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -106,7 +106,7 @@
|
||||
<item>
|
||||
<widget class="QToolButton" name="move_up">
|
||||
<property name="toolTip">
|
||||
<string>Move selected script up</string>
|
||||
<string>Move selected language script up</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
@@ -120,7 +120,7 @@
|
||||
<item>
|
||||
<widget class="QToolButton" name="add_script">
|
||||
<property name="toolTip">
|
||||
<string>Add to selected scripts</string>
|
||||
<string>Add to selected language scripts</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
@@ -134,7 +134,7 @@
|
||||
<item>
|
||||
<widget class="QToolButton" name="remove_script">
|
||||
<property name="toolTip">
|
||||
<string>Remove selected script</string>
|
||||
<string>Remove selected language script</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
@@ -148,7 +148,7 @@
|
||||
<item>
|
||||
<widget class="QToolButton" name="move_down">
|
||||
<property name="toolTip">
|
||||
<string>Move selected script down</string>
|
||||
<string>Move selected language script down</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
@@ -179,7 +179,7 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string>Available Scripts</string>
|
||||
<string>Available Language Scripts</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="translate_artist_names_script_exception">
|
||||
<property name="text">
|
||||
<string>Ignore artist name translation for these scripts:</string>
|
||||
<string>Ignore artist name translation for these language scripts:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -142,7 +142,7 @@
|
||||
<item>
|
||||
<widget class="QPushButton" name="open_script_editor">
|
||||
<property name="text">
|
||||
<string>Edit script...</string>
|
||||
<string>Edit file naming script...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>Scripts that have been activated below will be executed automatically for each track of a release loaded from MusicBrainz.</string>
|
||||
<string>Tagger scripts that have been activated below will be executed automatically for each track of a release loaded from MusicBrainz.</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
@@ -113,7 +113,7 @@
|
||||
<item>
|
||||
<widget class="QToolButton" name="move_up_button">
|
||||
<property name="toolTip">
|
||||
<string>Move script up</string>
|
||||
<string>Move tagger script up</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme=":/images/16x16/go-up.png">
|
||||
@@ -124,7 +124,7 @@
|
||||
<item>
|
||||
<widget class="QToolButton" name="move_down_button">
|
||||
<property name="toolTip">
|
||||
<string>Move script down</string>
|
||||
<string>Move tagger script down</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme=":/images/16x16/go-down.png">
|
||||
@@ -148,20 +148,20 @@
|
||||
<item>
|
||||
<widget class="QToolButton" name="add_button">
|
||||
<property name="toolTip">
|
||||
<string>Add new script</string>
|
||||
<string>Add new tagger script</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Add new script</string>
|
||||
<string>Add new tagger script</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="remove_button">
|
||||
<property name="toolTip">
|
||||
<string>Remove the selected script</string>
|
||||
<string>Remove the selected tagger script</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Remove script</string>
|
||||
<string>Remove tagger script</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Scripting Documentation</string>
|
||||
<string>File Naming Script Metadata</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
@@ -54,7 +54,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Version number of the script.</string>
|
||||
<string>Version number of the file naming script.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -93,7 +93,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Date and time the script was last updated (UTC).</string>
|
||||
<string>Date and time the file naming script was last updated (UTC).</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -137,7 +137,7 @@
|
||||
<item row="3" column="2">
|
||||
<widget class="QLineEdit" name="script_license">
|
||||
<property name="toolTip">
|
||||
<string>License under which the script is available.</string>
|
||||
<string>License under which the file naming script is available.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -154,14 +154,14 @@
|
||||
<item row="4" column="2">
|
||||
<widget class="QPlainTextEdit" name="script_description">
|
||||
<property name="toolTip">
|
||||
<string>Brief description of the naming script, including any required plugins.</string>
|
||||
<string>Brief description of the file naming script, including any required plugins.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2">
|
||||
<widget class="QLineEdit" name="script_author">
|
||||
<property name="toolTip">
|
||||
<string>The author of the script.</string>
|
||||
<string>The author of the file naming script.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user