settings: Clarify message-delete-time-limit setting rule.

This commit adds note to the message-delete-time-limit
setting label that the time limit does not apply to
administrators.
This commit is contained in:
Sahil Batra 2022-12-31 20:24:01 +05:30 committed by Tim Abbott
parent 2fcaf88305
commit 34fa712220
2 changed files with 3 additions and 1 deletions

View File

@ -263,7 +263,7 @@
<div class="input-group time-limit-setting">
<label for="realm_message_content_delete_limit_seconds" class="dropdown-title">
{{t "Time limit for deleting messages" }}
{{t "Time limit for deleting messages" }} <i>({{t "does not apply to administrators" }})</i>
</label>
<select name="realm_message_content_delete_limit_seconds" id="id_realm_message_content_delete_limit_seconds" class="prop-element bootstrap-focus-style" data-setting-widget-type="time-limit">
{{#each msg_delete_limit_dropdown_values}}

View File

@ -127,6 +127,8 @@ IGNORED_PHRASES = [
r"they/them",
# Used in message-move-time-limit setting label
r"does not apply to moderators and administrators",
# Used in message-delete-time-limit setting label
r"does not apply to administrators",
]
# Sort regexes in descending order of their lengths. As a result, the