gulp-i18n-leverage
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "gulp-i18n-leverage", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Merge changes in default JSON into localized JSON for i18n-behavior", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcov -- -R spec && if [ \"${TRAVIS_BRANCH}\" != \"\" ]; then coveralls <./coverage/lcov.info; fi", | ||
"test": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcov -- -R spec && if [ \"${TRAVIS_BRANCH}\" != \"master\" ]; then coveralls <./coverage/lcov.info; fi", | ||
"clean": "rm -rvf ./coverage" | ||
@@ -9,0 +9,0 @@ }, |
@@ -150,3 +150,3 @@ [![Build Status](https://travis-ci.org/t2ym/gulp-i18n-leverage.svg?branch=master)](https://travis-ci.org/t2ym/gulp-i18n-leverage) | ||
### Import Xliff task (experimental) | ||
### Import XLiff task (experimental) | ||
@@ -325,3 +325,3 @@ #### Note: This task has to be processed before [Leverage task with unbundle](#leverage-task-with-unbundle) to pick up outputs of this task. | ||
### Export Xliff task (experimental) | ||
### Export XLiff task (experimental) | ||
@@ -383,2 +383,3 @@ #### Note: This task has to be processed after [Bundles task](#bundles). `srcLanguage` must match with the default language of the app. | ||
- Next localized JSON files in dist | ||
- Next localized XLIFF files in dist | ||
- Custom element HTMLs | ||
@@ -391,2 +392,3 @@ - Non-custom-element HTMLs | ||
- Overwritten bundle JSON files in source [if translation is done in bundles](#leverage-task-with-unbundle) | ||
- Overwritten bundle XLIFF files in source if XLIFF import/export are setup | ||
@@ -405,3 +407,4 @@ Outputs are ready to commit in the repository | ||
'dist/**/locales/*.json', | ||
'!dist/locales/bundle.*.json' // Remove this item if translation is done in bundles | ||
'dist/**/xliff/bundle.*.xlf', // Add this item if xliff import and export are enabled | ||
//'!dist/locales/bundle.*.json' // Remove this item if translation is done in bundles | ||
]) | ||
@@ -408,0 +411,0 @@ .pipe(gulp.dest('app')); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
265301
503