1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-23 14:46:08 +09:00

feat(i18n): adding spanish to language selector (#266)

This commit is contained in:
Cesar Gomez 2022-12-01 02:41:59 -05:00 committed by GitHub
parent a28f14cb70
commit 2b46bd5a15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 42 additions and 5 deletions

View File

@ -173,7 +173,7 @@ const { isOverDropZone } = useDropZone(dropZoneRef, onDrop)
<input
v-model="draft.params.spoilerText"
type="text"
placeholder="Write your warning here"
:placeholder="$t('placeholder.content_warning')"
p2 border-rounded w-full bg-transparent
outline-none border="~ base"
>

View File

@ -100,6 +100,7 @@
"update_status": "updated their status"
},
"placeholder": {
"content_warning": "Write your warning here",
"default_1": "What is on your mind?",
"reply_to_account": "Reply to {0}",
"replying": "Replying",
@ -123,6 +124,19 @@
"posts": "Posts",
"posts_with_replies": "Posts & Replies"
},
"time_ago_options": {
"in": "in",
"just_now": "just now",
"last_month": "last month",
"last_week": "last week",
"last_year": "last year",
"next_month": "next month",
"next_week": "next week",
"next_year": "next year",
"tomorrow": "tomorrow",
"week": "week",
"yesterday": "yesterday"
},
"timeline": {
"show_new_items": "Show {0} new items"
},

View File

@ -18,7 +18,7 @@
},
"action": {
"bookmark": "Añadir marcador",
"boost": "Me gusta",
"boost": "Retootear",
"compose": "Componer",
"enter_app": "Entrar",
"favourite": "Favorito",
@ -87,7 +87,7 @@
"sign_in_desc": "Inicia sesión para seguir perfiles o hashtags, marcar como favorito, compartir and responder a publicaciones, o interactuar desde tu usuario con un servidor diferente."
},
"notification": {
"favourited_post": "tu post fue marcado como favorito",
"favourited_post": "marcó tu publicación como favorito",
"followed_you": "te ha seguido",
"followed_you_count": "{0} personas te siguieron",
"missing_type": "MISSING notification.type:",
@ -96,8 +96,10 @@
"update_status": "ha actualizado su estado"
},
"placeholder": {
"content_warning": "Escribe tu advertencia aquí",
"default_1": "¿En qué estás pensando?",
"reply_to_account": "Responder a {0}",
"replying": "Respondiendo",
"the_thread": "el hilo"
},
"state": {
@ -106,6 +108,11 @@
"loading": "Cargando...",
"uploading": "Subiendo..."
},
"status": {
"reblogged": "{0} retooteó",
"spoiler_show_less": "Mostrar menos",
"spoiler_show_more": "Mostrar más"
},
"tab": {
"media": "Media",
"notifications_all": "Todos",
@ -113,12 +120,23 @@
"posts": "Publicaciones",
"posts_with_replies": "Publicaciones y respuestas"
},
"time_ago_options": {
"last_month": "mes pasado",
"last_week": "semana pasada",
"last_year": "año pasado",
"next_month": "próximo mes",
"next_week": "próxima semana",
"next_year": "próximo año",
"tomorrow": "mañana",
"week": "semana",
"yesterday": "ayer"
},
"timeline": {
"show_new_items": "Mostrar {0} nuevas publicaciones"
},
"title": {
"federated_timeline": "Línea de tiempo Federada",
"local_timeline": "Línea de tiempo Local"
"federated_timeline": "Línea de tiempo federada",
"local_timeline": "Línea de tiempo local"
},
"tooltip": {
"add_content_warning": "Añadir advertencia de contenido",

View File

@ -104,6 +104,11 @@ export default defineNuxtConfig({
file: 'ja-JP.json',
name: '日本語',
},
{
code: 'es-ES',
file: 'es-ES.json',
name: 'Español',
},
].sort((a, b) => a.code.localeCompare(b.code)),
strategy: 'no_prefix',
detectBrowserLanguage: false,