Skip to content

Commit

Permalink
fix lang path
Browse files Browse the repository at this point in the history
  • Loading branch information
Yc Chen committed Nov 10, 2023
1 parent 770488c commit 0714e17
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/static/i18n/i18n.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
function _setCookie(name, value, myDay) {
var oDate = new Date();
oDate.setDate(oDate.getDate() + myDay);
document.cookie = name + '=' + value + '; expires=' + oDate;
document.cookie = name + '=' + value + '; expires=' + oDate + "; path=/";
};

function _clearCookie(name) {
Expand Down
44 changes: 43 additions & 1 deletion common/static/i18n/lang/i18n_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,48 @@
"main.title": "Archery - SQL审核查询平台",
"btn.show_tran_login": "显示传统登录",
"btn.confirm": "确定",
"btn.cancel": "取消",
"btn.submit_sql": "SQL上线",
"label.audition": "审计",
"label.more": "更多",
"label.hello": "你好",
"label.exit": "退出",
"label.close": "关闭",
"label.logout": "退出",
"label.sysinfo": "系统信息",
"label.system": "系统",
"label.admin_dashboard": "Admin Dashboard",
"label.2fa": "2FA",
"label.2fa_config": "2FA Configuration",
"label.change_pass": "Change Password",
"label.dashboard": "控制台",
"label.sql_audition": "SQL Audition",
"label.sql_query": "SQL Query",
"label.sql_online": "SQL Online",
"label.sql_analysis": "SQL Analysis",
"label.data_dictionary": "Data Dictionary",
"label.privilege_manage": "Privilege",
"label.optimization": "Optimization",
"label.sql_optimization": "SQL Optimization",
"label.slow_log": "Slow Logs",
"label.instance_manage": "Instance Manage",
"label.instance": "Instance",
"label.general": "General",
"label.query": "查询",
"label.monitor": "Monitor",
"label.user": "User",
"label.dba_principles": "DBA Principles",
"label.variables": "Variables",
"label.database": "Database",
"label.plugins": "Plugins",
"label.resource_group": "Resource Group",
"label.privilege": "Privilege",
"label.username": "用户名",
"label.password": "密码",
"label.status": "Status",
"placeholder.search": "搜索",
"tooltip.status": "Status",
"footer.about": "关于",
"footer.contact": "联系我们",
"footer.title": "联系我们"
}
}

0 comments on commit 0714e17

Please sign in to comment.