Create separate On/Off string resources for Vibration & haptics
Some translators need to be able to adapt the text for On/Off preference state to match the preference title "Vibration & haptics", which requires a different inflection and plural form on some languages. This change separates this resource string from the more generic one that was used before to allow this flexible translation. Fix: 228342641 Fix: 229060423 Test: VibrationPreferenceControllerTest Change-Id: Ib46b3e0d0a980ff57e91f55c73348c440327bad7
This commit is contained in:
@@ -5575,6 +5575,10 @@
|
||||
<string name="accessibility_vibration_settings_title">Vibration & haptics</string>
|
||||
<!-- Summary for preference screen for configuring vibrations. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_vibration_settings_summary">Control the vibration strength for different usages</string>
|
||||
<!-- "Vibration & haptics" preference's state when enabled. This text is shown next to the "Vibration & haptics" preference title. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_vibration_settings_state_on">On</string>
|
||||
<!-- "Vibration & haptics" preference's state when disabled. This text is shown next to the "Vibration & haptics" preference title. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_vibration_settings_state_off">Off</string>
|
||||
<!-- Summary for vibration preference shown when it is disabled because the device is in silent mode. [CHAR LIMIT=NONE] -->
|
||||
<string name="accessibility_vibration_setting_disabled_for_silent_mode_summary">Setting disabled because device is set to silent</string>
|
||||
<!-- Title for the category of preferences to configure device vibrations related to calls. [CHAR LIMIT=NONE] -->
|
||||
|
||||
Reference in New Issue
Block a user