修复源文件中的i18n问题

This commit is contained in:
chishin 2022-05-16 17:11:43 +08:00
parent f55715fc47
commit 6e83f0ddb9
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
<% var title = i18n('main', 'app') %>
<% var title = 'Nginx 代理管理器' %>
<%- include partials/header.ejs %>
<div id="app" class="page">

View File

@ -1,4 +1,4 @@
<% var title = i18n('str', 'sign-in') + ' &ndash; ' + i18n('main', 'app') %>
<% var title = '登录 &ndash; Nginx 代理管理器' %>
<%- include partials/header.ejs %>
<div class="page" id="login" data-version="<%= version %>">

View File

@ -333,9 +333,9 @@
"title": "登录到您的账户"
},
"main": {
"app": "Nginx代理管理器",
"app": "Nginx 代理管理器",
"version": "v{version}",
"welcome": "欢迎来到Nginx代理管理器",
"welcome": "欢迎来到 Nginx 代理管理器",
"logged-in": "您的登录身份是 {name}",
"unknown-error": "加载出错,请重新加载应用程序。",
"unknown-user": "未知用户",
@ -375,8 +375,8 @@
"with-le": "使用Let's Encrypt",
"no-ssl": "该主机将不使用HTTPS",
"advanced": "高级",
"advanced-warning": "在此输入你的自定义Nginx配置风险自负!",
"advanced-config": "自定义Nginx配置",
"advanced-warning": "在此输入你的自定义 Nginx 配置,风险自负!",
"advanced-config": "自定义 Nginx 配置",
"advanced-config-var-headline": "这些代理详情可以作为nginx的变量。",
"advanced-config-header-info": "请注意这里添加的任何add_header或set_header配置都不会被nginx使用。你将不得不添加一个自定义的位置'/',并在那里的自定义配置中添加头信息。",
"hsts-enabled": "启用了HSTS",