Polish humanize strings for Caption preferences page

- Add intro for usage
- Update footer description on limitations
- Update the default caption size to medium
- Update the caption size and style dynamically

Bug: 218409087
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=CaptionAppearancePreferenceControllerTest

Change-Id: I6526250894cc6a3fd02e3d8c675280855b307a68
This commit is contained in:
menghanli
2022-02-10 16:36:58 +08:00
parent f8ba876fbe
commit f6040e12bc
6 changed files with 273 additions and 43 deletions

View File

@@ -816,20 +816,11 @@
<string-array name="captioning_font_size_selector_titles">
<item>Very small</item>
<item>Small</item>
<item>Default</item>
<item>Medium</item>
<item>Large</item>
<item>Very large</item>
</string-array>
<!-- Summary for Captions settings, explaining important settings under it. [CHAR LIMIT=NONE] -->
<string-array name="captioning_font_size_selector_summaries">
<item>Very small text size</item>
<item>Small text size</item>
<item>Default text size</item>
<item>Large text size</item>
<item>Very large text size</item>
</string-array>
<!-- Values for captioning font size preference. -->
<string-array name="captioning_font_size_selector_values" translatable="false" >
<item>0.25</item>

View File

@@ -5527,8 +5527,10 @@
<string name="captioning_caption_appearance_summary"><xliff:g id="accessibility_font_size" example="Large">%1$s</xliff:g> text size</string>
<!-- Title for Caption preference settings screen for configuring language. [CHAR LIMIT=NONE] -->
<string name="captioning_more_options_title">More options</string>
<!-- Used in the Captions preference to tell users that the setting doesn't support all apps. [CHAR LIMIT=NONE] -->
<string name="accessibility_caption_preference_summary">Not all apps support these caption preferences</string>
<!-- Introduction for the captions preference page. [CHAR LIMIT=NONE] -->
<string name="accessibility_caption_preference_intro">Customize caption size and style to make them easier to read</string>
<!-- Summary for the captions preference page. [CHAR LIMIT=NONE] -->
<string name="accessibility_caption_preference_summary">These caption preferences aren\u2019t supported by all media apps</string>
<!-- Summary for accessibility shortcut preference for software shortcut type. [CHAR LIMIT=NONE] -->
<string name="accessibility_shortcut_type_software">Accessibility button</string>
<!-- Summary for accessibility shortcut preference for software shortcut type when gesture mode is on. [CHAR LIMIT=NONE] -->