Skip to content

Commit 8e5ee59

Browse files
committed
Fix path
1 parent 6ae6255 commit 8e5ee59

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tasks/localizationTasks.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,12 @@ type Options = {
2121
};
2222

2323
const localizationLanguages = ['cs', 'de', 'es', 'fr', 'it', 'ja', 'ko', 'pl', 'pt-br', 'ru', 'tr', 'zh-cn', 'zh-tw'];
24-
const locFiles = ['bundle.l10n.%s.json', 'package.nls.%s.json'];
2524

2625
function getAllPossibleLocalizationFiles(): string[] {
2726
const files = [];
2827
for (const lang of localizationLanguages) {
29-
for (const file of locFiles) {
30-
files.push('l10n' + path.sep + util.format(file, lang));
31-
}
28+
files.push('l10n' + path.sep + util.format('bundle.l10n.%s.json', lang));
29+
files.push(util.format('package.nls.%s.json', lang));
3230
}
3331
// English
3432
files.push(`l10n${path.sep}bundle.l10n.json`);

0 commit comments

Comments
 (0)