Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 093a24c3 authored by Menghan Li's avatar Menghan Li Committed by Android (Google) Code Review
Browse files

Merge "Polish humanize strings for magnification page"

parents df13fb1d 0a85c12f
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -5254,9 +5254,11 @@
    <string name="accessibility_screen_magnification_short_summary">Tap 3 times to zoom</string>
    <!-- Short summary for nav bar Magnification. Tells the user that this feature allows the user to magnify the screen using a button in the nav bar -->
    <string name="accessibility_screen_magnification_navbar_short_summary">Tap a button to zoom</string>
    <!-- Intro for the accessibility preference screen to enable screen magnification gestures. [CHAR LIMIT=none] -->
    <string name="accessibility_screen_magnification_intro_text">Quickly zoom in on the screen to make content larger</string>
    <!-- Summary for the accessibility preference screen to enable screen magnification gestures. [CHAR LIMIT=none] -->
    <string name="accessibility_screen_magnification_summary">
        <![CDATA[Quickly zoom in on the screen to make content larger.<br/><br/>
        <![CDATA[
        <b>To zoom in:</b><br/>
        {0,number,integer}. Use shortcut to start magnification<br/>
        {1,number,integer}. Tap the screen<br/>
@@ -5264,10 +5266,11 @@
        {3,number,integer}. Pinch with 2 fingers to adjust zoom<br/>
        {4,number,integer}. Use shortcut to stop magnification<br/><br/>
        <b>To zoom in temporarily:</b><br/>
        {0,number,integer}. Use shortcut to start magnification<br/>
        {1,number,integer}. Touch & hold anywhere on the screen<br/>
        {2,number,integer}. Drag finger to move around screen<br/>
        {3,number,integer}. Lift finger to stop magnification
        {0,number,integer}. Make sure your magnification type is set to full screen<br/>
        {1,number,integer}. Use shortcut to start magnification<br/>
        {2,number,integer}. Touch & hold anywhere on the screen<br/>
        {3,number,integer}. Drag finger to move around screen<br/>
        {4,number,integer}. Lift finger to stop magnification
        ]]>
    </string>
    <!-- Summary for the accessibility preference screen to enable screen magnification via the nav bar. [CHAR LIMIT=none] -->
+4 −1
Original line number Diff line number Diff line
@@ -100,6 +100,9 @@ public class MagnificationGesturesPreferenceController extends TogglePreferenceC
        extras.putInt(AccessibilitySettings.EXTRA_TITLE_RES,
                R.string.accessibility_screen_magnification_gestures_title);

        String intro = context.getString(R.string.accessibility_screen_magnification_intro_text);
        extras.putCharSequence(AccessibilitySettings.EXTRA_INTRO, intro);

        String summary = context.getString(R.string.accessibility_screen_magnification_summary);
        final Object[] numberArguments = {1, 2, 3, 4, 5};
        summary = MessageFormat.format(summary, numberArguments);