aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values
diff options
context:
space:
mode:
authorFabian Henneke <FabianHenneke@users.noreply.github.com>2020-03-24 14:03:40 +0100
committerGitHub <noreply@github.com>2020-03-24 14:03:40 +0100
commitbebe43468330f182ea35e01ace555ce8d0512aeb (patch)
tree85899eccd985b302183ee1551054ef54bdb0ada5 /app/src/main/res/values
parent98e9f6734a00cfb1d8164227b2de07d2aea150d2 (diff)
Add support for Oreo Autofill (#653)
Adds support for the Autofill feature first available in Android Oreo. In compatible apps and browsers, login forms are automatically detected and the user is presented with options to fill or generate credentials. In most apps and certain browsers, the service will also offer to create new Password Store entries from credentials entered into login forms. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r--app/src/main/res/values/strings.xml29
-rw-r--r--app/src/main/res/values/styles.xml8
2 files changed, 36 insertions, 1 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 288b93f2..5df51af5 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -100,6 +100,7 @@
<string name="crypto_name_hint">Name</string>
<string name="crypto_pass_label">Password</string>
<string name="crypto_extra_label">Extra content</string>
+ <string name="crypto_encrypt_username_label">Encrypt username</string>
<string name="crypto_select">Select</string>
<string name="crypto_cancel">Cancel</string>
<string name="crypto_save">Save</string>
@@ -151,7 +152,7 @@
<string name="pref_file_first_sort_order">Files first</string>
<string name="pref_type_independent_sort_order">Type independent</string>
<string name="pref_autofill_title">Autofill</string>
- <string name="pref_autofill_enable_title">Enable autofill</string>
+ <string name="pref_autofill_enable_title">Enable Autofill</string>
<string name="pref_autofill_enable_msg">Tap OK to go to Accessibility settings. There, tap Password Store under Services then tap the switch in the top right to turn it on or off.</string>
<string name="pref_autofill_enable_msg2">Once the service is on, a dialog will appear when you click on a password field in an app if a matching password for the app exists.</string>
<string name="pref_autofill_enable_msg3">Password Store attempts to match apps with passwords automatically. You can change this default setting and also matching settings per-app.</string>
@@ -242,6 +243,32 @@
<string name="app_icon_hint">App icon</string>
<string name="folder_icon_hint">Folder icon</string>
+ <!-- Oreo Autofill -->
+ <string name="oreo_autofill_match_with">Match with %1$s</string>
+ <string name="oreo_autofill_matches_clear_existing">Clear existing matches</string>
+ <string name="oreo_autofill_search_in_store">Search in store…</string>
+ <string name="oreo_autofill_save_internal_error">Save failed due to an internal error</string>
+ <string name="oreo_autofill_save_app_not_supported">This app is currently not supported</string>
+ <string name="oreo_autofill_save_passwords_dont_match">Passwords don\'t match</string>
+ <string name="oreo_autofill_save_invalid_password">Couldn\'t extract password, please use a different browser for now</string>
+ <string name="oreo_autofill_generate_password">Generate password…</string>
+ <string name="oreo_autofill_publisher_changed">The app\'s publisher has changed; this may be a phishing attempt.</string>
+ <string name="oreo_autofill_max_matches_reached">Maximum number of matches (%1$d) reached; clear matches before adding new ones.</string>
+ <string name="oreo_autofill_warning_publisher_header">This app\'s publisher has changed since you first associated a Password Store entry with it:</string>
+ <string name="oreo_autofill_warning_publisher_footer"><b>The currently installed app may be trying to steal your credentials by pretending to be a trusted app.</b>\n\nTry to uninstall and reinstall the app from a trusted source, such as the Play Store, Amazon Appstore, F-Droid, or your phone manufacturer\'s store.</string>
+ <string name="oreo_autofill_warning_publisher_install_time">Installed: %1$s</string>
+ <string name="oreo_autofill_warning_publisher_advanced_info_template" translatable="false">Package:\n%1$s\n\nHash:\n%2$s</string>
+ <string name="oreo_autofill_warning_publisher_advanced_info_button">Advanced information</string>
+ <string name="oreo_autofill_warning_publisher_changed_disable_autofill_button">Keep Autofill disabled</string>
+ <string name="oreo_autofill_warning_publisher_reenable_button">Re-enable Autofill</string>
+ <string name="oreo_autofill_warning_publisher_warning_sign_description">Warning</string>
+ <string name="oreo_autofill_warning_publisher_dataset_summary">Tap for details…</string>
+ <string name="oreo_autofill_warning_publisher_dataset_title">Possible phishing attempt</string>
+ <string name="oreo_autofill_fill_and_save_support">Fill and save credentials</string>
+ <string name="oreo_autofill_fill_support">Fill credentials</string>
+ <string name="oreo_autofill_flaky_fill_support">Fill credentials (may require restarting the browser from time to time)</string>
+ <string name="oreo_autofill_no_support">No support</string>
+
<!-- Autofill -->
<string name="autofill_description">Autofills password fields in apps. Only works for Android versions 4.3 and up. Does not rely on the clipboard for Android versions 5.0 and up.</string>
<string name="autofill_apps_default">Use default setting</string>
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 4f23a285..bed9a13e 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -36,4 +36,12 @@
<item name="boxStrokeColor">?attr/colorSecondary</item>
<item name="hintTextColor">?attr/colorOnPrimary</item>
</style>
+
+ <style name="DialogLikeTheme" parent="AppTheme">
+ <item name="android:windowActionBar">false</item>
+ <item name="android:windowIsFloating">true</item>
+ <item name="android:backgroundDimEnabled">true</item>
+ <!-- Needs to be set without android: prefix as per https://stackoverflow.com/a/33417456 -->
+ <item name="windowNoTitle">true</item>
+ </style>
</resources>