diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-03-24 13:30:14 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-03-24 13:30:14 +0530 |
commit | 73de8ba26776cf71063a95dac6ea22acea088116 (patch) | |
tree | 2906f1f29f0116852f61599f149d3ead2feb20e3 /app | |
parent | 29eaa09427bed23440270bdbf1733144f7978fdf (diff) |
fix: extract hard-coded string
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/app/passwordstore/ui/pgp/PGPKeyList.kt | 2 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/app/passwordstore/ui/pgp/PGPKeyList.kt b/app/src/main/java/app/passwordstore/ui/pgp/PGPKeyList.kt index e7702a91..a67d0f32 100644 --- a/app/src/main/java/app/passwordstore/ui/pgp/PGPKeyList.kt +++ b/app/src/main/java/app/passwordstore/ui/pgp/PGPKeyList.kt @@ -45,7 +45,7 @@ fun KeyList( painter = painterResource(id = R.drawable.ic_launcher_foreground), contentDescription = "Password Store logo" ) - Text("Import a key using the add button below") + Text(stringResource(R.string.pgp_key_manager_no_keys_guidance)) } } else { LazyColumn(modifier = modifier) { diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index db2be860..89ce628b 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -368,4 +368,5 @@ <string name="activity_label_pgp_key_manager">PGP Key Manager</string> <string name="pgp_key_manager_delete_confirmation_dialog_title">Delete key?</string> <string name="git_utils_reset_remote_branch_title">Remote branch name</string> + <string name="pgp_key_manager_no_keys_guidance">Import a key using the add button below</string> </resources> |