fix(brand-questions): surface seed topic min length as actionable error
Reject AI seed topics shorter than 2 characters on both client and server with a dedicated invalid_seed_topic error code, and render an inline hint listing the offending terms so users know exactly what to fix. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1435,6 +1435,8 @@ const zhCN = {
|
||||
},
|
||||
errors: {
|
||||
emptyInput: "请先输入搜索词内容",
|
||||
aiSeedTopicTooShort: "{terms} 太短,请输入至少 2 个字的用户搜索词,例如“床垫推荐”或“儿童床怎么选”。",
|
||||
aiSeedTopicTooShortWithMore: "{terms} 等 {count} 个搜索词太短,请输入至少 2 个字的用户搜索词,例如“床垫推荐”或“儿童床怎么选”。",
|
||||
noSelection: "请至少选择 1 条候选",
|
||||
noValidQuestions: "没有可保存的搜索词,请调整候选后重试",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user