diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-01-29 20:06:28 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-01-29 20:06:28 +0100 |
commit | 475e29b622ef5c87e3a3b3a36020bf99958467cd (patch) | |
tree | 75a7df26cb66eaf5fd16ef4aab3eb50080975291 /src/main/res/values | |
parent | 91e6a152c066d1bcff15a9585d6830feb1a53288 (diff) |
configurable local message retention period.
Diffstat (limited to 'src/main/res/values')
-rw-r--r-- | src/main/res/values/arrays.xml | 20 | ||||
-rw-r--r-- | src/main/res/values/strings.xml | 3 |
2 files changed, 23 insertions, 0 deletions
diff --git a/src/main/res/values/arrays.xml b/src/main/res/values/arrays.xml index 821fd7068..a4b20e3ab 100644 --- a/src/main/res/values/arrays.xml +++ b/src/main/res/values/arrays.xml @@ -84,4 +84,24 @@ <item>@string/presence_dnd</item> </string-array> + <string-array name="automatic_message_deletion_values"> + <item>0</item> + <item>86400</item> + <item>604800</item> + <item>2592000</item> + <item>15811200</item> + </string-array> + + <string-array name="automatic_message_deletion"> + <item>@string/never</item> + <item>@string/timeout_24_hours</item> + <item>@string/timeout_7_days</item> + <item>@string/timeout_30_days</item> + <item>@string/timeout_6_months</item> + </string-array> + + <string name="timeout_24_hours">24 hours</string> + <string name="timeout_7_days">7 days</string> + <string name="timeout_30_days">30 days</string> + <string name="timeout_6_months">6 months</string> </resources> diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 9b40b97c3..738b2a441 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -727,4 +727,7 @@ <string name="reply">Reply</string> <string name="encrypting_message">Encrypting message</string> <string name="transcoding_video_progress">Compressing video (%s%% completed)</string> + <string name="pref_automatically_delete_messages_description">Automatically delete messages from this device that are older than the configured time frame.</string> + <string name="pref_automatically_delete_messages">Automatic message deletion</string> + <string name="not_fetching_history_retention_period">Overstepping local retention period.</string> </resources> |