1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

vue ui i18n: fixed missing "in/on"

This commit is contained in:
Ivan Velev 2022-02-07 20:31:52 -08:00
parent ec0957aae9
commit 3f753d1392
2 changed files with 6 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -10,7 +10,7 @@
</div>
<div v-else-if="tooltipPeriod.snapshotCount">
{{ $root._(
`{capture_text} {${isTooltipPeriodDayOrHour ? 'date':'month'}\}`,
isTooltipPeriodDayOrHour ? '{capture_text} on {date}':'{capture_text} in {month}',
{ capture_text: $root._(`{count} capture${tooltipPeriod.snapshotCount !== 1 ?'s':''}`, {count: tooltipPeriod.snapshotCount}), [isTooltipPeriodDayOrHour ? 'date':'month']: tooltipPeriod.getFullReadableId() } )
}}
</div>