diff --git a/vialectrum/gui/qt/main_window.py b/vialectrum/gui/qt/main_window.py index ddb92b0ef3..dbf58601ff 100644 --- a/vialectrum/gui/qt/main_window.py +++ b/vialectrum/gui/qt/main_window.py @@ -240,8 +240,8 @@ def add_optional_tab(tabs, tab, icon, description, name): if config.get('check_updates') is None: choice = QMessageBox.question(self, "Vialectrum - " + _("Enable update check"), - _("For security reasons we advise that you always use the latest version of Electrum.") + " " + - _("Would you like to be notified when there is a newer version of Electrum available?"), + _("For security reasons we advise that you always use the latest version of Vialectrum.") + " " + + _("Would you like to be notified when there is a newer version of Vialectrum available?"), QMessageBox.Yes, QMessageBox.No) config.set_key('check_updates', choice == QMessageBox.Yes, save=True) @@ -251,7 +251,7 @@ def add_optional_tab(tabs, tab, icon, description, name): # to prevent GC from getting in our way. def on_version_received(v): if UpdateCheck.is_newer(v): - self.update_check_button.setText(_("Update to Electrum {} is available").format(v)) + self.update_check_button.setText(_("Update to Vialectrum {} is available").format(v)) self.update_check_button.clicked.connect(lambda: self.show_update_check(v)) self.update_check_button.show() self._update_check_thread = UpdateCheckThread(self) @@ -495,7 +495,7 @@ def backup_wallet(self): shutil.copy2(path, new_path) self.show_message(_("A copy of your wallet file was created in")+" '%s'" % str(new_path), title=_("Wallet backup created")) except BaseException as reason: - self.show_critical(_("Electrum was unable to copy your wallet file to the specified location.") + "\n" + str(reason), title=_("Unable to create backup")) + self.show_critical(_("Viaectrum was unable to copy your wallet file to the specified location.") + "\n" + str(reason), title=_("Unable to create backup")) def update_recently_visited(self, filename): recent = self.config.get('recently_open', []) @@ -589,7 +589,7 @@ def add_toggle_action(view_menu, tab): tools_menu = menubar.addMenu(_("&Tools")) # Settings / Preferences are all reserved keywords in macOS using this as work around - tools_menu.addAction(_("Electrum preferences") if sys.platform == 'darwin' else _("Preferences"), self.settings_dialog) + tools_menu.addAction(_("Vialectrum preferences") if sys.platform == 'darwin' else _("Preferences"), self.settings_dialog) tools_menu.addAction(_("&Network"), lambda: self.gui_object.show_network_dialog(self)) tools_menu.addAction(_("&Plugins"), self.plugins_dialog) tools_menu.addSeparator() @@ -630,7 +630,7 @@ def donate_to_server(self): def show_about(self): QMessageBox.about(self, "Vialectrum", (_("Version")+" %s" % ELECTRUM_VERSION + "\n\n" + - _("Electrum's focus is speed, with low resource usage and simplifying Viacoin.") + " " + + _("Vialectrum's focus is speed, with low resource usage and simplifying Viacoin.") + " " + _("You do not need to perform regular backups, because your wallet can be " "recovered from a secret phrase that you can memorize or write on paper.") + " " + _("Startup times are instant because it operates in conjunction with high-performance " @@ -644,7 +644,7 @@ def show_report_bug(self): msg = ' '.join([ _("Please report any bugs as issues on github:
"), "https://github.com/viacoin/vialectrum/issues

", - _("Before reporting a bug, upgrade to the most recent version of Electrum (latest release or git HEAD), and include the version number in your report."), + _("Before reporting a bug, upgrade to the most recent version of Vialectrum (latest release or git HEAD), and include the version number in your report."), _("Try to explain not only what the bug is, but how it occurs.") ]) self.show_message(msg, title="Vialectrum - " + _("Reporting Bugs"), rich_text=True) @@ -905,7 +905,7 @@ def create_receive_tab(self): _('Expiration date of your request.'), _('This information is seen by the recipient if you send them a signed payment request.'), _('Expired requests have to be deleted manually from your list, in order to free the corresponding Viacoin addresses.'), - _('The Viacoin address never expires and will always be part of this Electrum wallet.'), + _('The Viacoin address never expires and will always be part of this Vialectrum wallet.'), ]) grid.addWidget(HelpLabel(_('Request expires'), msg), 3, 0) grid.addWidget(self.expires_combo, 3, 1) @@ -1244,7 +1244,7 @@ def setAmount(self, byte_size): def feerounding_onclick(): text = (self.feerounding_text + '\n\n' + - _('To somewhat protect your privacy, Electrum tries to create change with similar precision to other outputs.') + ' ' + + _('To somewhat protect your privacy, Vialectrum tries to create change with similar precision to other outputs.') + ' ' + _('At most 100 satoshis might be lost due to this rounding.') + ' ' + _("You can disable this setting in '{}'.").format(_('Preferences')) + '\n' + _('Also, dust is not kept as change, but added to the fee.') + '\n' + @@ -2272,7 +2272,7 @@ def show_private_key(self, address, password): "private key, and verifying with the corresponding public key. The " "address you have entered does not have a unique public key, so these " "operations cannot be performed.") + '\n\n' + \ - _('The operation is undefined. Not just in Electrum, but in general.') + _('The operation is undefined. Not just in Vialectrum, but in general.') @protected def do_sign(self, address, message, signature, password): @@ -2437,7 +2437,7 @@ def tx_from_text(self, txt): tx = tx_from_str(txt) return Transaction(tx) except BaseException as e: - self.show_critical(_("Electrum was unable to parse your transaction") + ":\n" + str(e)) + self.show_critical(_("Vialectrum was unable to parse your transaction") + ":\n" + str(e)) return def read_tx_from_qrcode(self): @@ -2472,7 +2472,7 @@ def read_tx_from_file(self): with open(fileName, "r") as f: file_content = f.read() except (ValueError, IOError, os.error) as reason: - self.show_critical(_("Electrum was unable to open your transaction file") + "\n" + str(reason), title=_("Unable to read file or no transaction found")) + self.show_critical(_("Vialectrum was unable to open your transaction file") + "\n" + str(reason), title=_("Unable to read file or no transaction found")) return return self.tx_from_text(file_content) @@ -2584,7 +2584,7 @@ def on_dialog_closed(*args): self.do_export_privkeys(filename, private_keys, csv_button.isChecked()) except (IOError, os.error) as reason: txt = "\n".join([ - _("Electrum was unable to produce a private key-export."), + _("Vialectrum was unable to produce a private key-export."), str(reason) ]) self.show_critical(txt, title=_("Unable to create csv")) @@ -3165,7 +3165,7 @@ def on_fiat_address(checked): run_hook('close_settings_dialog') if self.need_restart: - self.show_warning(_('Please restart Electrum to activate the new GUI settings'), title=_('Success')) + self.show_warning(_('Please restart Vialectrum to activate the new GUI settings'), title=_('Success')) def closeEvent(self, event): @@ -3196,7 +3196,7 @@ def clean_up(self): self.gui_object.close_window(self) def plugins_dialog(self): - self.pluginsdialog = d = WindowModalDialog(self, _('Electrum Plugins')) + self.pluginsdialog = d = WindowModalDialog(self, _('Vialectrum Plugins')) plugins = self.gui_object.plugins