From 0714e17c9d6ccbf18acfc51bef01feaab6659000 Mon Sep 17 00:00:00 2001 From: Yc Chen Date: Fri, 10 Nov 2023 17:41:42 +0800 Subject: [PATCH] fix lang path --- common/static/i18n/i18n.min.js | 2 +- common/static/i18n/lang/i18n_cn.json | 44 +++++++++++++++++++++++++++- 2 files changed, 44 insertions(+), 2 deletions(-) diff --git a/common/static/i18n/i18n.min.js b/common/static/i18n/i18n.min.js index b8df4014fa..827572d46d 100644 --- a/common/static/i18n/i18n.min.js +++ b/common/static/i18n/i18n.min.js @@ -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) { diff --git a/common/static/i18n/lang/i18n_cn.json b/common/static/i18n/lang/i18n_cn.json index 294447212d..a9b4b8f728 100644 --- a/common/static/i18n/lang/i18n_cn.json +++ b/common/static/i18n/lang/i18n_cn.json @@ -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": "联系我们" -} \ No newline at end of file +}