@biesbjerg/ng2-translate-extract
Advanced tools
Comparing version
@@ -18,3 +18,4 @@ "use strict"; | ||
'/**/*.html', | ||
'/**/*.ts' | ||
'/**/*.ts', | ||
'/**/*.js' | ||
]; | ||
@@ -21,0 +22,0 @@ this.messages = []; |
@@ -26,3 +26,3 @@ "use strict"; | ||
_normalizeTemplateAttributes(template) { | ||
return template.replace(/\[([^\]]+)\]="'([^\"]*)'"/g, '$1="$2"'); | ||
return template.replace(/\[([^\]]+)\]="'([^']*)'"/g, '$1="$2"'); | ||
} | ||
@@ -29,0 +29,0 @@ } |
{ | ||
"name": "@biesbjerg/ng2-translate-extract", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Extract strings from projects using ng2-translate", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
33210
18.78%45
12.5%550
21.15%