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

Dutch translation and icon duplication guardrails #3897

Merged
merged 2 commits into from
Aug 30, 2023

Conversation

HebaruSan
Copy link
Member

@HebaruSan HebaruSan commented Aug 27, 2023

Motivation

@TundraMods has graciously started working on a Dutch translation!

https://crowdin.com/project/ckan/nl

Changes

  • Now a Dutch language option (nl-NL) is added and can be extended as more Dutch strings are added
  • One new French string is added
  • As I was doing the above, Crowdin tried to add back some of the duplicated icons that were removed in New Crowdin updates #3868, and I realized that we could catch that programmatically. So now the ResourcesTests in the GUI tests folder is updated to loop over all the resources of all the translation DLLs and check that every resource is a string. If the icons get duplicated, they will be Bitmaps and the test will fail. To make this work, some unneeded bool resources are removed.

@HebaruSan HebaruSan added Enhancement New features or functionality GUI Issues affecting the interactive GUI AutoUpdate Issues affecting the automatic updating Tests Issues affecting the internal tests i18n Issues regarding the internationalization of CKAN and PRs that need translating labels Aug 27, 2023
@HebaruSan HebaruSan force-pushed the feature/dutch branch 5 times, most recently from ebc02e6 to 75f5f87 Compare August 30, 2023 00:13
@HebaruSan HebaruSan merged commit 9170c18 into KSP-CKAN:master Aug 30, 2023
10 checks passed
@HebaruSan HebaruSan deleted the feature/dutch branch August 30, 2023 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AutoUpdate Issues affecting the automatic updating Enhancement New features or functionality GUI Issues affecting the interactive GUI i18n Issues regarding the internationalization of CKAN and PRs that need translating Tests Issues affecting the internal tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants