diff options
author | mdooley <mdooley@google.com> | 2018-02-06 14:55:10 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-02-06 17:33:51 -0800 |
commit | c1fb21775fbaa33785d4e9abb46d34dce7e7b5f3 (patch) | |
tree | d16403e71b291be7027258f023b0cf946e1396b7 /java/com/android/dialer/app/res/values/strings.xml | |
parent | 3b42bce613b3c57ad5e4a85fdd713553c7ed56eb (diff) |
Adding voicemail donation promo
This cl shows a voicemail donation promo the first time a user
tries to rate a transcription. It also changes the good/bad rating links
to thumbs up/down icons.
The 'learn more' link still needs the real URL.
screen shots:
https://drive.google.com/open?id=0B9o_KvtLkcuIOERUNUJId3FVY3UzUS0wVUdQQVpCS1lmM3Nz
https://drive.google.com/open?id=0B9o_KvtLkcuIWkNVMDV1VTJ4VUMtakVwSE1UTGdUWjljTUV3
https://drive.google.com/open?id=0B9o_KvtLkcuIeU1ndG1palRkTnNJQWVYLXgyMnd4TjBDOFI4
mocks:
https://drive.google.com/file/d/1FIhXDkn3h3xI7liVdJEraq47MoKQM3hi/view
https://drive.google.com/file/d/1uTm58QCvFOBycsGP21vgvEGTq_Imgkqi/view
Bug: 37340510
Test: manual tests
PiperOrigin-RevId: 184745497
Change-Id: I40fd1e211311c3127f215ede2e44b22f345dcf8b
Diffstat (limited to 'java/com/android/dialer/app/res/values/strings.xml')
-rw-r--r-- | java/com/android/dialer/app/res/values/strings.xml | 57 |
1 files changed, 31 insertions, 26 deletions
diff --git a/java/com/android/dialer/app/res/values/strings.xml b/java/com/android/dialer/app/res/values/strings.xml index d4f3f8180..2d5542bbf 100644 --- a/java/com/android/dialer/app/res/values/strings.xml +++ b/java/com/android/dialer/app/res/values/strings.xml @@ -675,33 +675,38 @@ [CHAR LIMIT=64] --> <string name="voicemail_transcription_failed_no_speech">Transcript not available. No speech detected.</string> - <!-- Prompt asking the user to rate the quality of the voicemail transcription [CHAR LIMIT=30] - voicemail_transcription_rating, voicemail_transcription_rating_good, - voicemail_transcription_rating_separator and voicemail_transcription_rating_bad are - used together to form the rating prompt: 'Rate transcription quality Good or Bad' - where 'Good' and 'Bad' are clickable links. --> - <string name="voicemail_transcription_rating">Rate transcription quality</string> + <!-- Title of voicemail donation promo dialog, show after clicking a 'thumbs up' rating icon + [CHAR LIMIT=64] --> + <string name="voicemail_donation_promo_good_title">Thanks! Would you like to help us improve transcriptions?</string> + + <!-- Title of voicemail donation promo dialog, show after clicking a 'thumbs up' rating icon + [CHAR LIMIT=64] --> + <string name="voicemail_donation_promo_bad_title">Sorry. Would you like to help us improve transcriptions?</string> + + <!-- Content of voicemail donation promo dialog + [CHAR LIMIT=NONE] --> + <string name="voicemail_donation_promo_content"> + Let Google review your voicemail messages to improve transcription quality. Your + voicemail messages will not be tied to your Google Account. + </string> - <!-- Rating choice indicating that the voicemail transcription was good [CHAR LIMIT=10] - voicemail_transcription_rating, voicemail_transcription_rating_good, - voicemail_transcription_rating_separator and voicemail_transcription_rating_bad are - used together to form the rating prompt: 'Rate transcription quality Good or Bad' - where 'Good' and 'Bad' are clickable links. --> - <string name="voicemail_transcription_rating_good">Good</string> - - <!-- Rating choice indicating that the voicemail transcription was bad [CHAR LIMIT=10] - voicemail_transcription_rating, voicemail_transcription_rating_good, - voicemail_transcription_rating_separator and voicemail_transcription_rating_bad are - used together to form the rating prompt: 'Rate transcription quality Good or Bad' - where 'Good' and 'Bad' are clickable links. --> - <string name="voicemail_transcription_rating_bad">Bad</string> - - <!-- Separator between the good and bad transcription rating choices [CHAR LIMIT=10] - voicemail_transcription_rating, voicemail_transcription_rating_good, - voicemail_transcription_rating_separator and voicemail_transcription_rating_bad are - used together to form the rating prompt: 'Rate transcription quality Good or Bad' - where 'Good' and 'Bad' are clickable links. --> - <string name="voicemail_transcription_rating_separator"> or </string> + <!-- Text for a 'learn more' link at the end of the voicemail donation promo dialog content --> + <string name="voicemail_donation_promo_learn_more">Learn more</string> + + <!-- TODO(mdooley): get real url --> + <string translatable="false" name="voicemail_donation_promo_learn_more_url">https:www.google.com</string> + + <!-- Label for the voicemail donation promo dialog opt-in button + [CHAR LIMIT=20] --> + <string name="voicemail_donation_promo_opt_in">Yes, I\'m in</string> + + <!-- Label for the voicemail donation promo dialog opt-out button + [CHAR LIMIT=20] --> + <string name="voicemail_donation_promo_opt_out">No thanks</string> + + <!-- Prompt asking the user to rate the quality of the voicemail transcription + [CHAR LIMIT=30] --> + <string name="voicemail_transcription_rating">Rate transcription quality</string> <!-- Message displayed after user has rated a voicemail transcription [CHAR LIMIT=30] --> <string name="voicemail_transcription_rating_thanks">Thanks for your feedback</string> |