commit: 41a1a75f7480b814b417e536e2ff5b5c8af3c16e
parent 32d07606ba0c97aed8250f62fb9c0a5e1b65edea
Author: Henry Jameson <me@hjkos.com>
Date: Sat, 4 Jan 2025 01:39:20 +0200
another $tc
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/timeago/timeago.vue b/src/components/timeago/timeago.vue
@@ -40,7 +40,7 @@ export default {
return this.timeAsDate.toLocaleString(this.browserLocale)
},
relativeTimeString () {
- const timeString = this.$i18n.tc(this.relativeTime.key, this.relativeTime.num, [this.relativeTime.num])
+ const timeString = this.$i18n.t(this.relativeTime.key, [this.relativeTime.num], this.relativeTime.num)
if (typeof this.templateKey === 'string' && this.relativeTime.key !== 'time.now') {
return this.$i18n.t(this.templateKey, [timeString])