mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2026-02-05 18:15:24 +08:00
feat: move anwser related code
This commit is contained in:
@ -5,6 +5,8 @@ import commonEn from './lang/common.en'
|
||||
import commonZh from './lang/common.zh'
|
||||
import appEn from './lang/app.en'
|
||||
import appZh from './lang/app.zh'
|
||||
import toolsEn from './lang/tools.en'
|
||||
import toolsZh from './lang/tools.zh'
|
||||
import type { Locale } from '.'
|
||||
|
||||
const resources = {
|
||||
@ -12,12 +14,16 @@ const resources = {
|
||||
translation: {
|
||||
common: commonEn,
|
||||
app: appEn,
|
||||
// tools
|
||||
tools: toolsEn,
|
||||
},
|
||||
},
|
||||
'zh-Hans': {
|
||||
translation: {
|
||||
common: commonZh,
|
||||
app: appZh,
|
||||
// tools
|
||||
tools: toolsZh,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user