Some strings are not internationalised. #10461

Open
opened 2025-11-02 09:08:05 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @AmadeusGraves on GitHub (Mar 20, 2023).

Description

There are tags in the web interface that are not present in the Crowdin project. I am passing screenshots of some that I have found.

The screenshots I'm showing are from Gitea with the language changed to Spanish.

image

image

Gitea Version

1.19.0

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

I am running Gitea on Docker.

OS: Ubuntu 22.04 LTS
DOCKER: version 23.0.1, build a5ee5b1

Database

PostgreSQL

Originally created by @AmadeusGraves on GitHub (Mar 20, 2023). ### Description There are tags in the web interface that are not present in the Crowdin project. I am passing screenshots of some that I have found. The screenshots I'm showing are from Gitea with the language changed to Spanish. ![image](https://user-images.githubusercontent.com/18572939/226361032-26ef60c7-86c8-4b53-ab1c-a6a2ba6bd7f3.png) ![image](https://user-images.githubusercontent.com/18572939/226361052-bcb8e651-cf0a-48f0-ae6a-fcbe5e27d383.png) ### Gitea Version 1.19.0 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? I am running Gitea on Docker. OS: Ubuntu 22.04 LTS DOCKER: version 23.0.1, build a5ee5b1 ### Database PostgreSQL
GiteaMirror added the type/enhancementtopic/uimodifies/translation labels 2025-11-02 09:08:05 -06:00
Author
Owner

@silverwind commented on GitHub (Mar 20, 2023):

For heatmap, I think these strings are exposed in the heatmap module, but I think we are not passing all. The month and day names can probably be obtained wia Intl API and don't need the translation system.

@silverwind commented on GitHub (Mar 20, 2023): For heatmap, I think these strings [are exposed in the heatmap module](https://github.com/razorness/vue3-calendar-heatmap/blob/77115d652a9906ea468bdb4104a99800a7d4da06/src/App.vue#L44-L48), but I think we are [not passing all](https://github.com/go-gitea/gitea/blob/ccd3a55bf4f07a390e13d48100c58fb937fd3dcf/web_src/js/components/ActivityHeatmap.vue#L7). The month and day names can probably be obtained wia [`Intl`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl) API and don't need the translation system.
Author
Owner

@yardenshoham commented on GitHub (Mar 20, 2023):

I took a stab at this in #21570

@yardenshoham commented on GitHub (Mar 20, 2023): I took a stab at this in #21570
Author
Owner

@silverwind commented on GitHub (Mar 20, 2023):

Right, so we are only missing the two elements below the diagram.

@silverwind commented on GitHub (Mar 20, 2023): Right, so we are only missing the two elements below the diagram.
Author
Owner

@yardenshoham commented on GitHub (Mar 21, 2023):

I tried add more and less translations there but people didn't like the data handling

@yardenshoham commented on GitHub (Mar 21, 2023): I tried add `more` and `less` translations there but people didn't like the data handling
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10461