Update strings again for refreshed High Contrast Text
Deletes the old string resource and uses a new resource because the old translated strings do not have formatting placeholders. Eventually the old translated strings will be automatically deleted and the new string with placeholder will be translated. Also uses placeholders for referencing other strings so that we guarantee that the strings are consistent across this notification and the actual preference in Settings. Bug: 384791485 Test: see bug screenshots Flag: com.android.graphics.hwui.flags.high_contrast_text_small_text_rect Change-Id: I89a9ee4b3755b20f4e090df5b4cccb7ce47a961c
This commit is contained in:
@@ -5504,13 +5504,13 @@
|
||||
<!-- Summary for the accessibility preference to high contrast text. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_toggle_high_text_contrast_preference_summary">Change text color to black or white. Maximizes contrast with the background.</string>
|
||||
<!-- Title for the notification that high contrast text has been replaced. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_notification_high_contrast_text_title">High contrast text has been replaced</string>
|
||||
<string name="accessibility_notification_high_contrast_text_title">Improve text contrast</string>
|
||||
<!-- Text content for the notification that high contrast text has been replaced. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_notification_high_contrast_text_content">Try Text outlines instead. Find it in Settings.</string>
|
||||
<string name="accessibility_notification_high_contrast_text_body"><xliff:g example="Outline text" id="outline_text">%1$s</xliff:g> has replaced <xliff:g example="high contrast text" id="high_contrast_text">%2$s</xliff:g>. You can turn it on in <xliff:g example="Settings" id="settings">%3$s</xliff:g>.</string>
|
||||
<!-- Action for the notification to high contrast text. [CHAR LIMIT=35] -->
|
||||
<string name="accessibility_notification_high_contrast_text_action">Open Settings</string>
|
||||
<string name="accessibility_notification_high_contrast_text_action">Go to <xliff:g example="Settings" id="settings">%1$s</xliff:g></string>
|
||||
<!-- Title for the accessibility preference that adds an outline behind text to increase contrast and legibility. [CHAR LIMIT=35] -->
|
||||
<string name="accessibility_toggle_maximize_text_contrast_preference_title">Text outlines</string>
|
||||
<string name="accessibility_toggle_maximize_text_contrast_preference_title">Outline text</string>
|
||||
<!-- Summary for the accessibility preference to high contrast text. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_toggle_maximize_text_contrast_preference_summary">Add a black or white background around text to increase contrast</string>
|
||||
<!-- Title for the accessibility preference to auto update screen magnification. [CHAR LIMIT=35] -->
|
||||
|
||||
Reference in New Issue
Block a user