-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Locales: Fix placeholder inconsistencies #25291
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
Conversation
Thank you for your contribution, but we cannot merge this changes into translation files otherwise they may conflict with daily update from crowdin. But we can change them in crowdin follow your PR. |
At the moment, the fixes could be done on Crowdin side. After the INI package refactoring, I think there could be some tools to help to figure out/fix translation errors. Let's keep it open until these translations get fixed. |
Made another change, because it's RTL. https://crowdin.com/translate/gitea/68/enus-fa?filter=basic&value=0#q=issue_assigned.pull |
I'll merge main into this untill diff = 0 :) |
partially fix #25291 --------- Co-authored-by: Lauris BH <lauris@nix.lv>
The crowdin fixes are in main now |
The backport needs manually checking because some 1.21 strings might not be right for 1.20 This backport also includes most fixes from #25291 (comment) (thanks to lunny's manual fix on Crowdin side) Close #25638
5 things are missing ... |
Only one is missing Others are right (not wrong) on main branch. |
I have made some changes:
|
Address #25238
This fixes all placeholder inconsistencies in translations that I have found, some of them probably don't change anything visible, but they're inconsistent nevertheless.
I do not know how RTL text and placeholders work together, so these strings are left to check:
Also, in options/locale/locale_pt-BR.ini:
I do not know if this works as intended. I suppose it does, but other languages do it differently.
I still recommend that a proper QA for translation placeholders is implemented, especially checking that all placeholders are there. AFAIK, Weblate does this, it is Free Software. I have no experience with the proprietary Crowdin platform.
Also check out the corresponding @forgejo issue at https://codeberg.org/forgejo/forgejo/issues/863 - maybe there are some helpful discussions, too. I'll probably rather interact there.