We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c354996 commit c02aa83Copy full SHA for c02aa83
projects/igniteui-angular/src/lib/core/i18n/tests/tests.mjs
@@ -18,7 +18,7 @@ class i18nTests {
18
i18nFilesMatchForAllLanguages() {
19
this.getDirectories(i18nLanguagesPath).forEach(dir => {
20
const curDirPath = path.join(i18nLanguagesPath, dir);
21
- if (this.getFiles(curDirPath).length !== this.getFiles(i18nProductPath).length) {
+ if (this.getFiles(curDirPath).length !== this.getFiles(i18nProductPath).filter(fileName => fileName.endsWith('resources.ts')).length) {
22
errors.push(`Not all i18n component files that are available for localization have matching files for ${dir} language.
23
Check and add the appropriate resource strings with EN translation and mark the PR as 'pending localization'`
24
);
0 commit comments