mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-11-10 06:36:10 +08:00
Allow language selection (#191)
* Add dropdown for language * Use vue-i18n to translate strings * Tweak header styling * Add Chinese languages in * Typo * Get language from browser (#193) * adaptive system language * Modify the adaptive system language * Remove dead code * Delete lang default values * Move browser language detection to util * Remove todos * Fix global PHP dropdown Co-authored-by: 墨娘 <61287199+moniang@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
7d3290d850
commit
ff88e2f322
@@ -46,5 +46,5 @@ export default {
|
||||
reverseProxy: '反向代理',
|
||||
reverseProxyLower: '反向代理',
|
||||
restrict: '限制',
|
||||
listen: '监听',
|
||||
path: '路径',
|
||||
};
|
||||
|
||||
@@ -29,6 +29,9 @@ import common from '../common';
|
||||
export default {
|
||||
title: `${common.nginx} 配置`,
|
||||
description: `配置高性能、安全、稳定的${common.nginx}服务器的最简单方法。`,
|
||||
en: '英语',
|
||||
zhCN: '简体中文',
|
||||
zhTW: '繁体中文',
|
||||
singleColumnMode: '垂直模式',
|
||||
splitColumnMode: '水平模式',
|
||||
perWebsiteConfig: '站点配置',
|
||||
|
||||
@@ -31,5 +31,4 @@ export default {
|
||||
reverseProxyCannotBeEnabledWithPhp: `${common.reverseProxy}在启用${common.php}时无法启用。`,
|
||||
reverseProxyCannotBeEnabledWithPython: `${common.reverseProxy}在启用${common.python}时无法启用。`,
|
||||
enableReverseProxy: `${common.enable} ${common.reverseProxyLower}`,
|
||||
path: '路径',
|
||||
};
|
||||
|
||||
@@ -31,6 +31,5 @@ export default {
|
||||
fallbackRoutingPhpPath: `后备路由${common.php}路径`,
|
||||
legacyPhpRouting: `传统${common.php}路由`,
|
||||
enableLegacyRouting: `${common.enable}传统路由`,
|
||||
path: '路径',
|
||||
routing: '路由设置',
|
||||
};
|
||||
|
||||
@@ -26,13 +26,12 @@ THE SOFTWARE.
|
||||
|
||||
export default {
|
||||
domain: '站点',
|
||||
path: '路径',
|
||||
documentRoot: '运行目录',
|
||||
oneOrMoreOtherDomainsAreAlsoNamed: '发现了重复的域名',
|
||||
thisWillCauseIssuesWithConfigGeneration: '这将导致生成配置出现问题。',
|
||||
wwwSubdomain: 'www 子域名',
|
||||
cdnSubdomain: 'CDN 子域名',
|
||||
redirectSubdomains: '子域名重定向',
|
||||
routing: '路由设置',
|
||||
server: '服务',
|
||||
listen: '监听',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user