fix translation parser early exit

This commit is contained in:
antelle 2017-06-24 08:04:25 +02:00
parent 4e96bcf75b
commit 940f0da92b
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ module.exports = function() {
for (const lang of Object.keys(translations)) {
const languageTranslations = translations[lang].translation;
if (lang === 'en-US' || !languageTranslations) {
return;
continue;
}
const langPhraseCount = Object.keys(languageTranslations).length;
const percentage = Math.round(langPhraseCount / totalPhraseCount * 100);