From fbb75990f00d1aad8894e0bda392850b1539f60a Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Thu, 2 May 2024 20:19:49 +0800 Subject: [PATCH] do not use "on" because it is untranslatable. --- web_src/js/features/heatmap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/js/features/heatmap.js b/web_src/js/features/heatmap.js index 753a923361..719eeb75fb 100644 --- a/web_src/js/features/heatmap.js +++ b/web_src/js/features/heatmap.js @@ -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'), },