heatmap: untranslated string: xx total contributions in the last 12 months #5026

Closed
opened 2025-11-02 06:11:36 -06:00 by GiteaMirror · 9 comments
Owner

Originally created by @dadosch on GitHub (Mar 8, 2020).

Description

The string in the heatmap is not translated:

xx total contributions in the last 12 months

062f35109d/web_src/js/features/userHeatmap.js (L82)

Originally created by @dadosch on GitHub (Mar 8, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> ## Description The string in the heatmap is not translated: xx total contributions in the last 12 months https://github.com/go-gitea/gitea/blob/062f35109df236a06a00d403d006b90760f9cfac/web_src/js/features/userHeatmap.js#L82
GiteaMirror added the topic/uiissue/confirmed labels 2025-11-02 06:11:36 -06:00
Author
Owner

@stale[bot] commented on GitHub (May 9, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (May 9, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Author
Owner

@a1012112796 commented on GitHub (May 9, 2020):

ping ...

@a1012112796 commented on GitHub (May 9, 2020): ping ...
Author
Owner

@stale[bot] commented on GitHub (Jul 11, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (Jul 11, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Author
Owner

@dadosch commented on GitHub (Jul 11, 2020):

it is still a issue

@dadosch commented on GitHub (Jul 11, 2020): it is still a issue
Author
Owner

@Ryuno-Ki commented on GitHub (Jun 5, 2022):

The code was refactored into

d9b50e4fd1/web_src/js/components/ActivityHeatmap.vue (L3-L5)

@Ryuno-Ki commented on GitHub (Jun 5, 2022): The code was refactored into https://github.com/go-gitea/gitea/blob/d9b50e4fd126e60fe0735bafbcb12d0e8f6dd0c2/web_src/js/components/ActivityHeatmap.vue#L3-L5
Author
Owner

@Ryuno-Ki commented on GitHub (Jun 5, 2022):

Given https://github.com/julienr114/vue-calendar-heatmap/issues/19 it might be worth looking for alternatives (once Vue 3 migration is to start).

d9b50e4fd1/web_src/js/components/ActivityHeatmap.vue (L8-L9)

reference

d9b50e4fd1/web_src/js/components/ActivityHeatmap.vue (L39-L42)

and wouldn't be translated either.

A fork exists as TypeScript project at https://www.npmjs.com/package/vue3-calendar-heatmap

@Ryuno-Ki commented on GitHub (Jun 5, 2022): Given https://github.com/julienr114/vue-calendar-heatmap/issues/19 it might be worth looking for alternatives (once Vue 3 migration is to start). https://github.com/go-gitea/gitea/blob/d9b50e4fd126e60fe0735bafbcb12d0e8f6dd0c2/web_src/js/components/ActivityHeatmap.vue#L8-L9 reference https://github.com/go-gitea/gitea/blob/d9b50e4fd126e60fe0735bafbcb12d0e8f6dd0c2/web_src/js/components/ActivityHeatmap.vue#L39-L42 and wouldn't be translated either. A fork exists as TypeScript project at https://www.npmjs.com/package/vue3-calendar-heatmap
Author
Owner

@lunny commented on GitHub (Jun 6, 2022):

Given julienr114/vue-calendar-heatmap#19 it might be worth looking for alternatives (once Vue 3 migration is to start).

d9b50e4fd1/web_src/js/components/ActivityHeatmap.vue (L8-L9)

reference

d9b50e4fd1/web_src/js/components/ActivityHeatmap.vue (L39-L42)

and wouldn't be translated either.

A fork exists as TypeScript project at https://www.npmjs.com/package/vue3-calendar-heatmap

We still stayed in Vue2 currently.

@lunny commented on GitHub (Jun 6, 2022): > Given [julienr114/vue-calendar-heatmap#19](https://github.com/julienr114/vue-calendar-heatmap/issues/19) it might be worth looking for alternatives (once Vue 3 migration is to start). > > https://github.com/go-gitea/gitea/blob/d9b50e4fd126e60fe0735bafbcb12d0e8f6dd0c2/web_src/js/components/ActivityHeatmap.vue#L8-L9 > > reference > > https://github.com/go-gitea/gitea/blob/d9b50e4fd126e60fe0735bafbcb12d0e8f6dd0c2/web_src/js/components/ActivityHeatmap.vue#L39-L42 > > and wouldn't be translated either. > > A fork exists as TypeScript project at https://www.npmjs.com/package/vue3-calendar-heatmap We still stayed in Vue2 currently.
Author
Owner

@wxiaoguang commented on GitHub (Jun 6, 2022):

I have a feeling that there might not be too many blockers for upgrading to Vue3. And since the usage of Vue2 in Gitea is still at an early stage, if enough people agree, we should try to upgrade to Vue3.

@wxiaoguang commented on GitHub (Jun 6, 2022): I have a feeling that there might not be too many blockers for upgrading to Vue3. And since the usage of Vue2 in Gitea is still at an early stage, if enough people agree, we should try to upgrade to Vue3.
Author
Owner

@Ryuno-Ki commented on GitHub (Jun 6, 2022):

I'm migrating another project to Vue 3 currently. My learnings from there:

  • make sure you are on Webpack 5 (as far as I can tell, that's already the case)
  • read https://v3-migration.vuejs.org/
  • introduce the migration build
  • start refactoring

Can we reference this issue in a new issue about Vue 3?
There are different places (like documentation etc) that would need updates, so some kind of meta-issue could help to keep track of them.

@Ryuno-Ki commented on GitHub (Jun 6, 2022): I'm [migrating another project to Vue 3](https://codeberg.org/lerntools/base) currently. My learnings from there: - make sure you are on Webpack 5 (as far as I can tell, that's already the case) - read https://v3-migration.vuejs.org/ - introduce the migration build - start refactoring Can we reference this issue in a new issue about Vue 3? There are different places (like documentation etc) that would need updates, so some kind of meta-issue could help to keep track of them.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5026