diff --git a/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt b/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt index 725339a84..b9bf6ac93 100644 --- a/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt +++ b/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt @@ -339,7 +339,7 @@ class UserPreference : AppCompatActivity() { FileUtils.writeByteArrayToFile(File(filesDir.toString() + "/.ssh_key"), privateKey) sshKey.close() } else { - Toast.makeText(this, "Unable to open the ssh private key, please check that the file exists", Toast.LENGTH_LONG).show() + Toast.makeText(this, getString(R.string.ssh_key_does_not_exist), Toast.LENGTH_LONG).show() } } diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 653a22fa0..3180a4942 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -185,4 +185,5 @@ Controller la visibilité du contenu supplémentaire une fois déchiffré Afficher le contenu supplémentaire Nom d\'utilisateur + Impossible d\'ouvrir la clef ssh, merci de vérifier que le ficher existe diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 8700a9179..87470c0e3 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -198,6 +198,7 @@ Paste Paste username?\n\n%s Select an editable field to past the username.\nUsername is available for %d seconds. + Unable to open the ssh private key, please check that the file exists Screenshot of accessibility services Screenshot of toggle in accessibility services Screenshot of autofill service in action