1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-22 19:25:47 +00:00

do not use "on" because it is untranslatable.

This commit is contained in:
wxiaoguang 2024-05-02 20:19:49 +08:00
parent 83ab83bc57
commit fbb75990f0

View File

@ -23,7 +23,7 @@ export function initHeatmap() {
heatMapLocale: { heatMapLocale: {
months: new Array(12).fill().map((_, idx) => translateMonth(idx)), months: new Array(12).fill().map((_, idx) => translateMonth(idx)),
days: new Array(7).fill().map((_, idx) => translateDay(idx)), days: new Array(7).fill().map((_, idx) => translateDay(idx)),
on: 'on', on: ' - ', // no correct locale support for it, because in many languages the sentence is not "something on someday"
more: el.getAttribute('data-locale-more'), more: el.getAttribute('data-locale-more'),
less: el.getAttribute('data-locale-less'), less: el.getAttribute('data-locale-less'),
}, },