Add spanish localization (#536)

This commit is contained in:
Palomox 2021-08-04 11:29:46 +02:00 committed by GitHub
parent a23618cfe1
commit 1630608bb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 871 additions and 1 deletions

868
frontend/locales/es.ts Normal file
View File

@ -0,0 +1,868 @@
import { LocaleMessageObject } from "vue-i18n";
const msgs: LocaleMessageObject = {
general: {
close: 'Cerrar',
submit: 'Enviar',
save: 'Guardar',
comment: 'Comentar',
change: 'Cambiar',
donate: 'Donar',
continue: 'Continuar',
create: 'Crear',
delete: 'Eliminar',
or: 'O',
reset: 'Reiniciar',
edit: 'Editar',
required: 'Requerido',
add: 'Añadir',
name: 'Nombre',
link: 'Enlace',
send: 'Enviar',
home: 'Inicio',
message: 'Mensaje',
refresh: 'Actualizar',
confirm: 'Confirmar',
error: {
invalidUrl: 'Formato de URL inválido',
},
},
hangar: {
projectSearch: {
query: 'Buscar en {0} proyectos orgullosamente hechos por la comunidad...',
relevanceSort: 'Ordenar por importancia',
noProjects: 'No hay proyectos. 😢',
noProjectsFound: 'Se han encontrado 0 proyectos. 😢',
},
subtitle: 'Un repositorio de paquetes de Minecraft',
sponsoredBy: 'Patrocinado por',
},
pages: {
staffTitle: 'Staff',
authorsTitle: 'Autores',
headers: {
username: 'Nombre',
roles: 'Roles',
joined: 'Se unió',
projects: 'Proyectos',
},
},
nav: {
login: 'Inicio de sesión',
signup: 'Registro',
user: {
notifications: 'Notificaciones',
flags: 'Marcas',
projectApprovals: 'Aprobaciones del proyecyo',
versionApprovals: 'Versiones aprobadas',
stats: 'Estadísticas',
health: 'Salud de Hangar',
log: 'Registro de las acciones del usuario',
platformVersions: 'Versiones de la plataforma',
logout: 'Cerrar sesión',
error: {
loginFailed: 'Inicio de sesión fallido',
invalidUsername: 'Usuario inválido',
hangarAuth: "No se puede conectar a HangarAuth",
loginDisabled: 'El reguistro esta desactivado temporalmente, intentalo de nuevo más tarde',
fakeUserEnabled: 'El usuario falso esta activado. Por tanto, {0} está desactivado',
},
},
createNew: 'Crear nuevo...',
new: {
project: 'Nuevo proyecto',
organization: 'Nueva organización',
},
hangar: {
home: 'Inicio',
forums: 'Foros',
code: 'Código',
docs: 'Documentacion',
javadocs: 'JavaDocs',
hangar: 'Hangar (Plugins)',
downloads: 'Descargas',
community: 'Comunidad',
},
},
project: {
stargazers: 'Stargazers', //TODO: To be checked/
noStargazers: 'Todavía no hay stargazers en este proyecto 😢', //TODO: To be checked
watchers: 'Notificados', //TODO: To be checked
noWatchers: 'Todavía no hay notificados en este proyecto 😢', //TODO: To be checked
members: 'Miembros',
category: {
info: 'Categoría: {0}',
admin_tools: 'Herramientas de administración',
chat: 'Chat',
dev_tools: 'Herramientas de desarrollo',
economy: 'Economía',
gameplay: 'Gameplay',
games: 'Juegos',
protection: 'Protección',
role_playing: 'Roleplay',
world_management: 'Administración de mundos',
misc: 'Miscelánea',
},
actions: {
unwatch: 'Dejar de seguir',
watch: 'Seguir',
flag: 'Marcar',
star: 'Star', // TODO: To be checked
unstar: 'Unstar', //TODO: To be checked
adminActions: 'Acciones de administrador',
flagHistory: 'Historial de reportes ({0})',
staffNotes: 'Notas del staff ({0})',
userActionLogs: 'Registros de acciones del usuario',
forum: 'Foro',
},
flag: {
flagProject: 'Reportar {0}?',
flagSend: 'Reportado exitosamente, ¡gracias por ayudar a hacer de esta comunidad un lugar mejor!',
flagSent: 'Reporte enviado para ser revisado',
flags: {
inappropriateContent: 'Contenido inapropiado',
impersonation: 'Suplantacion de identidad',
spam: 'Spam',
malIntent: 'Intereses maliciosos',
other: 'Otro',
},
error: {
alreadyOpen: 'Solo puedes tener un reporte abierto por proyecto',
alreadyResolved: 'Este reporte ya está resuelto',
},
},
tabs: {
docs: 'Documentación',
versions: 'Versions',
discuss: 'Discuss', // TODO: To be checked
settings: 'Configuración',
homepage: 'Inicio',
issues: 'Problemas',
source: 'Código fuente',
support: 'Soporte',
},
new: {
step1: {
title: 'Acuerdo de usuario',
text: 'Un proyecto contiene las descargas y la documentación de tu plugin.<br>Antes de continuar, por favor revisa las <a href="#">Normas de proyectos de Hangar.</a>',
continue: 'Aceptar',
back: 'Abortar',
},
step2: {
title: 'Configuración básica',
continue: 'Continuar',
back: 'Atrás',
userSelect: 'Crear como...',
projectName: 'Nombre del proyecto',
projectSummary: 'Resumen del proyecto',
projectCategory: 'Categoría del proyecto',
},
step3: {
title: 'Configuración adicional',
continue: 'Continuar',
back: 'Atrás',
optional: 'Opcional',
links: 'Enlaces',
homepage: 'Página de inicio',
issues: 'Sistema de issues', // TODO: To be checked
source: 'Código fuente',
support: 'Soporte externo',
license: 'Licencia',
type: 'Tipo',
customName: 'Nombre',
url: 'URL',
seo: 'SEO',
keywords: 'Palabras clave',
},
step4: {
title: 'Importar desde Spigot',
continue: 'Continuar',
back: 'Atrás',
optional: 'Opcional',
convert: 'Convertir',
saveAsHomePage: 'Guardar como página de inicio',
convertLabels: {
bbCode: 'Pega tu BBCode aqui',
output: 'Salida de Markdown',
},
preview: 'Previsualización',
tutorial: 'Como sacar el BBCode',
tutorialInstructions: {
line1: 'Para sacar el BBCode de tu proyecto de Spigot, haz lo siguiente:',
line2: '1. Ve a tu proyecto y haz click en "Editar proyecto".',
line3: '2. Haz click en la llave inglesa en el editor de descripciones.',
line4: '3. Copia los contenidos y pégalos en el campo de texto del editor de arriba, si quieres haz cambios a la salida, y ¡haz click en guardar!',
},
},
step5: {
title: 'Terminando',
text: 'Creando...',
},
error: {
create: 'Hubo un error creando el proyecto',
nameExists: 'Ya existe un proyecto con este nombre',
slugExists: 'Ya existe un proyecto con este enlace',
invalidName: 'El nombre contiene caracteres inválidos',
tooLongName: 'El nombre del proyecto es demasiado largo',
tooLongDesc: 'La descripción del proyecto es demasiado larga',
tooManyKeywords: 'El proyecto tiene demasiadas palabras clave',
noCategory: 'El proyecto debe tener una categoría',
noDescription: 'El proyecto debe tener una descripción',
},
},
sendForApproval: 'Enviar para ser aprobado',
info: {
title: 'Información',
publishDate: 'Publicado en {0}',
views: '0 visitas | {0} visita | {0} visitas',
totalDownloads: '0 descargas totales| {0} descarga total | {0} descargas totales',
stars: '0 estrellas | {0} estrella | {0} estrellas',
watchers: '0 watchers | {0} watcher | {0} watchers', // TODO: To be checked
},
promotedVersions: 'Versiones promovidas', // TODO: To be checked
license: {
link: 'Licenciado bajo ',
},
error: {
star: 'No se pudo poner una estrella',
watch: 'No se pudo cambiar las notificaciones',
},
settings: {
title: 'Configuración',
category: 'Categoría',
categorySub: 'Categoriza tu proyecto en una de estas 10 categorías. Categorizando tu proyecto adecuadamente hace que se pueda encontrar más fácilmente',
keywords: 'Palabras clave',
keywordsSub: 'Palabras especiales que, cuando un usuario especifique en su búsqueda, haran que tu proyecto aparezca entre los resultados',
homepage: 'Página de inicio',
homepageSub:
'Having a custom homepage for your project helps you look more proper, official, and gives you another place to gather information about your project.',
issues: 'Issue tracker', //TODO: To be checked
issuesSub: 'Proveer un Issue Tracker facilita estar al corriente de los bugs',
source: 'Código fuente',
sourceSub: '¡Apoya a la comunidad de desarrolladores haciéndo tu proyecto de código abierto!',
support: 'Soporte externo',
supportSub: 'Un lugar externo donde puedes ofrecer soporte a tus usuarios. Podría ser un foro, un servidor de Discord, o realmente cualquier sitio',
license: 'Licencia',
licenseSub: '¿Que puede la gente (no) hacer con tu proyecto?',
forum: 'Crear nuevos posts en los foros',
forumSub: 'Marca si algunos sucesos, como la publicacion de una nueva actualización han de crear un nuevo mensaje en el foro automáticamente',
description: 'Descripción',
descriptionSub: 'Una breve descripción de tu proyecto',
icon: 'Icono',
iconSub: 'Sube una imágen que represente tu proyecto.',
iconUpload: 'Subir',
iconReset: 'Resetear icono',
apiKey: 'Claves del API',
apiKeySub: 'Genera una clave de desplegado única para automaticamente publicar desde Gradle',
apiKeyGenerate: 'Generar',
rename: 'Renombrar',
renameSub: 'Cambiar el nombre de tu proyecto puede tener consecuencias indeseadas. No se añadirá ninguna redirección.',
delete: 'Borrar',
deleteSub: 'Cuando un proyecto se borra, no se puede recuperar.',
hardDelete: 'Borrar del todo',
hardDeleteSub: 'Cuando borras un proyecto se va para siempre',
save: 'Guardar cambios',
optional: '(opcional)',
licenseCustom: 'Nombre personalizado',
licenseType: 'Tipo',
licenseUrl: 'URL',
donation: {
enable: 'Activar',
enableSub: 'Activar el formulario de donaciones para este proyecto',
email: 'Email',
emailSub: 'El correo electrónico de la cuenta de PayPal donde deben llegar las donaciones',
defaultAmount: 'Cantidad por defecto',
defaultAmountSub: 'La cantidad por defecto preseleccionada',
oneTimeAmounts: 'Cantidades de una vez',
oneTimeAmountsSub: 'Las opciones que quieres dar a usuarios que quieren donar solamente una vez. Los usuarios siempre pueden añadir otras cantidades',
monthlyAmounts: 'Cantidades mensuales',
monthlyAmountsSub: 'Las opciones que los usuarios tiene para donaciones mensuales. Los usuarios siempre pueden añadir otras cantidades',
},
error: {
invalidFile: 'El tipo de archivo {0} es inválido',
noFile: 'No has enviado un archivo',
members: {
invalidUser: '{0} no es un usuario válido',
alreadyInvited: '{0} ya está invitado al proyecto',
notMember: '{0} no es un miembro del proyecto y por ello no puedes editar su rol',
invalidRole: '{0} no puede ser añadido/eliminado del proyecto',
},
},
success: {
changedIcon: 'Se ha cambiado el icono del proyecto exitosamente',
resetIcon: 'Se ha reseteado el icono del proyecto exitosamente',
rename: 'Se ha cambiado el nombre del proyecto a {0} exitosamente',
softDelete: 'Has borrado este proyecto',
hardDelete: 'Has borrado este proyecto totalmente',
},
tabs: {
general: 'General',
optional: 'Opcional',
management: 'Administración',
donation: 'Donación',
},
},
discuss: {
login: 'Inicia sesion',
toReply: 'para responder a este conversación',
noTopic: 'No hay conversación en este proyecto',
send: '¡Respuesta publicada!',
},
},
page: {
plural: 'Páginas',
new: {
title: 'Crea una nueva página',
error: {
minLength: 'Los contenidos de la página son demasiado cortos',
maxLength: 'Los contenidos de la página son demasiado largos',
duplicateName: 'Ya hay una página con ese nombre',
invalidName: 'Nombre inválido',
name: {
maxLength: 'El nombre de la página es demasiado largo',
minLength: 'El nombre de la página es demasiado corto',
invalidChars: 'El nombre de la página contiene caracteres inválidos',
},
save: 'No se ha podido guardar la página',
},
name: 'Nombre de la página',
parent: 'Página Superior (opcional)', //TODO: to be checked
},
delete: {
title: '¿Eliminar página?',
text: '¿Seguro que quieres eliminar esta página? Esta operación no se puede deshacer.',
},
},
version: {
new: {
title: 'Crear versión...',
upload: 'Subir archivo',
uploadNew: 'Subir una nueva versión',
url: 'Escribe una URL',
form: {
versionString: 'Versión',
fileName: 'Nombre del archivo',
fileSize: 'Tamaño del archivo',
externalUrl: 'URL Externa',
hangarProject: 'Proyecto Hangar', //TODO: To be checked
channel: 'Canal',
addChannel: 'Añadir canal',
unstable: 'Inestable',
recommended: 'Recomendado',
forumPost: 'Post en el foro',
release: {
bulletin: 'Boletín de nueva versión',
desc: "¿Que hay de nuevo en esta versión?",
},
platforms: 'Platformas',
dependencies: 'Dependencias del plugin',
},
error: {
metaNotFound: 'No se ha podido leer la metadata del archivo subido',
jarNotFound: 'No se ha podido abrir el jar',
fileExtension: 'Extensión de archivo incorrecta',
unexpected: 'Un error inesperado ha sucedido',
invalidVersionString: 'Texto de versión incorrecto',
duplicateNameAndPlatform: 'Ya existe una version con este nombre para esta plataforma',
invalidNumOfPlatforms: 'Número de plataformas inválido',
duplicate: 'Ya existe una versión con este archivo',
noFile: 'No se pudo encontrar el archivo subido',
mismatchedFileSize: 'El tamaño de los archivos no coincided',
hashMismatch: 'Los hashes del archivo no coinciden',
invalidPlatformVersion: 'Versioón de Minecraft inválida para la plataforma especificada',
fileIOError: 'Error en el IO del archivo',
unknown: 'Un error desconocido ha ocurrido',
incomplete: 'Falta el archivo del plugin {0}',
noDescription: 'Tienes que añadir una descripción',
invalidPluginDependencyNamespace: 'Una dependencia declarada tiene un nombre de proyecto inválido',
invalidName: 'Nombre de la versión inválido',
channel: {
noName: 'Debes especificar un nombre para el canal',
noColor: 'Debes especificar un color para el canal',
},
},
},
edit: {
platformVersions: 'Editar las versiones de las plataformas: {0}',
pluginDeps: 'Editar las dependencias: {0}',
error: {
noPlatformVersions: 'Debes especificar al menos una versión de alguna plataforma',
invalidVersionForPlatform: '{0} es una versión inválida de {1}',
invalidProjectNamespace: '{0} es un nombre inválido',
},
},
page: {
subheader: '{0} publicó esta version el {1}',
dependencies: 'Dependencias',
platform: 'Platforma',
required: '(requerido)',
adminMsg: '{0} aprobó esta versión en {1}',
reviewLogs: 'Ver registros',
reviewStart: 'Iniciar reseña',
setRecommended: 'Marcar como recomendado',
setRecommendedTooltip: 'Marcar esta version como la recomendada para la plataforma {0}',
delete: 'Eliminar',
hardDelete: 'Eliminar (para siempre)',
restore: 'Restaurar',
download: 'Descargar',
downloadExternal: 'Descarga externa',
adminActions: 'Acciones de administrador',
recommended: 'Versión recomendada',
partiallyApproved: 'Parcialmente aprobado',
approved: 'Aprobado',
userAdminLogs: 'Registros de administración del usuario',
unsafeWarning: 'Esta versión no ha sido revisada por nuestros moderadores y podría ser peligrosa',
downloadUrlCopied: '¡Copiado!',
confirmation: {
title: 'Advertencia - {0} {1} por {2}',
alert: 'Esta versión todavía no ha sido revisada por nuestros moderadores y podría ser insegura.',
disclaimer: 'Renuncia de responsabilidad: No nos responsabilizamos de cualquier daño que esta descarga pueda producir en tu servidor o sistema si decides ignorar esta advertencia.',
agree: 'Descárgalo bajo tu propia responsabilidad',
deny: 'Atrás',
},
},
channels: 'Channels',
editChannels: 'Edit Channels',
platforms: 'Platforms',
error: {
onlyOnePublic: 'You only have 1 public version left',
},
success: {
softDelete: 'You have deleted this version',
hardDelete: 'You have fully deleted this version',
restore: 'You have restored this version',
recommended: 'You have marked this version as recommended for {0} platform',
},
},
channel: {
modal: {
titleNew: 'Add a new channel',
titleEdit: 'Edit channel',
name: 'Channel Name',
color: 'Channel Color',
reviewQueue: 'Exclude from moderation review queue?',
error: {
invalidName: 'Invalid channel name',
maxChannels: 'This project already has the maximum number of channels: {0}',
duplicateColor: 'This project already has a channel with this color',
duplicateName: 'This project already has a channel with this name',
tooLongName: 'Channel name is too long',
cannotDelete: 'You cannot delete this channel',
},
},
manage: {
title: 'Release channels',
subtitle: 'Release channels represent the state of a plugin release. A project may have up to five release channels.',
channelName: 'Channel Name',
versionCount: 'Version Count',
reviewed: 'Reviewed',
edit: 'Edit',
trash: 'Trash',
editButton: 'Edit',
deleteButton: 'Delete',
add: 'Add Channel',
},
},
organization: {
new: {
title: 'Create a new Organization',
text: 'Organizations allow you group users provide closer collaboration between them within your projects on Hangar.',
name: 'Organization Name',
error: {
duplicateName: 'An organization/user with that name already exists',
invalidName: 'Invalid organization name',
tooManyOrgs: 'You can only create a maximum of {0} organizations',
notEnabled: 'Organizations are not enabled!',
jsonError: 'Error parsing the JSON response from HangarAuth',
hangarAuthValidationError: 'Validation Error: {0}',
unknownError: 'Unknown error while creating organization',
},
},
settings: {
members: {
invalidUser: '{0} is not a valid user',
alreadyInvited: '{0} is already invited to the organization',
notMember: '{0} is not a member of the organization, therefore you cannot edit their role',
invalidRole: '{0} cannot be added/removed from the organization',
},
},
},
form: {
memberList: {
addUser: 'Add User...',
create: 'Create',
editUser: 'Edit User',
invitedAs: '(Invited as {0})',
},
},
notifications: {
title: 'Notifications',
invites: 'Invites',
invited: 'You have been invited to join the {0}',
inviteAccepted: 'You have accepted an invitation to the {0}',
readAll: 'Mark all as read',
unread: 'Unread',
read: 'Read',
all: 'All',
invite: {
all: 'All',
projects: 'Projects',
organizations: 'Organizations',
btns: {
accept: 'Accept',
decline: 'Decline',
unaccept: 'Unaccept',
},
msgs: {
accept: 'You have joined {0}',
decline: 'You have declined to join {0}',
unaccept: 'You have left {0}',
},
},
empty: {
unread: 'You have no unread notifications.',
read: 'You have no read notifications.',
all: 'You have no notifications.',
invites: 'You have no invites',
},
project: {
reviewed: '{0} {1} has been reviewed and is approved',
reviewedPartial: '{0} {1} has been reviewed and is partially approved',
newVersion: 'A new version has been released for {0}: {1}',
invite: 'You have been invited to join the group {0} on the project {1}',
inviteRescinded: 'Your invite to you the group {0} in the project {1} has been rescinded',
removed: 'You have been removed from the group {0} in the project {1}',
roleChanged: 'You have been added to the {0} group in the project {1}',
},
organization: {
invite: 'You have been invited to join the group {0} in the organization {1}',
inviteRescinded: 'Your invite to you the group {0} in the organization {1} has been rescinded',
removed: 'You have been removed from the group {0} in the organization {1}',
roleChanged: 'You have been added to the {0} group in the organization {1}',
},
},
visibility: {
notice: {
new: 'This project is new, and will not be shown to others until a version has been uploaded. If a version is not uploaded over a longer time the project will be deleted.',
needsChanges: 'This project requires changes',
needsApproval: 'You have sent the project for review',
softDelete: 'Project deleted by {0}',
},
name: {
new: 'New',
public: 'Public',
needsChanges: 'Needs Changes',
needsApproval: 'Needs Approval',
softDelete: 'Soft Delete',
},
changes: {
version: {
reviewed: 'due to approved reviews',
},
},
modal: {
activatorBtn: 'Visibility Actions',
title: "Change {0}'s visibility",
reason: 'Reason for change',
success: "You changed the {0}'s visibility to {1}",
},
},
author: {
watching: 'Watching',
stars: 'Stars',
orgs: 'Organizations',
viewOnForums: 'View on forums ',
taglineLabel: 'User Tagline',
editTagline: 'Edit Tagline',
memberSince: 'A member since {0}',
numProjects: 'No projects | {0} project | {0} projects',
addTagline: 'Add a tagline',
noOrgs: '{0} is not part of any organizations. 😢',
noWatching: '{0} is not watching any projects. 😢',
noStarred: '{0} has not starred any projects. 😢',
tooltips: {
settings: 'User Settings',
lock: 'Lock Account',
unlock: 'Unlock Account',
apiKeys: 'API Keys',
activity: 'User Activity',
admin: 'User Admin',
},
lock: {
confirmLock: "Lock {0}'s account?",
confirmUnlock: "Unlock {0}'s account?",
successLock: "Successfully locked {0}'s account",
successUnlock: "Successfully unlocked {0}'s account",
},
org: {
editAvatar: 'Edit avatar',
},
error: {
invalidTagline: 'Invalid tagline',
invalidUsername: 'Invalid username',
},
},
linkout: {
title: 'External Link Warning',
text: 'You have clicked on an external link to "{0}". If you did not intend to visit this link, please go back. Otherwise, click continue.',
abort: 'Go Back',
continue: 'Continue',
},
flags: {
header: 'Flags for',
noFlags: 'No flags found',
resolved: 'Yes, by {0} on {1}',
notResolved: 'No',
},
notes: {
header: 'Notes for',
noNotes: 'No notes found',
addNote: 'Add note',
notes: 'Notes',
placeholder: 'Add a note...',
},
stats: {
title: 'Stats',
plugins: 'Plugins',
reviews: 'Reviews',
uploads: 'Uploads',
downloads: 'Downloads',
totalDownloads: 'Total Downloads',
unsafeDownloads: 'Unsafe Downloads',
flags: 'Flags',
openedFlags: 'Opened Flags',
closedFlags: 'Closed Flags',
},
health: {
title: 'Hangar Health Report',
noTopicProject: 'Missing discussion topic',
erroredJobs: 'Failed jobs',
jobText: 'Job type: {0}, Error Type: {1}, Happened: {2}',
staleProjects: 'Stale projects',
notPublicProjects: 'Hidden projects',
noPlatform: 'No platform detected',
missingFileProjects: 'Missing File',
empty: 'Empty! All good!',
},
reviews: {
headline: '{0} released this version on {1}',
title: 'Review logs',
projectPage: 'Project Page',
downloadFile: 'Download File',
startReview: 'Start Review',
stopReview: 'Stop Review',
approve: 'Approve',
approvePartial: 'Approve Partial',
notUnderReview: 'This version is not under review',
reviewMessage: 'Review Message',
addMessage: 'Add Message',
reopenReview: 'Reopen Review',
undoApproval: 'Undo Approval',
hideClosed: 'Hide all finished reviews',
error: {
noReviewStarted: 'There is no unfinished review to add a message to',
notCorrectUser: 'You are not the user that started this review',
cannotReopen: 'Unable to reopen this review',
onlyOneReview: 'Cannot have more than 1 review for a version',
badUndo: 'Can only undo approval after an approval',
},
presets: {
message: '{msg}',
start: '{name} started a review',
stop: '{name} stopped a review: {msg}',
reopen: '{name} reopened a review',
approve: '{name} approved this version',
approvePartial: '{name} partially approved this version',
undoApproval: '{name} has undone their approval',
reviewTitle: "{name}'s Review",
},
state: {
ongoing: 'Ongoing',
stopped: 'Stopped',
approved: 'Approved',
partiallyApproved: 'Partially Approved',
lastUpdate: 'Last Update: {0}',
},
},
apiKeys: {
title: 'API Keys',
createNew: 'Create new key',
existing: 'Existing keys',
name: 'Name',
key: 'Key',
keyIdentifier: 'Key Identifier',
permissions: 'Permissions',
delete: 'Delete',
deleteKey: 'Delete Key',
createKey: 'Create key',
noKeys: 'There are no api keys yet. You can create one on the right side',
success: {
delete: 'You have deleted the key: {0}',
create: 'You have created the key: {0}',
},
error: {
notEnoughPerms: 'Not enough permissions to create that key',
duplicateName: 'Duplicate key name',
},
},
apiDocs: {
title: 'API Docs',
},
platformVersions: {
title: 'Configure Platform Versions',
platform: 'Platform',
versions: 'Versions',
addVersion: 'Add Version',
saveChanges: 'Save Changes',
success: 'Updated platform versions',
},
flagReview: {
title: 'Flags',
noFlags: 'There are no flags to review.',
msgUser: 'Message user',
msgProjectOwner: 'Message owner',
markResolved: 'Mark resolved',
line1: '{0} reported {1} on {2}',
line2: 'Reason: {0}',
line3: 'Comment: {0}',
},
userActivity: {
title: "{0}'s Activity",
reviews: 'Reviews',
flags: 'Flags',
reviewApproved: 'Review Approved',
flagResolved: 'Flag Resolved',
error: {
isOrg: 'Cannot show activity for organization users',
},
},
userAdmin: {
title: 'Edit User',
organizations: 'Organizations',
organization: 'Organization',
projects: 'Projects',
project: 'Project',
owner: 'Owner',
role: 'Role',
accepted: 'Accepted',
sidebar: 'Other Administration',
hangarAuth: 'HangarAuth Profile',
forum: 'Forum Profile',
},
userActionLog: {
title: 'User Action Log',
user: 'User',
address: 'IP Address',
time: 'Time',
action: 'Action',
context: 'Context',
oldState: 'Old State',
newState: 'New State',
markdownView: 'Markdown View',
diffView: 'Diff View',
types: {
ProjectVisibilityChanged: 'The project visibility state was changed',
ProjectRename: 'The project was renamed',
ProjectFlagged: 'The project got flagged',
ProjectSettingsChanged: 'The project settings were changed',
ProjectIconChanged: 'The project icon was changed',
ProjectFlagResolved: 'The flag was resolved',
ProjectChannelCreated: 'A project channel was created',
ProjectChannelEdited: 'A project channel was edited',
ProjectChannelDeleted: 'A project channel was deleted',
ProjectInvitesSent: 'Project invites were sent',
ProjectInviteDeclined: 'A project invite was declined',
ProjectInviteUnaccepted: 'A project invite was unaccepted',
ProjectMemberAdded: 'A project member was added',
ProjectMembersRemoved: 'Project members were removed',
ProjectMemberRolesChanged: 'Project members had their roles updated',
ProjectPageCreated: 'A project page was created',
ProjectPageDeleted: 'A project page was deleted',
ProjectPageEdited: 'A project page was edited',
VersionVisibilityChanged: "The version's visibility state was changed",
VersionDeleted: 'The version was deleted',
VersionCreated: 'A new version was uploaded',
VersionDescriptionEdited: 'The version description was edited',
VersionReviewStateChanged: "The version's review state was changed",
VersionPluginDependencyAdded: 'A plugin dependency was added',
VersionPluginDependencyEdited: 'A plugin dependency was edited',
VersionPluginDependencyRemoved: 'A plugin dependency was removed',
VersionPlatformDependencyAdded: 'A platform dependency was added',
VersionPlatformDependencyRemoved: 'A platform dependency was removed',
UserTaglineChanged: 'The user tagline changed',
UserLocked: 'This user is locked',
UserUnlocked: 'This user is unlocked',
UserApikeyCreated: 'An apikey was created',
UserApikeyDeleted: 'An apikey was deleted',
OrganizationInvitesSent: 'Organization invites were sent',
OrganizationInviteDeclined: 'An organization invite was declined',
OrganizationInviteUnaccepted: 'An organization invite was unaccepted',
OrganizationMemberAdded: 'An organization member was added',
OrganizationMembersRemoved: 'Organization members were removed',
OrganizationMemberRolesChanged: 'Organization members had their roles updated',
},
},
versionApproval: {
title: 'Version Approvals',
inReview: 'In Review',
approvalQueue: 'Approval queue',
queuedBy: 'Queued by',
status: 'Status',
project: 'Project',
date: 'Date',
version: 'Version',
started: 'Started: {0}',
ended: 'Ended: {0}',
statuses: {
ongoing: '{0} ongoing',
stopped: '{0} stopped',
approved: '{0} approved',
},
},
projectApproval: {
title: 'Project Approvals',
sendForApproval: 'You have sent the project for approval',
noProjects: 'No projects',
needsApproval: 'Needs Approval',
awaitingChanges: 'Awaiting Changes',
description: '{0} requested changes on {1}',
},
donate: {
title: 'Donate to {}',
monthly: 'Monthly',
oneTime: 'One-Time',
selectAmount: 'Select an amount above or enter an amount below',
legal: 'By donating to {0} you agree to Y and that tacos are delicious',
cta: 'Donate',
submit: 'Donate {0}',
},
lang: {
button: 'Switch Language',
title: 'Switch Language',
available: 'Available Language',
hangarAuth: 'This only change the locale for your current browser (as a cookie). Click here to change your lang on paper auth for all paper services',
},
validation: {
required: '{0} is required',
maxLength: 'Maximum length is {0}',
minLength: 'Minimum length is {0}',
invalidFormat: '{0} is invalid',
invalidUrl: 'Invalid URL format',
},
prompts: {
confirm: 'Got it!',
changeAvatar: {
title: 'Change your avatar!',
message: "Welcome to your new organization! Start by changing it's avatar by clicking on it.",
},
},
error: {
userLocked: 'Your account is locked.',
401: 'You must be logged in for this',
403: 'You do not have permission to do that',
404: '404 Not found',
unknown: 'An error occurred',
},
};
export default msgs;

View File

@ -5,7 +5,7 @@ import en from './locales/en';
import fr from './locales/fr';
import zh from './locales/zh_hans';
import nl from './locales/nl';
import es from './locales/es';
require('events').EventEmitter.defaultMaxListeners = 20;
require('dotenv').config();
@ -133,6 +133,7 @@ export default {
{ code: 'en', iso: 'en-US', name: 'English', icon: 'Test' },
{ code: 'zh', iso: 'zh-HANS', name: 'Simplified Chinese', icon: 'Test' },
{ code: 'nl', iso: 'nl-NL', name: 'Nederlands', icon: 'Test' },
{ code: 'es', iso: 'es-ES', name: "Español", icon: 'Test'}
],
vueI18n: {
locale: 'en',
@ -142,6 +143,7 @@ export default {
fr,
zh,
nl,
es,
},
},
detectBrowserLanguage: {