fix(i18n): add missing translation (#504)
parent
30e9c3d773
commit
4e846ca8f5
|
@ -25,7 +25,7 @@ const description = ref(props.attachment.description ?? '')
|
||||||
<div absolute right-2 top-2>
|
<div absolute right-2 top-2>
|
||||||
<div
|
<div
|
||||||
v-if="removable"
|
v-if="removable"
|
||||||
aria-label="Remove attachment"
|
:aria-label="$t('attachment.remove_label')"
|
||||||
hover:bg="gray/40" transition-100 p-1 rounded-5 cursor-pointer
|
hover:bg="gray/40" transition-100 p-1 rounded-5 cursor-pointer
|
||||||
:class="[isHydrated.value && isSmallScreen ? '' : 'op-0 group-hover:op-100hover:']"
|
:class="[isHydrated.value && isSmallScreen ? '' : 'op-0 group-hover:op-100hover:']"
|
||||||
mix-blend-difference
|
mix-blend-difference
|
||||||
|
@ -36,7 +36,7 @@ const description = ref(props.attachment.description ?? '')
|
||||||
</div>
|
</div>
|
||||||
<div absolute right-2 bottom-2>
|
<div absolute right-2 bottom-2>
|
||||||
<button class="bg-black/75" text-white px2 py1 rounded-2 @click="isEditDialogOpen = true">
|
<button class="bg-black/75" text-white px2 py1 rounded-2 @click="isEditDialogOpen = true">
|
||||||
Edit
|
{{ $t('action.edit') }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<ModalDialog
|
<ModalDialog
|
||||||
|
@ -48,16 +48,16 @@ const description = ref(props.attachment.description ?? '')
|
||||||
<div flex gap-5>
|
<div flex gap-5>
|
||||||
<div flex flex-col gap-2 justify-between>
|
<div flex flex-col gap-2 justify-between>
|
||||||
<h1 id="edit-attachment" font-bold>
|
<h1 id="edit-attachment" font-bold>
|
||||||
Description
|
{{ $t('attachment.edit_title') }}
|
||||||
</h1>
|
</h1>
|
||||||
<div flex flex-col gap-2>
|
<div flex flex-col gap-2>
|
||||||
<textarea v-model="description" p-3 w-100 h-50 bg-base rounded-2 border-strong border-1 />
|
<textarea v-model="description" p-3 w-100 h-50 bg-base rounded-2 border-strong border-1 />
|
||||||
<button btn-outline @click="$emit('setDescription', description)">
|
<button btn-outline @click="$emit('setDescription', description)">
|
||||||
Apply
|
{{ $t('action.apply') }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<button btn-outline @click="isEditDialogOpen = false">
|
<button btn-outline @click="isEditDialogOpen = false">
|
||||||
Close
|
{{ $t('action.close') }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<StatusAttachment :attachment="attachment" w-full />
|
<StatusAttachment :attachment="attachment" w-full />
|
||||||
|
|
|
@ -31,12 +31,14 @@
|
||||||
"unmute": "Unmute"
|
"unmute": "Unmute"
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"apply": "Apply",
|
||||||
"bookmark": "Bookmark",
|
"bookmark": "Bookmark",
|
||||||
"bookmarked": "Bookmarked",
|
"bookmarked": "Bookmarked",
|
||||||
"boost": "Boost",
|
"boost": "Boost",
|
||||||
"boosted": "Boosted",
|
"boosted": "Boosted",
|
||||||
"close": "Close",
|
"close": "Close",
|
||||||
"compose": "Compose",
|
"compose": "Compose",
|
||||||
|
"edit": "Edit",
|
||||||
"enter_app": "Enter App",
|
"enter_app": "Enter App",
|
||||||
"favourite": "Favourite",
|
"favourite": "Favourite",
|
||||||
"favourited": "Favourited",
|
"favourited": "Favourited",
|
||||||
|
@ -53,6 +55,10 @@
|
||||||
"app_desc_short": "A nimble Mastodon web client",
|
"app_desc_short": "A nimble Mastodon web client",
|
||||||
"app_logo": "Elk Logo",
|
"app_logo": "Elk Logo",
|
||||||
"app_name": "Elk",
|
"app_name": "Elk",
|
||||||
|
"attachment": {
|
||||||
|
"edit_title": "Description",
|
||||||
|
"remove_label": "Remove attachment"
|
||||||
|
},
|
||||||
"command": {
|
"command": {
|
||||||
"activate": "Activate",
|
"activate": "Activate",
|
||||||
"complete": "Complete",
|
"complete": "Complete",
|
||||||
|
|
|
@ -31,12 +31,14 @@
|
||||||
"unmute": "Dejar de silenciar"
|
"unmute": "Dejar de silenciar"
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
|
"apply": "Aplicar",
|
||||||
"bookmark": "Añadir marcador",
|
"bookmark": "Añadir marcador",
|
||||||
"bookmarked": "Guardado como marcador",
|
"bookmarked": "Guardado como marcador",
|
||||||
"boost": "Retootear",
|
"boost": "Retootear",
|
||||||
"boosted": "Retooteado",
|
"boosted": "Retooteado",
|
||||||
"close": "Cerrar",
|
"close": "Cerrar",
|
||||||
"compose": "Redactar",
|
"compose": "Redactar",
|
||||||
|
"edit": "Editar",
|
||||||
"enter_app": "Entrar",
|
"enter_app": "Entrar",
|
||||||
"favourite": "Favorito",
|
"favourite": "Favorito",
|
||||||
"favourited": "Marcado como favorito",
|
"favourited": "Marcado como favorito",
|
||||||
|
@ -50,9 +52,13 @@
|
||||||
"switch_account": "Cambiar cuenta",
|
"switch_account": "Cambiar cuenta",
|
||||||
"vote": "Votar"
|
"vote": "Votar"
|
||||||
},
|
},
|
||||||
"app_desc_short": "Un cliente Mastodon hecho con 🧡",
|
"app_desc_short": "Un ágil cliente web de Mastodon",
|
||||||
"app_logo": "Logotipo de Elk",
|
"app_logo": "Logotipo de Elk",
|
||||||
"app_name": "Elk",
|
"app_name": "Elk",
|
||||||
|
"attachment": {
|
||||||
|
"edit_title": "Descripción",
|
||||||
|
"remove_label": "Eliminar archivo adjunto"
|
||||||
|
},
|
||||||
"command": {
|
"command": {
|
||||||
"activate": "Activar",
|
"activate": "Activar",
|
||||||
"complete": "Completar",
|
"complete": "Completar",
|
||||||
|
|
Loading…
Reference in New Issue