Skip to content

Commit d3b31f0

Browse files
committed
fixed bug with locale audit
1 parent d7f9f21 commit d3b31f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,12 +543,12 @@ module.exports = function (grunt) {
543543
supportedPOEditorCodes.push(locales[key]["poEditor"].toLowerCase());
544544
}
545545

546+
let localeData = [];
547+
546548
if (grunt.file.exists("src/locale/poeditor.json")) {
547549
let poLocales = grunt.file.readJSON("src/locale/poeditor.json");
548550
let poEditorLocales = poLocales.result.languages;
549551

550-
let localeData = [];
551-
552552
for (let key in poEditorLocales) {
553553
let name = poEditorLocales[key]["name"];
554554
let curCode = poEditorLocales[key]["code"].toLowerCase();

0 commit comments

Comments
 (0)