Merge "Polish humanize strings for one-handed mode page" into tm-dev am: c5e6cfdc17

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16932279

Change-Id: If29016634c4bc0169a92c03db5a21c334185b42f
This commit is contained in:
Menghan Li
2022-03-03 22:16:41 +00:00
committed by Automerger Merge Worker
2 changed files with 18 additions and 7 deletions

View File

@@ -11845,8 +11845,14 @@
<string name="one_handed_mode_swipe_down_category">Swipe down to</string> <string name="one_handed_mode_swipe_down_category">Swipe down to</string>
<!-- Category title for one handed use the shortcut [CHAR_LIMIT=60] --> <!-- Category title for one handed use the shortcut [CHAR_LIMIT=60] -->
<string name="one_handed_mode_use_shortcut_category">Use the shortcut to</string> <string name="one_handed_mode_use_shortcut_category">Use the shortcut to</string>
<!-- One-handed mode intro Text [CHAR_LIMIT=NONE] -->
<string name="one_handed_mode_intro_text">Pull down the top half of your screen so it\u2019s easier to reach with one hand</string>
<!-- One-handed mode Intro Text [CHAR_LIMIT=NONE] --> <!-- One-handed mode Intro Text [CHAR_LIMIT=NONE] -->
<string name="one_handed_mode_intro_text">To use one handed mode, swipe down from the bottom edge of the screen. To use this feature, make sure gesture navigation is turned on in system navigation settings.</string> <string name="one_handed_mode_footer_text">
<b>How to use one-handed mode</b>\n
• Make sure gesture navigation is selected in system navigation settings\n
• Swipe down near the bottom edge of the screen
</string>
<!-- One-handed mode pull down screen into reach action title [CHAR_LIMIT=60] --> <!-- One-handed mode pull down screen into reach action title [CHAR_LIMIT=60] -->
<string name="one_handed_action_pull_down_screen_title">Pull screen into reach</string> <string name="one_handed_action_pull_down_screen_title">Pull screen into reach</string>
<!-- One-handed mode pull down screen into reach action title [CHAR_LIMIT=NONE] --> <!-- One-handed mode pull down screen into reach action title [CHAR_LIMIT=NONE] -->

View File

@@ -22,6 +22,10 @@
android:persistent="false" android:persistent="false"
android:title="@string/one_handed_title"> android:title="@string/one_handed_title">
<com.android.settingslib.widget.TopIntroPreference
android:key="gesture_one_handed_mode_intro"
android:title="@string/one_handed_mode_intro_text"/>
<com.android.settingslib.widget.IllustrationPreference <com.android.settingslib.widget.IllustrationPreference
android:key="one_handed_header" android:key="one_handed_header"
settings:searchable="false" settings:searchable="false"
@@ -33,10 +37,6 @@
settings:keywords="@string/keywords_one_handed" settings:keywords="@string/keywords_one_handed"
settings:controller="com.android.settings.gestures.OneHandedMainSwitchPreferenceController"/> settings:controller="com.android.settings.gestures.OneHandedMainSwitchPreferenceController"/>
<com.android.settingslib.widget.TopIntroPreference
android:key="gesture_one_handed_mode_intro_text"
android:title="@string/one_handed_mode_intro_text"/>
<PreferenceCategory <PreferenceCategory
android:key="gesture_one_handed_mode_swipe_down" android:key="gesture_one_handed_mode_swipe_down"
android:title="@string/one_handed_mode_swipe_down_category" android:title="@string/one_handed_mode_swipe_down_category"
@@ -46,13 +46,18 @@
android:key="gesture_one_handed_action_pull_screen_down" android:key="gesture_one_handed_action_pull_screen_down"
android:title="@string/one_handed_action_pull_down_screen_title" android:title="@string/one_handed_action_pull_down_screen_title"
android:summary="@string/one_handed_action_pull_down_screen_summary" android:summary="@string/one_handed_action_pull_down_screen_summary"
settings:controller="com.android.settings.gestures.OneHandedActionPullDownPrefController"/> settings:controller="com.android.settings.gesture_one_handed_mode_footer_textgestures.OneHandedActionPullDownPrefController"/>
<com.android.settingslib.widget.SelectorWithWidgetPreference <com.android.settingslib.widget.SelectorWithWidgetPreference
android:key="gesture_one_handed_action_show_notification" android:key="gesture_one_handed_action_show_notification"
android:title="@string/one_handed_action_show_notification_title" android:title="@string/one_handed_action_show_notification_title"
android:summary="@string/one_handed_action_show_notification_summary" android:summary="@string/one_handed_action_show_notification_summary"
settings:controller="com.android.settings.gestures.OneHandedActionShowNotificationPrefController"/> settings:controller="com.android.settings.gestures.OneHandedActionShowNotificationPrefController"/>
</PreferenceCategory> </PreferenceCategory>
<com.android.settingslib.widget.FooterPreference
android:key="one_handed_mode_footer"
android:title="@string/one_handed_mode_footer_text"
android:selectable="false"
settings:searchable="false"/>
</PreferenceScreen> </PreferenceScreen>