Fix up locale-patch

// FREEBIE
This commit is contained in:
lilia 2016-03-11 12:00:55 -08:00
parent e2f4bcbe51
commit 0247a885ef

View file

@ -218,8 +218,10 @@ module.exports = function(grunt) {
var messages = grunt.file.readJSON(abspath);
for (var key in messages){
if (en[key].placeholders !== undefined && messages[key].placeholders === undefined){
messages[key].placeholders = en[key].placeholders;
if (en[key] !== undefined && messages[key] !== undefined){
if (en[key].placeholders !== undefined && messages[key].placeholders === undefined){
messages[key].placeholders = en[key].placeholders;
}
}
}