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

Clean up translations #930

Merged
merged 2 commits into from
Sep 12, 2023
Merged

Conversation

owi92
Copy link
Member

@owi92 owi92 commented Sep 8, 2023

Closes #841

This moves any top-level strings to general, removes some (but not all) duplications, renames some strings and fixes some punctuation stuff, and removes one unsued translation. I suppose we could still move these around further/regroup some of them, but this should already be an improvement.

I also used an external tool to check for any further unused translations, but it didn't report any. (Take that result with a grain of salt though, mainly because I'm not super sure I did the check correctly...) Edit: That tool didn't work... I checked some other tools but ultimately found it easier to go over the translations manually, and found a some more that were not being used.

Another thing that is somewhat related to this is #857, which is still open but not forgotten. Maybe we can go over @oas777's suggestions soon and decide how to proceed with this.

@owi92 owi92 added the changelog:nope Not worth mentioning in the changelog label Sep 8, 2023
@github-actions github-actions bot temporarily deployed to test-deployment-pr930 September 11, 2023 12:22 Destroyed
Copy link
Member

@LukasKalbertodt LukasKalbertodt left a comment

Choose a reason for hiding this comment

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

Nice work! I haven't meticulously gone through the whole patch, as that's always a bit exhausting with refactor-commits. But I like your choices regarding translation file structure. I am a tiny bit uneasy not having checked every single place for missing translations, but I will just trust that our setup with the TypeScript check should catch those!

frontend/src/i18n/locales/de.yaml Outdated Show resolved Hide resolved
@github-actions github-actions bot temporarily deployed to test-deployment-pr930 September 12, 2023 08:29 Destroyed
@github-actions github-actions bot added the status:conflicts This PR has conflicts that need to be resolved label Sep 12, 2023
@github-actions
Copy link

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

@github-actions github-actions bot removed the status:conflicts This PR has conflicts that need to be resolved label Sep 12, 2023
@github-actions github-actions bot added the status:conflicts This PR has conflicts that need to be resolved label Sep 12, 2023
@github-actions
Copy link

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

This moves any top-level strings to `general`,
removes some (but not all) duplications,
renames some strings and fixes some punctuation stuff.
@github-actions github-actions bot removed the status:conflicts This PR has conflicts that need to be resolved label Sep 12, 2023
@github-actions github-actions bot temporarily deployed to test-deployment-pr930 September 12, 2023 09:21 Destroyed
@LukasKalbertodt LukasKalbertodt merged commit 26b142d into elan-ev:master Sep 12, 2023
2 checks passed
@LukasKalbertodt LukasKalbertodt added changelog:dev Changes primarily for developers and removed changelog:nope Not worth mentioning in the changelog labels Sep 12, 2023
@owi92 owi92 deleted the clean-up-translations branch March 4, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:dev Changes primarily for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clean up translations (move strings around)
2 participants