diff options
author | 0ko <0ko@noreply.codeberg.org> | 2024-03-19 10:37:03 +0100 |
---|---|---|
committer | Earl Warren <contact@earl-warren.org> | 2024-03-20 08:20:08 +0100 |
commit | 26e4af4268080d940674a05d0da272a0783315dd (patch) | |
tree | a514ec14295ed54fe5b42000262c89eeea93bc11 /templates | |
parent | [I18N] Translations update from Weblate (#2645) (diff) | |
download | forgejo-26e4af4268080d940674a05d0da272a0783315dd.tar.xz forgejo-26e4af4268080d940674a05d0da272a0783315dd.zip |
Fix heatmap localization
Fixes #2552
(cherry picked from commit 708f4bc3b6bb40dd2b18ff7c009e2f9cfe7c4780)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/user/heatmap.tmpl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/user/heatmap.tmpl b/templates/user/heatmap.tmpl index b604b929a3..05403e34e3 100644 --- a/templates/user/heatmap.tmpl +++ b/templates/user/heatmap.tmpl @@ -2,7 +2,10 @@ <div id="user-heatmap" class="is-loading" data-heatmap-data="{{JsonUtils.EncodeToString .HeatmapData}}" data-locale-total-contributions="{{ctx.Locale.Tr "heatmap.number_of_contributions_in_the_last_12_months" (ctx.Locale.PrettyNumber .HeatmapTotalContributions)}}" - data-locale-no-contributions="{{ctx.Locale.Tr "heatmap.no_contributions"}}" + data-locale-contributions-zero="{{ctx.Locale.Tr "heatmap.contributions_zero"}}" + data-locale-contributions-format="{{ctx.Locale.Tr "heatmap.contributions_format"}}" + data-locale-contributions-one="{{ctx.Locale.Tr "heatmap.contributions_one"}}" + data-locale-contributions-few="{{ctx.Locale.Tr "heatmap.contributions_few"}}" data-locale-more="{{ctx.Locale.Tr "heatmap.more"}}" data-locale-less="{{ctx.Locale.Tr "heatmap.less"}}" ></div> |