Skip to content

Commit

Permalink
Ignore ug and zh-HK
Browse files Browse the repository at this point in the history
  • Loading branch information
marceloschmidt committed Apr 25, 2016
1 parent 3233ef0 commit 5a7e688
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions private/node_scripts/auto-translate.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ googleTranslate.getSupportedLanguages(function(err, langs) {
if (file === 'en.i18n.json') { return callback(); }

var lang = file.replace('.i18n.json', '');

if (lang === 'ug' || lang === 'zh-HK') {
return callback();
}

var destContents = fs.readFileSync(path + file, 'utf-8');
var destJson = JSON.parse(destContents);
var toTranslate = {};
Expand Down

0 comments on commit 5a7e688

Please sign in to comment.