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

Add no-missing-translations rule #5

Merged

Conversation

jonathan-waarneming-nl
Copy link
Collaborator

Resolves: #4

Copy link
Member

@SjaakSchilperoort SjaakSchilperoort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏🏻

readFileSync: jest.fn((file: string) => {
if (file === "en.json") {
return JSON.stringify({
"Existing key": "Existing value",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beetje gekke inhoud van een translation file. Dit kan ook:

Suggested change
"Existing key": "Existing value",
"Existing key": "Existing key",

en dan in het Nederlands:

          "Existing key": "Bestaande sleutel",

@jonathan-waarneming-nl jonathan-waarneming-nl merged commit 6228a59 into develop Oct 14, 2024
1 check passed
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.

New rule for errors in translation files
2 participants