mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-11-06 11:56:15 +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