mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-08-28 07:51:13 +00:00
Started working on localization 😏
This commit is contained in:
@@ -28,7 +28,6 @@ const checkAuth = async () => {
|
||||
const router = createRouter({
|
||||
history: createWebHashHistory(),
|
||||
routes: [
|
||||
|
||||
{
|
||||
name: "Index",
|
||||
path: '/',
|
||||
|
10
src/static/lang/active_languages.json
Normal file
10
src/static/lang/active_languages.json
Normal file
@@ -0,0 +1,10 @@
|
||||
[
|
||||
{
|
||||
"lang_id": "en",
|
||||
"lang_name": "English"
|
||||
},
|
||||
{
|
||||
"lang_id": "zh-cn",
|
||||
"lang_name": "Chinese (Simplified)"
|
||||
}
|
||||
]
|
8
src/static/lang/en.json
Normal file
8
src/static/lang/en.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"Index": {
|
||||
"configurationList": {
|
||||
"mainTitle": "WireGuard Configurations",
|
||||
"addConfigurationBtn": "Configuration"
|
||||
}
|
||||
}
|
||||
}
|
8
src/static/lang/zh-cn.json
Normal file
8
src/static/lang/zh-cn.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"Index": {
|
||||
"configurationList": {
|
||||
"mainTitle": "WireGuard 配置",
|
||||
"addConfigurationBtn": "配置"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user