Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] manifestCreator: set fallbackLocale to empty string if no locale is present #962

Merged
merged 4 commits into from
Dec 12, 2023

Conversation

flovogt
Copy link
Member

@flovogt flovogt commented Nov 27, 2023

Instead of using a artificial placeholder, you use a real message bundle file for tests.

@flovogt flovogt requested a review from codeworrior November 27, 2023 12:34
@coveralls
Copy link

coveralls commented Nov 27, 2023

Coverage Status

coverage: 94.541% (+0.02%) from 94.523%
when pulling a0c5078 on use-real-i18n-file-for-manifestcreator-test
into f2cf564 on main.

@flovogt flovogt force-pushed the use-real-i18n-file-for-manifestcreator-test branch from 13bf726 to 7b9f870 Compare December 7, 2023 09:23
@flovogt flovogt changed the title [INTERNAL] test manifestCreator: use custom file instead of placeholder [FIX] manifestCreator: set fallbackLocale to empty string if no locale is present Dec 7, 2023
…e is present

- In case no language specific messagebundle file is present, set the fallbackLocale to empty string.

- Adjust tests to use custom file instead of artifical placeholder
@flovogt flovogt force-pushed the use-real-i18n-file-for-manifestcreator-test branch from 7b9f870 to 346810c Compare December 7, 2023 11:03
@flovogt flovogt requested a review from RandomByte December 7, 2023 12:35
test/lib/tasks/generateLibraryManifest.js Outdated Show resolved Hide resolved
test/lib/tasks/generateLibraryManifest.js Outdated Show resolved Hide resolved
@flovogt flovogt requested a review from matz3 December 8, 2023 13:22
@flovogt flovogt merged commit 26526a0 into main Dec 12, 2023
17 checks passed
@flovogt flovogt deleted the use-real-i18n-file-for-manifestcreator-test branch December 12, 2023 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants