-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
The template parsing of the Sync fork prompt bar is abnormal in Chinese #33931
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
Comments
Maybe we should backport this translation commit: 02c64e4 @wxiaoguang The correct translation merged to main branch seems to be only a few days behind your this backport: e98dd6e |
Similar to this one: #32937 (comment) It seems that no maintainer is interested to document it or regularly check the locales, so it happens again and again ..... By the way, unusually PRs with locale changes won't be backported. This "Sync fork" related PRs are special and quite important, so the PRs were backported, but the locales went wrong. |
-> Fix incorrect 1.23 translations #33932 |
Description
When there is a difference between the forked repo and the upstream repo, Gitea will display a Sync fork prompt.
I noticed that in some repo, there is a suspected template parsing error in the Chinese prompt, for example:
If I switch the language to English the problem does not exist, I guess it might be a bug in the translation template?
The problem does not seem to occur in all repositories and all branches, but I can definitely reproduce the problem by doing the following:
openwrt-24.10
, then you will be able to see this error on the newly created branch (remember to switch the language to Chinese)Gitea Version
1.23.5
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Debian
How are you running Gitea?
Official Docker image
Database
SQLite
The text was updated successfully, but these errors were encountered: