Translate missing Chinese strings (#205)

* Translate the new phrase

* Update src/nginxconfig/i18n/zh-tw/templates/global_sections/docker.js

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
This commit is contained in:
墨娘
2020-12-30 00:29:24 +08:00
committed by GitHub
parent 6fd11d9438
commit 9b0a7dc4ac
8 changed files with 16 additions and 16 deletions

View File

@@ -32,7 +32,7 @@ export default {
en: '英语',
zhCN: '简体中文',
zhTW: '繁体中文',
ptBR: 'Portuguese (brazilian)', // TODO: translate
ptBR: '葡萄牙语 (巴西)',
singleColumnMode: '垂直模式',
splitColumnMode: '水平模式',
perWebsiteConfig: '站点配置',

View File

@@ -27,8 +27,8 @@ THE SOFTWARE.
import common from '../../common';
export default {
fallbackRouting: '后备路由',
fallbackRoutingPhpPath: `后备路由${common.php}路径`,
fallbackRouting: '回调路由',
fallbackRoutingPhpPath: `回调路由${common.php}路径`,
legacyPhpRouting: `传统${common.php}路由`,
enableLegacyRouting: `${common.enable}传统路由`,
routing: '路由设置',

View File

@@ -32,10 +32,10 @@ const dockerfile = 'Dockerfile';
export default {
docker,
dockerfile,
dockerCompose: `${docker} Compose`, // TODO: translate
applyDockerTweaks: `Apply ${docker} tweaks`, // TODO: translate
applyDockerTweaksForNginx: `Apply configuration tweaks for running ${common.nginx} with ${docker}`, // TODO: translate
applyDockerTweaksExplainer: `Updates the ${common.nginx} user to be <code class="slim">nginx</code> and the pid to <code class="slim">/var/run/nginx.pid</code>`, // TODO: translate
dockerCompose: `${docker} 编排服务`,
applyDockerTweaks: `应用${docker}调整`,
applyDockerTweaksForNginx: `为使用${docker}运行${common.nginx}进行配置调整。`,
applyDockerTweaksExplainer: `${common.nginx}用户更新为<code class="slim">nginx</code>将pid更新为<code class="slim">/var/run/nginx.pid</code>`,
includeDockerfile: `生成${dockerfile}运行${common.nginx}${docker}`,
includeDockerCompose: `生成docker-compose.yaml来运行${common.nginx} docker-compose`,
};

View File

@@ -28,6 +28,6 @@ import common from '../../common';
export default {
letsGoLive: '让我们开始吧!',
reloadNginxToLoadInYourNewConfiguration: `重新加载${common.nginx}加载您的新配置:`,
reloadNginxToLoadInYourNewConfiguration: `重新加载${common.nginx}载入新的配置:`,
goLive: '上线!',
};