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 <input
v-model="draft.params.spoilerText" v-model="draft.params.spoilerText"
type="text" type="text"
placeholder="Write your warning here" :placeholder="$t('placeholder.content_warning')"
p2 border-rounded w-full bg-transparent p2 border-rounded w-full bg-transparent
outline-none border="~ base" outline-none border="~ base"
> >

View file

@ -100,6 +100,7 @@
"update_status": "updated their status" "update_status": "updated their status"
}, },
"placeholder": { "placeholder": {
"content_warning": "Write your warning here",
"default_1": "What is on your mind?", "default_1": "What is on your mind?",
"reply_to_account": "Reply to {0}", "reply_to_account": "Reply to {0}",
"replying": "Replying", "replying": "Replying",
@ -123,6 +124,19 @@
"posts": "Posts", "posts": "Posts",
"posts_with_replies": "Posts & Replies" "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": { "timeline": {
"show_new_items": "Show {0} new items" "show_new_items": "Show {0} new items"
}, },

View file

@ -18,7 +18,7 @@
}, },
"action": { "action": {
"bookmark": "Añadir marcador", "bookmark": "Añadir marcador",
"boost": "Me gusta", "boost": "Retootear",
"compose": "Componer", "compose": "Componer",
"enter_app": "Entrar", "enter_app": "Entrar",
"favourite": "Favorito", "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." "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": { "notification": {
"favourited_post": "tu post fue marcado como favorito", "favourited_post": "marcó tu publicación como favorito",
"followed_you": "te ha seguido", "followed_you": "te ha seguido",
"followed_you_count": "{0} personas te siguieron", "followed_you_count": "{0} personas te siguieron",
"missing_type": "MISSING notification.type:", "missing_type": "MISSING notification.type:",
@ -96,8 +96,10 @@
"update_status": "ha actualizado su estado" "update_status": "ha actualizado su estado"
}, },
"placeholder": { "placeholder": {
"content_warning": "Escribe tu advertencia aquí",
"default_1": "¿En qué estás pensando?", "default_1": "¿En qué estás pensando?",
"reply_to_account": "Responder a {0}", "reply_to_account": "Responder a {0}",
"replying": "Respondiendo",
"the_thread": "el hilo" "the_thread": "el hilo"
}, },
"state": { "state": {
@ -106,6 +108,11 @@
"loading": "Cargando...", "loading": "Cargando...",
"uploading": "Subiendo..." "uploading": "Subiendo..."
}, },
"status": {
"reblogged": "{0} retooteó",
"spoiler_show_less": "Mostrar menos",
"spoiler_show_more": "Mostrar más"
},
"tab": { "tab": {
"media": "Media", "media": "Media",
"notifications_all": "Todos", "notifications_all": "Todos",
@ -113,12 +120,23 @@
"posts": "Publicaciones", "posts": "Publicaciones",
"posts_with_replies": "Publicaciones y respuestas" "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": { "timeline": {
"show_new_items": "Mostrar {0} nuevas publicaciones" "show_new_items": "Mostrar {0} nuevas publicaciones"
}, },
"title": { "title": {
"federated_timeline": "Línea de tiempo Federada", "federated_timeline": "Línea de tiempo federada",
"local_timeline": "Línea de tiempo Local" "local_timeline": "Línea de tiempo local"
}, },
"tooltip": { "tooltip": {
"add_content_warning": "Añadir advertencia de contenido", "add_content_warning": "Añadir advertencia de contenido",

View file

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