aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/values
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-08-01 08:39:38 +0200
committerChristian Schneppe <christian@pix-art.de>2017-08-01 08:41:51 +0200
commit3831b987f76e2b0b143b45619a455d7ec4625bcd (patch)
treed704403a136dd3f5f7c995c1bf56855255e232b1 /src/main/res/values
parent6c2479b29c93222f83a2e672531fb681143c6fd1 (diff)
use DND instead of XA when phone is silent
Diffstat (limited to 'src/main/res/values')
-rw-r--r--src/main/res/values/defaults.xml2
-rw-r--r--src/main/res/values/strings.xml6
2 files changed, 5 insertions, 3 deletions
diff --git a/src/main/res/values/defaults.xml b/src/main/res/values/defaults.xml
index 8cee33d5f..46f313da9 100644
--- a/src/main/res/values/defaults.xml
+++ b/src/main/res/values/defaults.xml
@@ -5,4 +5,6 @@
<bool name="enter_is_send">false</bool>
<bool name="notifications_from_strangers">false</bool>
<bool name="headsup_notifications">true</bool>
+ <bool name="dnd_on_silent_mode">false</bool>
+ <bool name="treat_vibrate_as_silent">false</bool>
</resources> \ No newline at end of file
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index d8ff9fa52..e2c9c5873 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -529,11 +529,11 @@
<string name="pref_presence_settings">Presence</string>
<string name="pref_away_when_screen_off">Away when screen is off</string>
<string name="pref_away_when_screen_off_summary">Marks your resource as away when the screen is turned off</string>
- <string name="pref_xa_on_silent_mode">Not available in silent mode</string>
+ <string name="pref_dnd_on_silent_mode">\"Do not disturb\" in silent mode</string>
<string name="update_info">Pix-Art Messenger is checking for an update. If an update is available you will be asked, if you want to update your version. The update process is downloading and installing the new version automatically.\n\nPlease wait…</string>
- <string name="pref_xa_on_silent_mode_summary">Marks your resource as not available when device is in silent mode</string>
+ <string name="pref_dnd_on_silent_mode_summary">Marks your resource as \"Do not disturb\" when device is in silent mode</string>
<string name="pref_treat_vibrate_as_silent">Treat vibrate as silent mode</string>
- <string name="pref_treat_vibrate_as_silent_summary">Marks your resource as not available when device is on vibrate</string>
+ <string name="pref_treat_vibrate_as_dnd_summary">Marks your resource as \"Do not disturb\" when device is on vibrate</string>
<string name="hostname_example">xmpp.pix-art.de</string>
<string name="action_add_account_with_certificate">Add account with certificate</string>
<string name="unable_to_parse_certificate">Unable to parse certificate</string>