Commit d48d4e57 authored by Zentaro Kavanagh's avatar Zentaro Kavanagh Committed by Commit Bot

Pointers page: Update strings for pointer acceleration

- Add final strings for mouse and touchpad acceleration

BUG=chromium:589190
TEST=visual confirmation

Change-Id: I009ad45a802e3717a0cf4c6ddc151b4191732f85
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1831452Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
Commit-Queue: Zentaro Kavanagh <zentaro@chromium.org>
Cr-Commit-Position: refs/heads/master@{#701667}
parent 87b38b5f
...@@ -4514,8 +4514,11 @@ ...@@ -4514,8 +4514,11 @@
<message name="IDS_SETTINGS_MOUSE_REVERSE_SCROLL_LABEL" desc="In Device Settings, the text next to the checkbox to set reverse scrolling."> <message name="IDS_SETTINGS_MOUSE_REVERSE_SCROLL_LABEL" desc="In Device Settings, the text next to the checkbox to set reverse scrolling.">
Reverse scrolling Reverse scrolling
</message> </message>
<message name="IDS_SETTINGS_POINTER_ACCELERATION_LABEL" desc="In Device Settings, the text next to the checkbox to disable mouse or touchpad acceleration."> <message name="IDS_SETTINGS_MOUSE_ACCELERATION_LABEL" desc="In Device Settings, the text next to the checkbox to disable mouse acceleration.">
Pointer acceleration Enable mouse acceleration
</message>
<message name="IDS_SETTINGS_TOUCHPAD_ACCELERATION_LABEL" desc="In Device Settings, the text next to the checkbox to disable touchpad acceleration.">
Enable touchpad acceleration
</message> </message>
<!-- Keyboard --> <!-- Keyboard -->
<message name="IDS_SETTINGS_KEYBOARD_KEY_SEARCH" desc="In Device Settings, the label and dropdown list item for the Search key."> <message name="IDS_SETTINGS_KEYBOARD_KEY_SEARCH" desc="In Device Settings, the label and dropdown list item for the Search key.">
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<template is="dom-if" if="[[allowDisableAcceleration_]]"> <template is="dom-if" if="[[allowDisableAcceleration_]]">
<settings-toggle-button id="mouseAcceleration" <settings-toggle-button id="mouseAcceleration"
pref="{{prefs.settings.mouse.acceleration}}" pref="{{prefs.settings.mouse.acceleration}}"
label="$i18n{pointerAccelerationLabel}"> label="$i18n{mouseAccelerationLabel}">
</settings-toggle-button> </settings-toggle-button>
</template> </template>
<div class="settings-box"> <div class="settings-box">
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<template is="dom-if" if="[[allowDisableAcceleration_]]"> <template is="dom-if" if="[[allowDisableAcceleration_]]">
<settings-toggle-button id="touchpadAcceleration" <settings-toggle-button id="touchpadAcceleration"
pref="{{prefs.settings.touchpad.acceleration}}" pref="{{prefs.settings.touchpad.acceleration}}"
label="$i18n{pointerAccelerationLabel}"> label="$i18n{touchpadAccelerationLabel}">
</settings-toggle-button> </settings-toggle-button>
</template> </template>
<div class="settings-box"> <div class="settings-box">
......
...@@ -890,7 +890,8 @@ void AddDeviceStrings(content::WebUIDataSource* html_source) { ...@@ -890,7 +890,8 @@ void AddDeviceStrings(content::WebUIDataSource* html_source) {
{"mouseSpeed", IDS_SETTINGS_MOUSE_SPEED_LABEL}, {"mouseSpeed", IDS_SETTINGS_MOUSE_SPEED_LABEL},
{"mouseSwapButtons", IDS_SETTINGS_MOUSE_SWAP_BUTTONS_LABEL}, {"mouseSwapButtons", IDS_SETTINGS_MOUSE_SWAP_BUTTONS_LABEL},
{"mouseReverseScroll", IDS_SETTINGS_MOUSE_REVERSE_SCROLL_LABEL}, {"mouseReverseScroll", IDS_SETTINGS_MOUSE_REVERSE_SCROLL_LABEL},
{"pointerAccelerationLabel", IDS_SETTINGS_POINTER_ACCELERATION_LABEL}, {"mouseAccelerationLabel", IDS_SETTINGS_MOUSE_ACCELERATION_LABEL},
{"touchpadAccelerationLabel", IDS_SETTINGS_TOUCHPAD_ACCELERATION_LABEL},
}; };
AddLocalizedStringsBulk(html_source, kPointersStrings, AddLocalizedStringsBulk(html_source, kPointersStrings,
base::size(kPointersStrings)); base::size(kPointersStrings));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment