mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: better labels in ACP chat settings, #11983
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"zero-is-disabled": "Enter 0 to disable this restriction",
|
||||
"chat-settings": "Chat Settings",
|
||||
"disable": "Disable chat",
|
||||
"disable-editing": "Disable chat message editing/deletion",
|
||||
@@ -7,7 +8,8 @@
|
||||
"max-chat-room-name-length": "Maximum length of chat room names",
|
||||
"max-room-size": "Maximum number of users in chat rooms",
|
||||
"delay": "Time between chat messages in milliseconds",
|
||||
"notification-delay": "Notification delay for chat messages. (0 for no delay)",
|
||||
"restrictions.seconds-edit-after": "Number of seconds a chat message will remain editable. (0 disabled)",
|
||||
"restrictions.seconds-delete-after": "Number of seconds a chat message will remain deletable. (0 disabled)"
|
||||
"notification-delay": "Notification delay for chat messages",
|
||||
"notification-delay-help": "Additional messages sent between this time are collated, and the user is notified once per delay period. Set this to 0 to disable the delay.",
|
||||
"restrictions.seconds-edit-after": "Number of seconds a chat message will remain editable.",
|
||||
"restrictions.seconds-delete-after": "Number of seconds a chat message will remain deletable."
|
||||
}
|
||||
@@ -24,16 +24,19 @@
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="chatEditDuration">[[admin/settings/chat:restrictions.seconds-edit-after]]</label>
|
||||
<input id="chatEditDuration" type="text" class="form-control" value="0" data-field="chatEditDuration">
|
||||
<p class="form-text">[[admin/settings/chat:zero-is-disabled]]</p>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="chatDeleteDuration">[[admin/settings/chat:restrictions.seconds-delete-after]]</label>
|
||||
<input id="chatDeleteDuration" type="text" class="form-control" value="0" data-field="chatDeleteDuration">
|
||||
<p class="form-text">[[admin/settings/chat:zero-is-disabled]]</p>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="maximumChatRoomNameLength">[[admin/settings/chat:max-chat-room-name-length]]</label>
|
||||
<input id="maximumChatRoomNameLength" type="text" class="form-control" value="50" data-field="maximumChatRoomNameLength">
|
||||
<p class="form-text">[[admin/settings/chat:zero-is-disabled]]</p>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
@@ -55,6 +58,7 @@
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="notificationSendDelay">[[admin/settings/chat:notification-delay]]</label>
|
||||
<input id="notificationSendDelay" type="text" class="form-control" value="60" data-field="notificationSendDelay">
|
||||
<p class="form-text">[[admin/settings/chat:notification-delay-help]]</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user