diff options
| author | Felix Bechstein <f@ub0r.de> | 2017-07-22 12:09:34 +0200 |
|---|---|---|
| committer | Mohamed Zenadi <zeapo@users.noreply.github.com> | 2017-07-22 12:09:34 +0200 |
| commit | 5cba6c62d7b4628dfaf482dd883e333f93d323d4 (patch) | |
| tree | b28df0db4ca187df0cabc575bbd89c009f69e127 /app/src/main/res/values | |
| parent | 6ce31056c987b8fd73513d5b4eebc8d0d763a7a2 (diff) | |
| download | HardenedPass-5cba6c62d7b4628dfaf482dd883e333f93d323d4.tar.gz HardenedPass-5cba6c62d7b4628dfaf482dd883e333f93d323d4.zip | |
Parse username from password entry, refs #192 (#318)
This is a first step of letting APS handle usernames from password
entries. It shows the username in PgpHandler and allows to copy it to
the clipboard.
Diffstat (limited to 'app/src/main/res/values')
| -rw-r--r-- | app/src/main/res/values/colors.xml | 1 | ||||
| -rw-r--r-- | app/src/main/res/values/strings.xml | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 96ebf1bb..7e1e3814 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources> <color name="accent">#ff7043</color> + <color name="background">#eee</color> <color name="red_50">#fde0dc</color> <color name="red_100">#f9bdbb</color> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 444bbf08..51b23002 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -32,7 +32,8 @@ <!-- PGPHandler --> <string name="provider_toast_text">No OpenPGP Provider selected!</string> <string name="okc_progress_text">Waiting for OpenKeychain…</string> - <string name="clipboard_toast_text">Password copied to clipboard, you have %d seconds to paste it somewhere.</string> + <string name="clipboard_password_toast_text">Password copied to clipboard, you have %d seconds to paste it somewhere.</string> + <string name="clipboard_username_toast_text">Username copied to clipboard</string> <string name="name_settings_toast_text">Please set your account name in settings whenever you can</string> <string name="account_settings_dialog_text">Please set your OpenKeychain account (email) in the preferences</string> <string name="account_settings_dialog_title">Account name empty!</string> @@ -97,6 +98,11 @@ <string name="action_search">Search</string> <string name="password">Password:</string> <string name="extra_content">Extra content:</string> + <string name="username">Username:</string> + <string name="edit_password">Edit password</string> + <string name="copy_password">Copy password</string> + <string name="copy_username">Copy username</string> + <string name="share_as_plaintext">Share as plaintext</string> <!-- Preferences --> <string name="pref_git_title">Git</string> |
