From 8294686f80dc0fd6a2c1b1b77c3abbf783506ec2 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 29 Jan 2018 15:37:23 +0100 Subject: [PATCH] Fix assert translations for deprecated keys --- customize.dist/messages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/customize.dist/messages.js b/customize.dist/messages.js index 612994d54..65b306f42 100755 --- a/customize.dist/messages.js +++ b/customize.dist/messages.js @@ -79,7 +79,7 @@ define(req, function(Util, Default, Language) { }); Object.keys(translation).forEach(function (k) { if (/^_/.test(k) || k === 'driveReadme') { return; } - if (!Default[k]) { + if (typeof Default[k] === "undefined") { missing.push([code, k, 0]); } });