Skip to content

Commit abd9ece

Browse files
author
goingforstudying-ctrl
committed
fix: minor translation adjustments
- 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
1 parent 1b273bf commit abd9ece

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

common/sshtools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@ def sshCopyId(
12031203
env['SSH_ASKPASS'] = askPass
12041204
env['ASKPASS_MODE'] = 'USER'
12051205
env['ASKPASS_PROMPT'] = '{}\n{}:'.format(
1206-
_('Copy public ssh-key "{pubkey}" to remote host "{host}".').format(
1206+
_('Copy public SSH key "{pubkey}" to remote host "{host}".').format(
12071207
pubkey=pubkey, host=host),
12081208
_('Please enter a password for "{user}".').format(user=user)
12091209
)

qt/restoreconfigdialog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def _slot_index_changed(self, current, _previous):
302302
self._config_to_restore = cfg
303303

304304
else:
305-
self._lbl_found.setText(_('No config found in this directory'))
305+
self._lbl_found.setText(_('No config found in this directory.'))
306306
self._lbl_found.setPalette(self._color_red)
307307
self._wdg_profiles.hide()
308308
self._config_to_restore = None

0 commit comments

Comments
 (0)