From 902cbd78b0acbf237bf72ff5b60ff3307f100e7f Mon Sep 17 00:00:00 2001 From: Mohamed Zenadi Date: Tue, 25 Jul 2017 23:33:34 +0100 Subject: extract string --- app/src/main/java/com/zeapo/pwdstore/UserPreference.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main/java/com') diff --git a/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt b/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt index 725339a8..b9bf6ac9 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() } } -- cgit v1.2.3