From bd2edbb243e28bec52f8b4455a4680966f36f98a Mon Sep 17 00:00:00 2001 From: Erick Guan Date: Wed, 13 Mar 2019 07:22:46 +0100 Subject: [PATCH] FIX: a temporary fix when CJK user tries to add a long title (#7045) Discourse doesn't analyze the sentence components. So it counts the whole sentence as a word for CJK. https://meta.discoursecn.org/t/topic/3033 --- config/site_settings.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config/site_settings.yml b/config/site_settings.yml index dfac7fd48c..cc8a362f3d 100644 --- a/config/site_settings.yml +++ b/config/site_settings.yml @@ -691,7 +691,13 @@ posting: max_users_notified_per_group_mention: 100 newuser_max_replies_per_topic: 3 newuser_max_mentions_per_post: 2 - title_max_word_length: 30 + title_max_word_length: + default: 30 + locale_default: + ja: 50 + ko: 50 + zh_CN: 50 + zh_TW: 50 whitelisted_link_domains: default: "" type: list