mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-09-20 18:59:17 +08:00
Move strings to i18n for presets
This commit is contained in:
@@ -17,5 +17,6 @@ limitations under the License.
|
||||
import https from './https';
|
||||
import logging from './logging';
|
||||
import php from './php';
|
||||
import presets from './presets';
|
||||
|
||||
export default { https, logging, php };
|
||||
export default { https, logging, php, presets };
|
||||
|
@@ -23,7 +23,7 @@ export default {
|
||||
wordPressRules: 'WordPress rules',
|
||||
enableWordPressRules: 'enable WordPress-specific rules',
|
||||
drupalRules: 'Drupal rules',
|
||||
enableDrupalRules: ' enable Drupal-specific rules',
|
||||
enableDrupalRules: 'enable Drupal-specific rules',
|
||||
magentoRules: 'Magento rules',
|
||||
enableMagentoRules: ' enable Magento-specific rules',
|
||||
enableMagentoRules: 'enable Magento-specific rules',
|
||||
};
|
||||
|
28
src/nginxconfig/i18n/en/templates/domain_sections/presets.js
Normal file
28
src/nginxconfig/i18n/en/templates/domain_sections/presets.js
Normal file
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
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 {
|
||||
presets: 'Presets',
|
||||
itLooksLikeYouCustomisedTheConfig: 'It looks like you\'ve customised the configuration for this domain. Choosing a new preset may reset or change some of the settings that you\'ve customised.',
|
||||
frontend: 'Frontend',
|
||||
php: 'PHP',
|
||||
django: 'Django',
|
||||
nodeJs: 'Node.js',
|
||||
singlePageApplication: 'Single-page application',
|
||||
wordPress: 'WordPress',
|
||||
drupal: 'Drupal',
|
||||
magento: 'Magento',
|
||||
};
|
Reference in New Issue
Block a user