mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-09-20 18:59:17 +08:00
Move top level template strings to i18n
This commit is contained in:
@@ -17,5 +17,12 @@ limitations under the License.
|
||||
export default {
|
||||
title: 'NGINXConfig',
|
||||
description: 'The easiest way to configure a performant, secure, and stable NGINX server.',
|
||||
oss: 'This tool is {link|open-source on GitHub|https://github.com/do-community/nginxconfig-vue} under the {link|Apache-2.0|https://github.com/do-community/nginxconfig-vue/blob/master/LICENSE} license! We welcome feedback and contributions.',
|
||||
singleColumnMode: 'Single column mode',
|
||||
splitColumnMode: 'Split column mode',
|
||||
perWebsiteConfig: 'Per-website config',
|
||||
addSite: 'Add site',
|
||||
globalConfig: 'Global config',
|
||||
setup: 'Setup',
|
||||
configFiles: 'Config files',
|
||||
oss: 'This tool is {link|open-source on GitHub|https://github.com/digitalocean/nginxconfig.io} under the {link|Apache-2.0|https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE} license! We welcome feedback and contributions.',
|
||||
};
|
||||
|
20
src/nginxconfig/i18n/en/templates/domain.js
Normal file
20
src/nginxconfig/i18n/en/templates/domain.js
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
Copyright 2020 DigitalOcean
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
export default {
|
||||
back: 'Back',
|
||||
next: 'Next',
|
||||
};
|
20
src/nginxconfig/i18n/en/templates/global.js
Normal file
20
src/nginxconfig/i18n/en/templates/global.js
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
Copyright 2020 DigitalOcean
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
export default {
|
||||
back: 'Back',
|
||||
next: 'Next',
|
||||
};
|
@@ -15,8 +15,11 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
import app from './app';
|
||||
import domain from './domain';
|
||||
import global from './global';
|
||||
import setup from './setup';
|
||||
import domainSections from './domain_sections';
|
||||
import globalSections from './global_sections';
|
||||
import setupSections from './setup_sections';
|
||||
|
||||
export default { app, domainSections, globalSections, setupSections };
|
||||
export default { app, domain, global, setup, domainSections, globalSections, setupSections };
|
||||
|
22
src/nginxconfig/i18n/en/templates/setup.js
Normal file
22
src/nginxconfig/i18n/en/templates/setup.js
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
Copyright 2020 DigitalOcean
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
export default {
|
||||
back: 'Back',
|
||||
next: 'Next',
|
||||
downloadConfig: 'Download Config',
|
||||
copyBase64: 'Copy Base64',
|
||||
};
|
Reference in New Issue
Block a user