diff --git a/picard/ui/ui_exception_script_selector.py b/picard/ui/ui_exception_script_selector.py index bd51d8163..5229e2929 100644 --- a/picard/ui/ui_exception_script_selector.py +++ b/picard/ui/ui_exception_script_selector.py @@ -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")) diff --git a/picard/ui/ui_options_metadata.py b/picard/ui/ui_options_metadata.py index 0da0b5a59..00666e7ed 100644 --- a/picard/ui/ui_options_metadata.py +++ b/picard/ui/ui_options_metadata.py @@ -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")) diff --git a/picard/ui/ui_options_renaming.py b/picard/ui/ui_options_renaming.py index 18eff98ef..4e73e7213 100644 --- a/picard/ui/ui_options_renaming.py +++ b/picard/ui/ui_options_renaming.py @@ -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")) diff --git a/picard/ui/ui_options_script.py b/picard/ui/ui_options_script.py index 47c3e35d5..a8a5dfccb 100644 --- a/picard/ui/ui_options_script.py +++ b/picard/ui/ui_options_script.py @@ -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")) diff --git a/picard/ui/ui_scripteditor_details.py b/picard/ui/ui_scripteditor_details.py index 765895727..ecdf7f135 100644 --- a/picard/ui/ui_scripteditor_details.py +++ b/picard/ui/ui_scripteditor_details.py @@ -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.")) diff --git a/ui/exception_script_selector.ui b/ui/exception_script_selector.ui index 14bb3631c..97cc320ae 100644 --- a/ui/exception_script_selector.ui +++ b/ui/exception_script_selector.ui @@ -26,7 +26,7 @@ - Exception Script Selector + Exception Language Script Selector @@ -58,7 +58,7 @@ - Selected script match threshold: + Selected language script match threshold: @@ -106,7 +106,7 @@ - Move selected script up + Move selected language script up @@ -120,7 +120,7 @@ - Add to selected scripts + Add to selected language scripts @@ -134,7 +134,7 @@ - Remove selected script + Remove selected language script @@ -148,7 +148,7 @@ - Move selected script down + Move selected language script down @@ -179,7 +179,7 @@ - Available Scripts + Available Language Scripts diff --git a/ui/options_metadata.ui b/ui/options_metadata.ui index 2a41668d7..10e911873 100644 --- a/ui/options_metadata.ui +++ b/ui/options_metadata.ui @@ -63,7 +63,7 @@ - Ignore artist name translation for these scripts: + Ignore artist name translation for these language scripts: diff --git a/ui/options_renaming.ui b/ui/options_renaming.ui index db636f0e9..16cf94954 100644 --- a/ui/options_renaming.ui +++ b/ui/options_renaming.ui @@ -142,7 +142,7 @@ - Edit script... + Edit file naming script... diff --git a/ui/options_script.ui b/ui/options_script.ui index f092161a1..71ff9a49d 100644 --- a/ui/options_script.ui +++ b/ui/options_script.ui @@ -43,7 +43,7 @@ - Scripts that have been activated below will be executed automatically for each track of a release loaded from MusicBrainz. + Tagger scripts that have been activated below will be executed automatically for each track of a release loaded from MusicBrainz. true @@ -113,7 +113,7 @@ - Move script up + Move tagger script up @@ -124,7 +124,7 @@ - Move script down + Move tagger script down @@ -148,20 +148,20 @@ - Add new script + Add new tagger script - Add new script + Add new tagger script - Remove the selected script + Remove the selected tagger script - Remove script + Remove tagger script diff --git a/ui/scripteditor_details.ui b/ui/scripteditor_details.ui index 6965f0e93..a7547c262 100644 --- a/ui/scripteditor_details.ui +++ b/ui/scripteditor_details.ui @@ -20,7 +20,7 @@ - Scripting Documentation + File Naming Script Metadata @@ -54,7 +54,7 @@ - Version number of the script. + Version number of the file naming script. @@ -93,7 +93,7 @@ - Date and time the script was last updated (UTC). + Date and time the file naming script was last updated (UTC). @@ -137,7 +137,7 @@ - License under which the script is available. + License under which the file naming script is available. @@ -154,14 +154,14 @@ - Brief description of the naming script, including any required plugins. + Brief description of the file naming script, including any required plugins. - The author of the script. + The author of the file naming script.