From 645b7c247d3ca060b060645e532b9f2e01fa5601 Mon Sep 17 00:00:00 2001 From: Will Miao Date: Sat, 15 Nov 2025 22:22:42 +0800 Subject: [PATCH] feat(i18n): increase trigger word length limit from 30 to 100 words Update trigger word validation message across all language files to reflect increased character limit. The change allows users to create longer trigger words, providing more flexibility in trigger word creation while maintaining the existing maximum count of 30 trigger words. --- locales/de.json | 2 +- locales/en.json | 2 +- locales/es.json | 2 +- locales/fr.json | 2 +- locales/he.json | 2 +- locales/ja.json | 2 +- locales/ko.json | 2 +- locales/ru.json | 2 +- locales/zh-CN.json | 2 +- locales/zh-TW.json | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/locales/de.json b/locales/de.json index e2b0bcf5..a35c06e8 100644 --- a/locales/de.json +++ b/locales/de.json @@ -1319,7 +1319,7 @@ }, "triggerWords": { "loadFailed": "Konnte trainierte Wörter nicht laden", - "tooLong": "Trigger Word sollte 30 Wörter nicht überschreiten", + "tooLong": "Trigger Word sollte 100 Wörter nicht überschreiten", "tooMany": "Maximal 30 Trigger Words erlaubt", "alreadyExists": "Dieses Trigger Word existiert bereits", "updateSuccess": "Trigger Words erfolgreich aktualisiert", diff --git a/locales/en.json b/locales/en.json index 5298e2e8..95be0d09 100644 --- a/locales/en.json +++ b/locales/en.json @@ -1318,7 +1318,7 @@ }, "triggerWords": { "loadFailed": "Could not load trained words", - "tooLong": "Trigger word should not exceed 30 words", + "tooLong": "Trigger word should not exceed 100 words", "tooMany": "Maximum 30 trigger words allowed", "alreadyExists": "This trigger word already exists", "updateSuccess": "Trigger words updated successfully", diff --git a/locales/es.json b/locales/es.json index 9387ff48..9596613e 100644 --- a/locales/es.json +++ b/locales/es.json @@ -1318,7 +1318,7 @@ }, "triggerWords": { "loadFailed": "No se pudieron cargar palabras entrenadas", - "tooLong": "La palabra clave no debe exceder 30 palabras", + "tooLong": "La palabra clave no debe exceder 100 palabras", "tooMany": "Máximo 30 palabras clave permitidas", "alreadyExists": "Esta palabra clave ya existe", "updateSuccess": "Palabras clave actualizadas exitosamente", diff --git a/locales/fr.json b/locales/fr.json index d8448828..5d0d35a2 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -1318,7 +1318,7 @@ }, "triggerWords": { "loadFailed": "Impossible de charger les mots entraînés", - "tooLong": "Le mot-clé ne doit pas dépasser 30 mots", + "tooLong": "Le mot-clé ne doit pas dépasser 100 mots", "tooMany": "Maximum 30 mots-clés autorisés", "alreadyExists": "Ce mot-clé existe déjà", "updateSuccess": "Mots-clés mis à jour avec succès", diff --git a/locales/he.json b/locales/he.json index 9afc8b76..03ad7a2d 100644 --- a/locales/he.json +++ b/locales/he.json @@ -1318,7 +1318,7 @@ }, "triggerWords": { "loadFailed": "לא ניתן היה לטעון מילים מאומנות", - "tooLong": "מילת טריגר לא תעלה על 30 מילים", + "tooLong": "מילת טריגר לא תעלה על 100 מילים", "tooMany": "מותרות עד 30 מילות טריגר", "alreadyExists": "מילת טריגר זו כבר קיימת", "updateSuccess": "מילות הטריגר עודכנו בהצלחה", diff --git a/locales/ja.json b/locales/ja.json index d2fdc676..c8fbcc68 100644 --- a/locales/ja.json +++ b/locales/ja.json @@ -1318,7 +1318,7 @@ }, "triggerWords": { "loadFailed": "学習済みワードを読み込めませんでした", - "tooLong": "トリガーワードは30ワードを超えてはいけません", + "tooLong": "トリガーワードは100ワードを超えてはいけません", "tooMany": "最大30トリガーワードまで許可されています", "alreadyExists": "このトリガーワードは既に存在します", "updateSuccess": "トリガーワードが正常に更新されました", diff --git a/locales/ko.json b/locales/ko.json index 0fa01db3..06195f3f 100644 --- a/locales/ko.json +++ b/locales/ko.json @@ -1318,7 +1318,7 @@ }, "triggerWords": { "loadFailed": "학습된 단어를 로딩할 수 없습니다", - "tooLong": "트리거 단어는 30단어를 초과할 수 없습니다", + "tooLong": "트리거 단어는 100단어를 초과할 수 없습니다", "tooMany": "최대 30개의 트리거 단어만 허용됩니다", "alreadyExists": "이 트리거 단어는 이미 존재합니다", "updateSuccess": "트리거 단어가 성공적으로 업데이트되었습니다", diff --git a/locales/ru.json b/locales/ru.json index 6e6e2615..c4186b78 100644 --- a/locales/ru.json +++ b/locales/ru.json @@ -1318,7 +1318,7 @@ }, "triggerWords": { "loadFailed": "Не удалось загрузить обученные слова", - "tooLong": "Триггерное слово не должно превышать 30 слов", + "tooLong": "Триггерное слово не должно превышать 100 слов", "tooMany": "Максимум 30 триггерных слов разрешено", "alreadyExists": "Это триггерное слово уже существует", "updateSuccess": "Триггерные слова успешно обновлены", diff --git a/locales/zh-CN.json b/locales/zh-CN.json index 29e56f35..8799c757 100644 --- a/locales/zh-CN.json +++ b/locales/zh-CN.json @@ -1318,7 +1318,7 @@ }, "triggerWords": { "loadFailed": "无法加载训练词", - "tooLong": "触发词不能超过30个词", + "tooLong": "触发词不能超过100个词", "tooMany": "最多允许30个触发词", "alreadyExists": "该触发词已存在", "updateSuccess": "触发词更新成功", diff --git a/locales/zh-TW.json b/locales/zh-TW.json index cc0b67a7..14240a30 100644 --- a/locales/zh-TW.json +++ b/locales/zh-TW.json @@ -1318,7 +1318,7 @@ }, "triggerWords": { "loadFailed": "無法載入訓練詞", - "tooLong": "觸發詞不可超過 30 個字", + "tooLong": "觸發詞不可超過 100 個字", "tooMany": "最多允許 30 個觸發詞", "alreadyExists": "此觸發詞已存在", "updateSuccess": "觸發詞已更新",