Skip to content

Commit 3b4ae96

Browse files
improve i18n description
1 parent 039b964 commit 3b4ae96

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

apps/meteor/server/settings/message.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ export const createMessageSettings = () =>
168168
await this.add('Message_MaxAllowedSize', 5000, {
169169
type: 'int',
170170
public: true,
171+
// i18nDescription references MESSAGE_PARSE_HARD_LIMIT (20000) — update both if the constant changes
171172
i18nDescription: 'Message_MaxAllowedSize_Description',
172173
});
173174
await this.add('Message_AllowConvertLongMessagesToAttachment', true, {

packages/i18n/src/locales/en.i18n.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3517,7 +3517,7 @@
35173517
"Message_KeepHistory": "Keep Per Message Editing History",
35183518
"Message_MaxAll": "Maximum Channel Size for ALL Message",
35193519
"Message_MaxAllowedSize": "Maximum Allowed Characters Per Message",
3520-
"Message_MaxAllowedSize_Description": "Maximum number of characters allowed per message. Messages exceeding this limit will be displayed as plain text without markdown parsing.",
3520+
"Message_MaxAllowedSize_Description": "Maximum number of characters allowed per message. Messages exceeding this limit will be displayed as plain text without markdown parsing. Note: markdown rendering is always disabled above 20,000 characters, regardless of this setting.",
35213521
"Message_not_sent_try_again": "Message not sent. \nPlease try again",
35223522
"Message_QuoteChainLimit": "Maximum Number of Chained Quotes",
35233523
"Message_Read_Receipt_Enabled": "Show Read Receipts",

0 commit comments

Comments
 (0)