Translation wrong for word color in PR #16647 #17384

Closed
opened 2021-10-21 07:19:01 +00:00 by infl00p · 0 comments
infl00p commented 2021-10-21 07:19:01 +00:00 (Migrated from github.com)

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

### 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_
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/gitea#17384
No description provided.