gulp-i18n-update-localization-ids
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -0,0 +0,0 @@ 'use strict' |
@@ -22,6 +22,3 @@ 'use strict'; | ||
const basePrefix = path.basename(file.path, path.extname(file.path)) | ||
.replace(/([a-z])([A-Z])/g, '$1-$2') | ||
.toLowerCase() | ||
.replace(/[^a-z]/ig, '-'); | ||
const basePrefix = path.basename(file.path, path.extname(file.path)).replace(/[^a-z\-\_]/ig, '-'); | ||
@@ -28,0 +25,0 @@ let tag = 0; |
{ | ||
"name": "gulp-i18n-update-localization-ids", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Update i18n localization ids in html files.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -135,3 +135,3 @@ # gulp-i18n-update-localization-ids | ||
| `baz/bar.html` | `bar1.t0` | | ||
| `FooBar-Baz.Example.html` | `foo-bar-baz-example.t0` | | ||
| `FooBar-Baz.Example.html` | `FooBar-Baz-example.t0` | | ||
@@ -138,0 +138,0 @@ **Warning!** There is an edge case where the same prefix could be assigned to different files:<br> |
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
42365
548