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
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ export function initHeatmap() {
heatMapLocale: {
months: new Array(12).fill().map((_, idx) => translateMonth(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'),
less: el.getAttribute('data-locale-less'),
},