cordova-plugin-localization-strings
Advanced tools
Comparing version 4.1.2 to 4.1.3
{ | ||
"name": "cordova-plugin-localization-strings", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"description": "Cordova Plugin for handling localization strings on InfoPlist.strings and Localizable.strings on iOS, strings.xml on Android", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -22,2 +22,7 @@ var fs = require('fs'); | ||
var matches = config.match(new RegExp('<name>(.*?)</name>', 'i')); | ||
// if simple name-tag not found then try optional form of name tag with short name | ||
if (!matches) | ||
matches = config.match(new RegExp('<name short=".*?">(.*?)</name>', 'i')); | ||
return (matches && matches[1]) || null; | ||
@@ -24,0 +29,0 @@ } |
Sorry, the diff of this file is not supported yet
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
26166
369