Translation wrong for word color in PR #16647 #8002

Closed
opened 2025-11-02 07:46:57 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @infl00p on GitHub (Oct 21, 2021).

Gitea Version

ecfac78f6e

Git Version

2.20

Operating System

No response

How are you running Gitea?

N/A

Database

No response

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Description

PR #16647 changes dedicated translation strings for the word "color", to a single generic key "color".
But color is a word that can be a verb, adjective or a noun and these changes are incompatible with many languages.
In commit_graph.color the word "Color" is an adjective, in the other 2 it's a noun. I propose to revert this, or if a generic key is needed it must distinguish all possible grammar of the word (verb, noun, adjective, plural, single).

Regards

Screenshots

No response

Originally created by @infl00p on GitHub (Oct 21, 2021). ### Gitea Version ecfac78f6ef2cc01e4397c1a92b9a59b7ff0b2ff ### Git Version 2.20 ### Operating System _No response_ ### How are you running Gitea? N/A ### Database _No response_ ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Description PR #16647 changes dedicated translation strings for the word "color", to a single generic key "color". But color is a word that can be a verb, adjective or a noun and these changes are incompatible with many languages. In commit_graph.color the word "Color" is an adjective, in the other 2 it's a noun. I propose to revert this, or if a generic key is needed it must distinguish all possible grammar of the word (verb, noun, adjective, plural, single). Regards ### Screenshots _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8002