Bug 2457183
Silent/vibrate

Silent/vibrate for Calendar

Change-Id: Ie3a537820ea81ba2f92987a10f67a1dfbd7d34f3
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 0275c75..fa3db8c 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -358,8 +358,10 @@
     <string name="preferences_alerts_type_dialog">Alerts &amp; notifications</string>
     <!-- DO NOT TRANSLATE -->
     <string name="preferences_alerts_type_default">1</string>
-    <!-- Settings check box label that specifies whether the phone should vibrate -->
-    <string name="preferences_alerts_vibrate_title">Vibrate</string>
+    <!-- Settings dialog label that specifies when the phone should vibrate -->
+    <string name="preferences_alerts_vibrateWhen_title">Vibrate</string>
+    <!-- Settings screen, setting summary text -->
+    <string name="preferences_alerts_vibrateWhen_summary">Also vibrate for reminders</string>
     <!-- Title of ringtone selector dialog -->
     <string name="preferences_alerts_ringtone_title">Select ringtone</string>
     <!-- List item label for setting the default number of reminder minutes -->
@@ -373,4 +375,32 @@
     <string name="preferences_about_title">About</string>
     <!-- Build version of the application -->
     <string name="preferences_build_version">Build version</string>
+
+    <!-- The vibrate notification modes -->
+    <string-array name="prefEntries_alerts_vibrateWhen">
+        <!-- Always -->
+        <item>Always</item>
+        <!-- Only when the phone is in Silent mode -->
+        <item>Only when silent</item>
+        <!-- Never -->
+        <item>Never</item>
+    </string-array>
+
+    <!-- The default vibrateWhen value, when none is set -->
+    <string translatable="false" name="prefDefault_alerts_vibrateWhen">never</string>
+    <!-- The value to use then migrating from old versions for a true vibrate setting -->
+    <string translatable="false" name="prefDefault_alerts_vibrate_true">always</string>
+    <!-- The value to use then migrating from old versions for a false vibrate setting -->
+    <string translatable="false" name="prefDefault_alerts_vibrate_false">never</string>
+
+    <!-- The vibrateWhen values -->
+    <string-array translatable="false" name="prefValues_alerts_vibrateWhen">
+        <item>always</item>
+        <item>silent</item>
+        <item>never</item>
+    </string-array>
+
+    <!-- Dialog title for the Vibrate dialog -->
+    <string name="prefDialogTitle_vibrateWhen">Vibrate</string>
+
 </resources>