feat(i18n): add i18n to StatusReplyingTo (#857)

Co-authored-by: Michel Edighoffer <edimitchel@gmail.com>
This commit is contained in:
Joaquín Sánchez 2023-01-07 21:27:28 +01:00 committed by GitHub
parent 31ae413da4
commit b5e14810af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 5 deletions

View file

@ -17,7 +17,7 @@ const account = isSelf ? computed(() => status.account) : useAccountById(status.
v-if="status.inReplyToId"
flex="~" items-center h-auto font-bold text-sm text-secondary gap-1
:to="getStatusInReplyToRoute(status)"
:title="account ? `Replying to ${getDisplayName(account)}` : 'Replying to someone'"
:title="$t('status.replying_to', [account ? getDisplayName(account) : $t('status.someone')])"
>
<template v-if="account">
<div i-ri:reply-fill :class="collapsed ? '' : 'scale-x-[-1]'" text-secondary-light />