aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/values
diff options
context:
space:
mode:
authorChristoph Böhmwalder <christoph@boehmwalder.at>2017-12-26 14:35:25 +0100
committerMohamed Zenadi <zeapo@users.noreply.github.com>2017-12-26 14:35:25 +0100
commite41287cb164b734dd19dc63d88235dd75509547d (patch)
treeff5800cb95a0047c16a5c4809cffcd9e49a126bc /app/src/main/res/values
parent916d63f9bec5d624350b62a1d0eaec677a6b214f (diff)
downloadHardenedPass-e41287cb164b734dd19dc63d88235dd75509547d.tar.gz
HardenedPass-e41287cb164b734dd19dc63d88235dd75509547d.zip
show age for passwords in detail view (#339)
* show age for passwords in detail view Implements #330. This fetches the latest commit where the respective password file was changed from the current HEAD and outputs the relative time since the last change on the decrypt page. * Move lastChanged logic out of PgpActivity This nicely encapsulates the lastChanged logic (and thus separates it from dependencies like git). The last changed date is now passed as a timestamp using the Intent's extra info.
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r--app/src/main/res/values/strings.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index dd286625..8a5f0e39 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -98,6 +98,7 @@
<string name="copy_password">Copy password</string>
<string name="copy_username">Copy username</string>
<string name="share_as_plaintext">Share as plaintext</string>
+ <string name="last_changed">Last changed %s</string>
<!-- Preferences -->
<string name="pref_git_title">Git</string>
@@ -217,4 +218,5 @@
<string name="commit_hash">Commit hash</string>
<string name="crypto_password_edit_hint">p@ssw0rd!</string>
<string name="crypto_extra_edit_hint">username: something other extra content</string>
+ <string name="get_last_changed_failed">Failed to get last changed date</string>
</resources>