Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
njgzx
dataease
Commits
d1d95966
提交
d1d95966
authored
5月 19, 2021
作者:
taojinlong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 国际化
上级
14a5d7f6
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
61 行增加
和
22 行删除
+61
-22
messages_en_US.properties
backend/src/main/resources/i18n/messages_en_US.properties
+9
-9
messages_zh_CN.properties
backend/src/main/resources/i18n/messages_zh_CN.properties
+1
-1
messages_zh_TW.properties
backend/src/main/resources/i18n/messages_zh_TW.properties
+1
-1
en.js
frontend/src/lang/en.js
+13
-0
tw.js
frontend/src/lang/tw.js
+13
-0
zh.js
frontend/src/lang/zh.js
+13
-0
index.vue
frontend/src/views/system/about/index.vue
+11
-11
没有找到文件。
backend/src/main/resources/i18n/messages_en_US.properties
浏览文件 @
d1d95966
...
@@ -198,30 +198,30 @@ authsource_configuration_is_null=Authentication source configuration cannot be e
...
@@ -198,30 +198,30 @@ authsource_configuration_is_null=Authentication source configuration cannot be e
删除菜单=Delete
Menu
删除菜单=Delete
Menu
删除角色=Delete
Role
删除角色=Delete
Role
删除连接=Delete
Connection
删除连接=Delete
Connection
参数管理=Parameter
Management
参数管理=Parameter
数据源=Data
Source
数据源=Data
Source
数据源表单=Data
source
form
数据源表单=Data
source
form
数据集=Data
Set
数据集=Data
Set
权限管理=Authority
Management
权限管理=Authority
校验连接=Verify
Connection
校验连接=Verify
Connection
模板管理=Template
Management
模板管理=Template
用户管理=User
Management
用户管理=User
用户表单=User
Form
用户表单=User
Form
系统管理=System
management
系统管理=System
组织管理=Organization
management
组织管理=Organization
组织表单=Organization
Form
组织表单=Organization
Form
编辑用户=Edit
User
编辑用户=Edit
User
编辑组织=Edit
Organization
编辑组织=Edit
Organization
编辑菜单=Edit
Menu
编辑菜单=Edit
Menu
编辑角色=Edit
Role
编辑角色=Edit
Role
编辑连接=Edit
Connection
编辑连接=Edit
Connection
菜单管理=Menu
management
菜单管理=Menu
菜单表单=Menu
Form
菜单表单=Menu
Form
视图=View
视图=View
角色管理=Role
management
角色管理=Role
角色表单=Role
Form
角色表单=Role
Form
重置密码=Reset
Password
重置密码=Reset
Password
关于=About
Us
i18n_auth_view
=
View
i18n_auth_view
=
View
i18n_auth_use
=
Use
i18n_auth_use
=
Use
i18n_auth_export
=
Export
i18n_auth_export
=
Export
...
...
backend/src/main/resources/i18n/messages_zh_CN.properties
浏览文件 @
d1d95966
...
@@ -222,7 +222,7 @@ authsource_configuration_is_null=认证源配置不能为空
...
@@ -222,7 +222,7 @@ authsource_configuration_is_null=认证源配置不能为空
角色管理=角色管理
角色管理=角色管理
角色表单=角色表单
角色表单=角色表单
重置密码=重置密码
重置密码=重置密码
关于=关于
i18n_auth_view
=
查看
i18n_auth_view
=
查看
i18n_auth_use
=
使用
i18n_auth_use
=
使用
i18n_auth_export
=
导出
i18n_auth_export
=
导出
...
...
backend/src/main/resources/i18n/messages_zh_TW.properties
浏览文件 @
d1d95966
...
@@ -222,7 +222,7 @@ authsource_configuration_is_null=認證源配置不能為空
...
@@ -222,7 +222,7 @@ authsource_configuration_is_null=認證源配置不能為空
角色管理=角色管理
角色管理=角色管理
角色表单=角色表單
角色表单=角色表單
重置密码=重置密碼
重置密码=重置密碼
关于=關於
i18n_auth_view
=
查看
i18n_auth_view
=
查看
i18n_auth_use
=
使用
i18n_auth_use
=
使用
i18n_auth_export
=
導出
i18n_auth_export
=
導出
...
...
frontend/src/lang/en.js
浏览文件 @
d1d95966
...
@@ -916,5 +916,18 @@ export default {
...
@@ -916,5 +916,18 @@ export default {
use
:
'Use'
,
use
:
'Use'
,
export
:
'Export'
,
export
:
'Export'
,
manage
:
'Manage'
manage
:
'Manage'
},
about
:
{
auth_to
:
'Authorized to'
,
invalid_license
:
'Invalid License'
,
update_license
:
'Update License'
,
expiration_time
:
'Expiration Time'
,
expirationed
:
'(Expired)'
,
auth_num
:
'Authorized quantity'
,
version
:
'Version'
,
version_num
:
'Version number'
,
standard
:
'Standard'
,
enterprise
:
'Enterprise'
,
suport
:
'Get technical support'
}
}
}
}
frontend/src/lang/tw.js
浏览文件 @
d1d95966
...
@@ -916,5 +916,18 @@ export default {
...
@@ -916,5 +916,18 @@ export default {
use
:
'使用'
,
use
:
'使用'
,
export
:
'導出'
,
export
:
'導出'
,
manage
:
'管理'
manage
:
'管理'
},
about
:
{
auth_to
:
'授權給'
,
invalid_license
:
'License 無效'
,
update_license
:
'更新 License'
,
expiration_time
:
'過期時間'
,
expirationed
:
'(已過期)'
,
auth_num
:
'授權數量'
,
version
:
'版本'
,
version_num
:
'版本號'
,
standard
:
'標準版'
,
enterprise
:
'企業版'
,
suport
:
'獲取技術支持'
}
}
}
}
frontend/src/lang/zh.js
浏览文件 @
d1d95966
...
@@ -918,5 +918,18 @@ export default {
...
@@ -918,5 +918,18 @@ export default {
use
:
'使用'
,
use
:
'使用'
,
export
:
'导出'
,
export
:
'导出'
,
manage
:
'管理'
manage
:
'管理'
},
about
:
{
auth_to
:
'授权给'
,
invalid_license
:
'License 无效'
,
update_license
:
'更新 License'
,
expiration_time
:
'过期时间'
,
expirationed
:
'(已过期)'
,
auth_num
:
'授权数量'
,
version
:
'版本'
,
version_num
:
'版本号'
,
standard
:
'标准版'
,
enterprise
:
'企业版'
,
suport
:
'获取技术支持'
}
}
}
}
frontend/src/views/system/about/index.vue
浏览文件 @
d1d95966
...
@@ -7,35 +7,35 @@
...
@@ -7,35 +7,35 @@
<img
src=
"@/assets/DataEase-white.png"
alt=
""
style=
"height: 80px;width: 400px;padding-top: 15px;"
>
<img
src=
"@/assets/DataEase-white.png"
alt=
""
style=
"height: 80px;width: 400px;padding-top: 15px;"
>
</div>
</div>
<div
class=
"license-content"
>
<div
class=
"license-content"
>
<div
v-if=
"license.status === 'Fail'"
>
License 无效
</div>
<div
v-if=
"license.status === 'Fail'"
>
{{
$t
(
'about.invalid_license'
)
}}
</div>
<div
v-if=
"license.status !== 'Fail'"
>
<div
v-if=
"license.status !== 'Fail'"
>
<table>
<table>
<tr>
<tr>
<th>
授权给
</th>
<th>
{{
$t
(
'about.auth_to'
)
}}
</th>
<td>
{{
license
.
corporation
}}
</td>
<td>
{{
license
.
corporation
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th>
过期时间
</th>
<th>
{{
$t
(
'about.expiration_time'
)
}}
</th>
<td>
<td>
<label
v-if=
"license.status === 'expired'"
style=
"color: red"
>
{{
license
.
expired
}}
(已过期)
</label>
<label
v-if=
"license.status === 'expired'"
style=
"color: red"
>
{{
license
.
expired
}}
{{
$t
(
'about.expirationed'
)
}}
</label>
<label
v-if=
"license.status === 'valid'"
>
{{
license
.
expired
}}
</label>
<label
v-if=
"license.status === 'valid'"
>
{{
license
.
expired
}}
</label>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<th>
授权数量
</th>
<th>
{{
$t
(
'about.auth_num'
)
}}
</th>
<td>
{{
license
.
count
}}
</td>
<td>
{{
license
.
count
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th>
版本
</th>
<th>
{{
$t
(
'about.version'
)
}}
</th>
<td>
<td>
<span
v-if=
"license.edition"
>
<span
v-if=
"license.edition"
>
<span
v-if=
"license.edition === 'Standard'"
>
标准版
</span>
<span
v-if=
"license.edition === 'Standard'"
>
{{
$t
(
'about.standard'
)
}}
</span>
<span
v-if=
"license.edition === 'Enterprise'"
>
企业版
</span>
<span
v-if=
"license.edition === 'Enterprise'"
>
{{
$t
(
'about.enterprise'
)
}}
</span>
</span>
</span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<th>
版本号
</th>
<th>
{{
$t
(
'about.version_num'
)
}}
</th>
<td>
<td>
<span>
{{
build
}}
</span>
<span>
{{
build
}}
</span>
</td>
</td>
...
@@ -54,11 +54,11 @@
...
@@ -54,11 +54,11 @@
name=
"file"
name=
"file"
:before-upload=
"beforeUpload"
:before-upload=
"beforeUpload"
>
>
<a
class=
"md-primary pointer"
>
更新 License
</a>
<a
class=
"md-primary pointer"
>
{{
$t
(
'about.update_license'
)
}}
</a>
</el-upload>
</el-upload>
<a
class=
"md-primary pointer"
@
click=
"support"
>
获取技术支持
</a>
<a
class=
"md-primary pointer"
@
click=
"support"
>
{{
$t
(
'about.suport'
)
}}
</a>
</div>
</div>
</div>
</div>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论