extract string

This commit is contained in:
Mohamed Zenadi 2017-07-25 23:33:34 +01:00 committed by Mohamed Zenadi
parent 7cb474804b
commit 902cbd78b0
3 changed files with 3 additions and 1 deletions

View file

@ -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()
}
}

View file

@ -185,4 +185,5 @@
<string name="show_extra_content_pref_summary">Controller la visibilité du contenu supplémentaire une fois déchiffré</string>
<string name="show_extra_content_pref_title">Afficher le contenu supplémentaire</string>
<string name="username">Nom d\'utilisateur</string>
<string name="ssh_key_does_not_exist">Impossible d\'ouvrir la clef ssh, merci de vérifier que le ficher existe</string>
</resources>

View file

@ -198,6 +198,7 @@
<string name="autofill_paste">Paste</string>
<string name="autofill_paste_username">Paste username?\n\n%s</string>
<string name="autofill_toast_username">Select an editable field to past the username.\nUsername is available for %d seconds.</string>
<string name="ssh_key_does_not_exist">Unable to open the ssh private key, please check that the file exists</string>
<string name="autofill_ins_1_hint">Screenshot of accessibility services</string>
<string name="autofill_ins_2_hint">Screenshot of toggle in accessibility services</string>
<string name="autofill_ins_3_hint">Screenshot of autofill service in action</string>