From a846d0257d52a4e270da6d6f0a930529b3445a1e Mon Sep 17 00:00:00 2001 From: goingforstudying-ctrl Date: Thu, 28 May 2026 10:04:50 +0000 Subject: [PATCH] fix: minor translation adjustments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Capitalize 'SSH' in user-facing prompt in sshtools.py ('Copy public ssh-key' → 'Copy public SSH key') - Add missing period at end of sentence in restoreconfigdialog.py ('No config found in this directory' → 'No config found in this directory.') Closes #2477 --- common/sshtools.py | 2 +- qt/restoreconfigdialog.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/sshtools.py b/common/sshtools.py index f5f5b593c..556372c6e 100644 --- a/common/sshtools.py +++ b/common/sshtools.py @@ -1203,7 +1203,7 @@ def sshCopyId( env['SSH_ASKPASS'] = askPass env['ASKPASS_MODE'] = 'USER' env['ASKPASS_PROMPT'] = '{}\n{}:'.format( - _('Copy public ssh-key "{pubkey}" to remote host "{host}".').format( + _('Copy public SSH key "{pubkey}" to remote host "{host}".').format( pubkey=pubkey, host=host), _('Please enter a password for "{user}".').format(user=user) ) diff --git a/qt/restoreconfigdialog.py b/qt/restoreconfigdialog.py index dd37a12e1..74ab0e95a 100644 --- a/qt/restoreconfigdialog.py +++ b/qt/restoreconfigdialog.py @@ -302,7 +302,7 @@ def _slot_index_changed(self, current, _previous): self._config_to_restore = cfg else: - self._lbl_found.setText(_('No config found in this directory')) + self._lbl_found.setText(_('No config found in this directory.')) self._lbl_found.setPalette(self._color_red) self._wdg_profiles.hide() self._config_to_restore = None