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

Co-authored-by: Michel Edighoffer <edimitchel@gmail.com>
zio/stable
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" v-if="status.inReplyToId"
flex="~" items-center h-auto font-bold text-sm text-secondary gap-1 flex="~" items-center h-auto font-bold text-sm text-secondary gap-1
:to="getStatusInReplyToRoute(status)" :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"> <template v-if="account">
<div i-ri:reply-fill :class="collapsed ? '' : 'scale-x-[-1]'" text-secondary-light /> <div i-ri:reply-fill :class="collapsed ? '' : 'scale-x-[-1]'" text-secondary-light />

View File

@ -297,7 +297,8 @@
"finished": "finished {0}" "finished": "finished {0}"
}, },
"reblogged": "{0} reblogged", "reblogged": "{0} reblogged",
"someone": "Someone", "replying_to": "Replying to {0}",
"someone": "someone",
"spoiler_show_less": "Show less", "spoiler_show_less": "Show less",
"spoiler_show_more": "Show more", "spoiler_show_more": "Show more",
"try_original_site": "Try original site" "try_original_site": "Try original site"

View File

@ -354,7 +354,8 @@
"finished": "finished {0}" "finished": "finished {0}"
}, },
"reblogged": "{0} reblogged", "reblogged": "{0} reblogged",
"someone": "Someone", "replying_to": "Replying to {0}",
"someone": "someone",
"spoiler_show_less": "Show less", "spoiler_show_less": "Show less",
"spoiler_show_more": "Show more", "spoiler_show_more": "Show more",
"try_original_site": "Try original site" "try_original_site": "Try original site"

View File

@ -315,7 +315,8 @@
"finished": "finalizada {0}" "finished": "finalizada {0}"
}, },
"reblogged": "{0} retooteó", "reblogged": "{0} retooteó",
"someone": "Alguien", "replying_to": "Respondiendo a {0}",
"someone": "alguien",
"spoiler_show_less": "Mostrar menos", "spoiler_show_less": "Mostrar menos",
"spoiler_show_more": "Mostrar más", "spoiler_show_more": "Mostrar más",
"thread": "Hilo", "thread": "Hilo",

View File

@ -296,7 +296,8 @@
"finished": "clos {0}" "finished": "clos {0}"
}, },
"reblogged": "{0} relayé", "reblogged": "{0} relayé",
"someone": "Quelqu'un", "replying_to": "Répondre à {0}",
"someone": "quelqu'un",
"spoiler_show_less": "Voir moins", "spoiler_show_less": "Voir moins",
"spoiler_show_more": "Voir plus", "spoiler_show_more": "Voir plus",
"try_original_site": "Essayer le site d'origine" "try_original_site": "Essayer le site d'origine"