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

Commit 0a85c12f authored by menghanli's avatar menghanli
Browse files

Polish humanize strings for magnification page

- Add intro for purpose or behavior
- Update footer description on usage, availability, or limitations

Bug: 218409016
Test: Manual testing
Change-Id: I1259fc330caab304cc4ec22778e6a3e3ae13f269
parent c0f70d6f
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -5246,9 +5246,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/>
@@ -5256,10 +5258,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);