mirror of https://github.com/borgbase/vorta
Wording change from 'password' to 'borg passphrase' (#311)
Fixes #309. Avoid confusion with SSH private key password.
This commit is contained in:
parent
eadf51fe9e
commit
d48bdba593
|
@ -113,7 +113,7 @@
|
|||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="text">
|
||||
<string>Password:</string>
|
||||
<string>Borg passphrase:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
|
@ -115,7 +115,7 @@ class AddRepoWindow(AddRepoBase, AddRepoUI):
|
|||
if self.__class__ == AddRepoWindow:
|
||||
if self.values['encryption'] != 'none':
|
||||
if len(self.values['password']) < 8:
|
||||
self._set_status(self.tr('Please use a longer password.'))
|
||||
self._set_status(self.tr('Please use a longer passphrase.'))
|
||||
return False
|
||||
|
||||
return True
|
||||
|
|
|
@ -22,7 +22,7 @@ def test_repo_add_failures(app, qtbot, mocker, borg_json_output):
|
|||
|
||||
qtbot.keyClicks(add_repo_window.repoURL, 'bbb.com:repo')
|
||||
qtbot.mouseClick(add_repo_window.saveButton, QtCore.Qt.LeftButton)
|
||||
assert add_repo_window.errorText.text() == 'Please use a longer password.'
|
||||
assert add_repo_window.errorText.text() == 'Please use a longer passphrase.'
|
||||
|
||||
|
||||
def test_repo_add_success(app, qtbot, mocker, borg_json_output):
|
||||
|
|
Loading…
Reference in New Issue