Merge "Polish humanize strings for magnification page"
This commit is contained in:
@@ -5254,9 +5254,11 @@
|
|||||||
<string name="accessibility_screen_magnification_short_summary">Tap 3 times to zoom</string>
|
<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 -->
|
<!-- 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>
|
<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] -->
|
<!-- Summary for the accessibility preference screen to enable screen magnification gestures. [CHAR LIMIT=none] -->
|
||||||
<string name="accessibility_screen_magnification_summary">
|
<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/>
|
<b>To zoom in:</b><br/>
|
||||||
{0,number,integer}. Use shortcut to start magnification<br/>
|
{0,number,integer}. Use shortcut to start magnification<br/>
|
||||||
{1,number,integer}. Tap the screen<br/>
|
{1,number,integer}. Tap the screen<br/>
|
||||||
@@ -5264,10 +5266,11 @@
|
|||||||
{3,number,integer}. Pinch with 2 fingers to adjust zoom<br/>
|
{3,number,integer}. Pinch with 2 fingers to adjust zoom<br/>
|
||||||
{4,number,integer}. Use shortcut to stop magnification<br/><br/>
|
{4,number,integer}. Use shortcut to stop magnification<br/><br/>
|
||||||
<b>To zoom in temporarily:</b><br/>
|
<b>To zoom in temporarily:</b><br/>
|
||||||
{0,number,integer}. Use shortcut to start magnification<br/>
|
{0,number,integer}. Make sure your magnification type is set to full screen<br/>
|
||||||
{1,number,integer}. Touch & hold anywhere on the screen<br/>
|
{1,number,integer}. Use shortcut to start magnification<br/>
|
||||||
{2,number,integer}. Drag finger to move around screen<br/>
|
{2,number,integer}. Touch & hold anywhere on the screen<br/>
|
||||||
{3,number,integer}. Lift finger to stop magnification
|
{3,number,integer}. Drag finger to move around screen<br/>
|
||||||
|
{4,number,integer}. Lift finger to stop magnification
|
||||||
]]>
|
]]>
|
||||||
</string>
|
</string>
|
||||||
<!-- Summary for the accessibility preference screen to enable screen magnification via the nav bar. [CHAR LIMIT=none] -->
|
<!-- Summary for the accessibility preference screen to enable screen magnification via the nav bar. [CHAR LIMIT=none] -->
|
||||||
|
@@ -100,7 +100,10 @@ public class MagnificationGesturesPreferenceController extends TogglePreferenceC
|
|||||||
extras.putInt(AccessibilitySettings.EXTRA_TITLE_RES,
|
extras.putInt(AccessibilitySettings.EXTRA_TITLE_RES,
|
||||||
R.string.accessibility_screen_magnification_gestures_title);
|
R.string.accessibility_screen_magnification_gestures_title);
|
||||||
|
|
||||||
String summary = context.getString(R.string.accessibility_screen_magnification_summary);
|
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};
|
final Object[] numberArguments = {1, 2, 3, 4, 5};
|
||||||
summary = MessageFormat.format(summary, numberArguments);
|
summary = MessageFormat.format(summary, numberArguments);
|
||||||
extras.putCharSequence(AccessibilitySettings.EXTRA_HTML_DESCRIPTION, summary);
|
extras.putCharSequence(AccessibilitySettings.EXTRA_HTML_DESCRIPTION, summary);
|
||||||
|
Reference in New Issue
Block a user