Closed
Description
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:
- Mirror the openwrt repo ( https://git.openwrt.org/openwrt/openwrt.git ) to an Organization
- Fork it to your own account
- Create new branch from
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