forked from forgejo/forgejo
Revert "Fix heatmap localization"
It conflicts with unmerged translations.
This reverts commit 708f4bc3b6
.
This commit is contained in:
parent
4c40a261d5
commit
ba75514887
25 changed files with 33 additions and 57 deletions
|
@ -59,22 +59,8 @@ export default {
|
|||
</div>
|
||||
<calendar-heatmap
|
||||
:locale="locale"
|
||||
:no-data-text="locale.contributions_zero"
|
||||
:tooltip-formatter="
|
||||
(v) =>
|
||||
locale.contributions_format
|
||||
.replace(
|
||||
'{contributions}',
|
||||
`<b>${v.count} ${
|
||||
v.count === 1
|
||||
? locale.contributions_one
|
||||
: locale.contributions_few
|
||||
}</b>`
|
||||
)
|
||||
.replace('{month}', locale.months[v.date.getMonth()])
|
||||
.replace('{day}', v.date.getDate())
|
||||
.replace('{year}', v.date.getFullYear())
|
||||
"
|
||||
:no-data-text="locale.no_contributions"
|
||||
:tooltip-unit="locale.contributions"
|
||||
:end-date="endDate"
|
||||
:values="values"
|
||||
:range-color="colorRange"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue