fix(i18n): fix vue-i18n placeholder escaping, computed ref accessor, and missing ru-RU keys
- Escape literal {{ and }} in locale strings using vue-i18n's {'{{'}
syntax to prevent "Not allowed nest placeholder" compilation errors
(ko-KR: 10, en-US: 10, ru-RU: 2, zh-CN: 1)
- Add missing .value accessor on allTools computed ref in
AgentEditorModal, fixing "allTools.map is not a function" error
- Add missing menu.agents and menu.organizations keys to ru-RU locale
All issues are follow-ups from #724 (frontend i18n).
This commit is contained in:
@@ -1168,7 +1168,7 @@ const hasFaqKnowledgeBase = computed(() => {
|
||||
});
|
||||
|
||||
const availableTools = computed(() => {
|
||||
return allTools.map(tool => ({
|
||||
return allTools.value.map(tool => ({
|
||||
...tool,
|
||||
disabled: tool.requiresKB && !hasKnowledgeBase.value
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user