summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/spam/res
diff options
context:
space:
mode:
authorwangqi <wangqi@google.com>2018-02-02 16:16:04 -0800
committerCopybara-Service <copybara-piper@google.com>2018-02-02 17:29:17 -0800
commit64f9ed258a852781422c7d70eaeaf1a37cde51a7 (patch)
treea7b6477e9ebe319d5a2164f30f124b0e52efd3c8 /java/com/android/incallui/spam/res
parent47238a1eb5f05142647ddc2ec3419eada531914b (diff)
Update text on after call spam notification and dialog.
This change also includes: 1. Fixes formatting of phone number in the dialog. 2. Remove body text if the dialog. 3. Update to material design dialog style. Bug: 72120616 Test: manual PiperOrigin-RevId: 184350133 Change-Id: I8bdd9c792877822fe18ba6aae6c04136a603dbba
Diffstat (limited to 'java/com/android/incallui/spam/res')
-rw-r--r--java/com/android/incallui/spam/res/values/strings.xml16
1 files changed, 6 insertions, 10 deletions
diff --git a/java/com/android/incallui/spam/res/values/strings.xml b/java/com/android/incallui/spam/res/values/strings.xml
index a07057db9..3248c69ac 100644
--- a/java/com/android/incallui/spam/res/values/strings.xml
+++ b/java/com/android/incallui/spam/res/values/strings.xml
@@ -20,7 +20,7 @@
<!-- Title for the notification to the user after a call from an unknown number ends. [CHAR LIMIT=100] -->
<string name="non_spam_notification_title">Know <xliff:g id="number">%1$s</xliff:g>?</string>
<!-- Title for the notification to the user after a call from an spammer ends. [CHAR LIMIT=100] -->
- <string name="spam_notification_title">Is <xliff:g id="number">%1$s</xliff:g> spam?</string>
+ <string name="spam_notification_title">Was <xliff:g id="number">%1$s</xliff:g> a spam call?</string>
<!-- Text for the toast shown after the user presses block/report spam. [CHAR LIMIT=100] -->
<string name="spam_notification_block_report_toast_text"><xliff:g id="number">%1$s</xliff:g> blocked and call was reported as spam.</string>
<!-- Text for the toast shown after the user presses not spam. [CHAR LIMIT=100] -->
@@ -30,23 +30,19 @@
<!-- Text displayed in the expanded notification to the user after a non-spam call ends. [CHAR LIMIT=NONE] -->
<string name="spam_notification_non_spam_call_expanded_text">This is the first time this number called you. If this call was spam, you can block this number and report it.</string>
<!-- Text displayed in the collapsed notification to the user after a spam call ends. [CHAR LIMIT=100] -->
- <string name="spam_notification_spam_call_collapsed_text">Tap to report as NOT SPAM, or block it.</string>
- <!-- Text displayed in the expanded notification to the user after a spam call ends. [CHAR LIMIT=NONE] -->
- <string name="spam_notification_spam_call_expanded_text">We suspected this to be a spammer. If this call wasn\'t spam, tap "NOT SPAM" to report our mistake.</string>
+ <string name="spam_notification_spam_call_collapsed_text">Tap to report as not spam or block it</string>
<!-- Text for the reporting spam action in the after call prompt. [CHAR LIMIT=20] -->
<string name="spam_notification_report_spam_action_text">Block &amp; report</string>
<!-- Text for the adding to contacts action in the after call prompt. [CHAR LIMIT=20] -->
<string name="spam_notification_add_contact_action_text">Add contact</string>
- <!-- Text for the reporting as not spam action in the after call prompt. [CHAR LIMIT=20] -->
- <string name="spam_notification_not_spam_action_text">Not spam</string>
- <!-- Text for the blocking spam action in the after call prompt. [CHAR LIMIT=20] -->
- <string name="spam_notification_block_spam_action_text">Block number</string>
<!-- Text for the adding to contacts action in the after call dialog. [CHAR LIMIT=40] -->
<string name="spam_notification_dialog_add_contact_action_text">Add to contacts</string>
<!-- Text for the blocking and reporting spam action in the after call dialog. [CHAR LIMIT=40] -->
<string name="spam_notification_dialog_block_report_spam_action_text">Block &amp; report spam</string>
- <!-- Text for the marking a call as not spam in the after call dialog. [CHAR LIMIT=40] -->
- <string name="spam_notification_dialog_was_not_spam_action_text">Not spam</string>
+ <!-- Text for the marking a call as not spam in the after call prompt. [CHAR LIMIT=40] -->
+ <string name="spam_notification_was_not_spam_action_text">No, not spam</string>
+ <!-- Text for the blocking spam action in the after call prompt. [CHAR LIMIT=40] -->
+ <string name="spam_notification_block_spam_action_text">Yes, block number</string>
<!-- Label for "Dismiss" dialog action. [CHAR LIMIT=12] -->
<string name="spam_notification_action_dismiss">Dismiss</string>