Move top level template strings to i18n

This commit is contained in:
MattIPv4
2020-06-02 16:12:05 +01:00
parent 85ba7422d9
commit 85910e7794
9 changed files with 89 additions and 17 deletions

View File

@@ -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.',
};

View 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',
};

View 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',
};

View File

@@ -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 };

View 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',
};