aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeago/timeago.vue
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2022-06-19 20:28:29 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2022-06-19 20:28:29 +0000
commitda022e722ed55de376d6f0475c78405e3f9b0d7e (patch)
treec3fd750182b61484187fb0c6d9df593e3433309f /src/components/timeago/timeago.vue
parent2b10fe06fa0f518e61c507f09f6da6df760ffa30 (diff)
parent13cff692f0633bfccb7896e774fcf4820ddbb4c2 (diff)
Merge branch 'from/develop/tusooa/unit-pl' into 'develop'
Use vue-i18n to determine plural forms of time units Closes #1164 See merge request pleroma/pleroma-fe!1535
Diffstat (limited to 'src/components/timeago/timeago.vue')
-rw-r--r--src/components/timeago/timeago.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/timeago/timeago.vue b/src/components/timeago/timeago.vue
index bed29020..2b487dfd 100644
--- a/src/components/timeago/timeago.vue
+++ b/src/components/timeago/timeago.vue
@@ -3,7 +3,7 @@
:datetime="time"
:title="localeDateString"
>
- {{ $t(relativeTime.key, [relativeTime.num]) }}
+ {{ $tc(relativeTime.key, relativeTime.num, [relativeTime.num]) }}
</time>
</template>