feat(Agnet): support multi agents (#385)
This commit is contained in:
@@ -7,6 +7,7 @@ import enSettings from './locales/en/settings.json';
|
||||
import enDashboard from './locales/en/dashboard.json';
|
||||
import enChat from './locales/en/chat.json';
|
||||
import enChannels from './locales/en/channels.json';
|
||||
import enAgents from './locales/en/agents.json';
|
||||
import enSkills from './locales/en/skills.json';
|
||||
import enCron from './locales/en/cron.json';
|
||||
import enSetup from './locales/en/setup.json';
|
||||
@@ -17,6 +18,7 @@ import zhSettings from './locales/zh/settings.json';
|
||||
import zhDashboard from './locales/zh/dashboard.json';
|
||||
import zhChat from './locales/zh/chat.json';
|
||||
import zhChannels from './locales/zh/channels.json';
|
||||
import zhAgents from './locales/zh/agents.json';
|
||||
import zhSkills from './locales/zh/skills.json';
|
||||
import zhCron from './locales/zh/cron.json';
|
||||
import zhSetup from './locales/zh/setup.json';
|
||||
@@ -27,6 +29,7 @@ import jaSettings from './locales/ja/settings.json';
|
||||
import jaDashboard from './locales/ja/dashboard.json';
|
||||
import jaChat from './locales/ja/chat.json';
|
||||
import jaChannels from './locales/ja/channels.json';
|
||||
import jaAgents from './locales/ja/agents.json';
|
||||
import jaSkills from './locales/ja/skills.json';
|
||||
import jaCron from './locales/ja/cron.json';
|
||||
import jaSetup from './locales/ja/setup.json';
|
||||
@@ -46,6 +49,7 @@ const resources = {
|
||||
dashboard: enDashboard,
|
||||
chat: enChat,
|
||||
channels: enChannels,
|
||||
agents: enAgents,
|
||||
skills: enSkills,
|
||||
cron: enCron,
|
||||
setup: enSetup,
|
||||
@@ -56,6 +60,7 @@ const resources = {
|
||||
dashboard: zhDashboard,
|
||||
chat: zhChat,
|
||||
channels: zhChannels,
|
||||
agents: zhAgents,
|
||||
skills: zhSkills,
|
||||
cron: zhCron,
|
||||
setup: zhSetup,
|
||||
@@ -66,6 +71,7 @@ const resources = {
|
||||
dashboard: jaDashboard,
|
||||
chat: jaChat,
|
||||
channels: jaChannels,
|
||||
agents: jaAgents,
|
||||
skills: jaSkills,
|
||||
cron: jaCron,
|
||||
setup: jaSetup,
|
||||
@@ -79,7 +85,7 @@ i18n
|
||||
lng: 'en', // will be overridden by settings store
|
||||
fallbackLng: 'en',
|
||||
defaultNS: 'common',
|
||||
ns: ['common', 'settings', 'dashboard', 'chat', 'channels', 'skills', 'cron', 'setup'],
|
||||
ns: ['common', 'settings', 'dashboard', 'chat', 'channels', 'agents', 'skills', 'cron', 'setup'],
|
||||
interpolation: {
|
||||
escapeValue: false, // React already escapes
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user