Adds title on branch commit counts#34869
Conversation
|
It needs to be translationable. |
|
Use |
|
Also, wouldn't it make sense to unify both titles into a single title on the parent element? |
My thought is that why duplicate the numbers in the tooltip .... could it simply just show a fixed tool tip like "Commits ahead", and let users read the rendered number on the UI? |
That is what GitLab does, that is the behavior I am emulating |
Working on this now. |
|
The current texts are not really translatable. I'd prefer GitHub's wording, so I think we can make it "Behind count: %d, ahead count: %d", then everything can be simplified. Will make some changes. |
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
|
Anything else to improve? |
* giteaofficial/main: [skip ci] Updated translations via Crowdin Improve html escape (go-gitea#34911) Adds tooltip on branch commit counts (go-gitea#34869) Fix PR toggle WIP (go-gitea#34920)
Adds a
titleto the commit counts when comparing branches, making it easier for novice users to understand what the numbers mean.Fixes #34867.