Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[es] Update Spanish Translation #432

Merged
merged 2 commits into from
Jan 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
The MIT License (MIT)

Copyright (c) 2014-2019 British Columbia Institute of Technology
Copyright (c) 2019-2023 CodeIgniter Foundation
Copyright (c) 2019-2024 CodeIgniter Foundation

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 4 additions & 0 deletions Language/es/CLI.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
'generator' => [
'cancelOperation' => 'La operación ha sido cancelada.', // 'Operation has been cancelled.',
'className' => [
'cell' => 'Nombre de la clase Cell', // 'Cell class name',
'command' => 'Nombre de la clase Command', // 'Command class name',
'config' => 'Nombre de la clase Config', // 'Config class name',
'controller' => 'Nombre de la clase Controller', // 'Controller class name',
Expand All @@ -38,6 +39,9 @@
'returnType' => 'Tipo de retorno', // 'Return type',
'tableName' => 'Nombre de la tabla', // 'Table name',
'usingCINamespace' => 'Advertencia: El uso del espacio de nombres "CodeIgniter" generará el archivo en el directorio del sistema.', // 'Warning: Using the "CodeIgniter" namespace will generate the file in the system directory.'
'viewName' => [
'cell' => 'Nombre de la vista Cell', // 'Cell view name',
],
],
'helpArguments' => 'Argumentos:', // 'Arguments:',
'helpDescription' => 'Descripción:', // 'Description:',
Expand Down
1 change: 1 addition & 0 deletions Language/es/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
'copyError' => 'Se encontró un error al intentar reemplazar el archivo ({0}). Asegúrese de que su directorio de archivos sea editable.', // 'An error was encountered while attempting to replace the file({0}). Please make sure your file directory is writable.',
'enabledZlibOutputCompression' => 'Su directiva ini zlib.output_compression está activada. Esto no funcionará bien con búferes de salida.', // 'Your zlib.output_compression ini directive is turned on. This will not work well with output buffers.',
'invalidFile' => 'Archivo inválido: {0}', // 'Invalid file: {0}',
'invalidDirectory' => 'El directorio no existe: "{0}"', // 'Directory does not exist: "{0}"',
'invalidPhpVersion' => 'Su versión de PHP debe ser {0} o superior para ejecutar CodeIgniter. Versión actual: {1}', // 'Your PHP version must be {0} or higher to run CodeIgniter. Current version: {1}',
'missingExtension' => 'La extensión {0} no está cargada.', // '{0} extension is not loaded.',
'noHandlers' => '{0} debe proporcionar al menos un controlador.', // {0} must provide at least one Handler.
Expand Down
1 change: 1 addition & 0 deletions Language/es/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@
'fieldNotExists' => 'No se encontró el campo `{0}`.', // 'Field `{0}` not found.',
'forEmptyInputGiven' => 'Se proporciona una declaración vacía para el campo `{0}`', // 'Empty statement is given for the field `{0}`',
'forFindColumnHaveMultipleColumns' => 'Solo se permite una sola columna en el nombre de la columna.', // 'Only single column allowed in Column name.',
'methodNotAvailable' => 'No puede utilizar `{1}` en `{0}`. Este es un método de la clase Query Builder.', // 'You cannot use "{1}" in "{0}". This is a method of the Query Builder Class.',
];
19 changes: 19 additions & 0 deletions Language/es/Errors.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

/**
* This file is part of CodeIgniter 4 framework.
*
* (c) CodeIgniter Foundation <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

// Errors language settings
return [
'pageNotFound' => '404 Pagina no encontrada', // '404 - Page Not Found',
'sorryCannotFind' => '¡Lo siento! Parece que no puedo encontrar la página que estabas buscando.', // 'Sorry! Cannot seem to find the page you were looking for.',
'whoops' => '¡Vaya!', // 'Whoops!',
'weHitASnag' => 'Parece que nos hemos topado con un problema. Por favor, inténtelo de nuevo más tarde...
', // 'We seem to have hit a snag. Please try again later...',
];
6 changes: 4 additions & 2 deletions Language/es/Files.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

// Files language settings
return [
'fileNotFound' => 'Archivo no encontrado: {0}', // 'File not found: {0}',
'cannotMove' => 'No se pudo mover el archivo {0} a {1} ({2})', // 'Could not move file {0} to {1} ({2})',
'fileNotFound' => 'Archivo no encontrado: {0}', // 'File not found: {0}',
'cannotMove' => 'No se pudo mover el archivo {0} a {1} ({2})', // 'Could not move file {0} to {1} ({2})',
'expectedDirectory' => '{0} espera un directorio válido.', // '{0} expects a valid directory.',
'expectedFile' => '{0} espera un archivo válido.', // '{0} expects a valid file.',
];
4 changes: 4 additions & 0 deletions Language/es/HTTP.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

// IncomingRequest
'invalidNegotiationType' => '{0} no es un tipo de negociación válido. Debe ser uno de: media, charset, encoding, language.', // '{0} is not a valid negotiation type. Must be one of: media, charset, encoding, language.',
'invalidJSON' => 'No se pudo analizar la cadena JSON. Error: {0}', // 'Failed to parse JSON string. Error: {0}',
'unsupportedJSONFormat' => 'El formato JSON proporcionado no es compatible', // 'The provided JSON format is not supported.',,

// Message
'invalidHTTPProtocol' => 'Versión de protocolo HTTP no válida. Debe ser una de: {0}', // 'Invalid HTTP Protocol Version. Must be one of: {0}',
Expand Down Expand Up @@ -52,8 +54,10 @@
'emptyController' => 'Ningún controlador especificado.', // 'No Controller specified.',
'controllerNotFound' => 'Controlador o su método no encontrado: {0}::{1}', // 'Controller or its method is not found: {0}::{1}',
'methodNotFound' => 'No se encontró el método del controlador: {0}', // 'Controller method is not found: {0}',
'localeNotSupported' => 'La configuración regional no es compatible: {0}', // 'Locale is not supported: {0}',

// CSRF
// @deprecated use 'Security.disallowedAction'
'disallowedAction' => 'La acción que solicitó no está permitida.', // 'The action you requested is not allowed.',

// Uploaded file moving
Expand Down
15 changes: 15 additions & 0 deletions Language/es/Language.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

/**
* This file is part of CodeIgniter 4 framework.
*
* (c) CodeIgniter Foundation <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

// "Language" language settings
return [
'invalidMessageFormat' => 'Formato de mensaje no válido: "{0}", argumentos: "{1}"', // 'Invalid message format: "{0}", args: "{1}"',
];
1 change: 1 addition & 0 deletions Language/es/Migrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

'latest' => 'Migrando a la última versión...',
'generalFault' => '¡La migración falló!',
'migrated' => 'Migraciones completadas.', // 'Migrations complete.',
'migInvalidVersion' => 'Número de versión incorrecta.',
'toVersionPH' => 'Migrando a la versión %s...',
'toVersion' => 'Migrando a la versión actual...',
Expand Down
22 changes: 22 additions & 0 deletions Language/es/Publisher.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

/**
* This file is part of CodeIgniter 4 framework.
*
* (c) CodeIgniter Foundation <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

// Publisher language settings
return [
'collision' => 'El editor encontró un "{0}" inesperado al copiar "{1}" en "{2}".', // 'Publisher encountered an unexpected "{0}" while copying "{1}" to "{2}".',
'destinationNotAllowed' => 'El destino no está en la lista permitida de directorios de editores: "{0}"', // 'Destination is not on the allowed list of Publisher directories: "{0}"',
'fileNotAllowed' => '"{0}" no cumple con la siguiente restricción para "{1}": {2}', // '"{0}" fails the following restriction for "{1}": {2}',

// Publish Command
'publishMissing' => 'No se detectaron clases de editor en {0} en todos los espacios de nombres.', // 'No Publisher classes detected in {0} across all namespaces.',
'publishSuccess' => '"{0}" publicó {1} archivo(s) en "{2}".', // '"{0}" published {1} file(s) to "{2}".',
'publishFailure' => '"{0}" no pudo publicar en "{1}".', // '"{0}" failed to publish to "{1}".',
];
6 changes: 4 additions & 2 deletions Language/es/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

// Router language settings
return [
'invalidParameter' => 'Un parámetro no corresponde con el tipo esperado.',
'missingDefaultRoute' => 'No se ha podido determinar que debe ser mostrado. No se ha establecido una ruta por defecto en el archivo de enrutado.',
'invalidParameter' => 'Un parámetro no corresponde con el tipo esperado.',
'missingDefaultRoute' => 'No se ha podido determinar que debe ser mostrado. No se ha establecido una ruta por defecto en el archivo de enrutado.',
'invalidDynamicController' => 'No se permite un controlador dinámico por razones de seguridad. Controlador de ruta: {0}', // 'A dynamic controller is not allowed for security reasons. Route handler: "{0}"',
'invalidControllerName' => 'El delimitador del espacio de nombres es una barra invertida (\), no una barra (/). Controlador de ruta: "{0}"', // 'The namespace delimiter is a backslash (\), not a slash (/). Route handler: "{0}"',
];
15 changes: 15 additions & 0 deletions Language/es/Test.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

/**
* This file is part of CodeIgniter 4 framework.
*
* (c) CodeIgniter Foundation <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

// Testing language settings
return [
'invalidMockClass' => '"{0}" no es una clase Mock válida', // '"{0}" is not a valid Mock class',
];
1 change: 1 addition & 0 deletions Language/es/Validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
'valid_url' => 'El campo {field} debe contener una URL válida.',
'valid_url_strict' => 'El campo {field} debe contener una URL válida.',
'valid_date' => 'El campo {field} debe contener una fecha válida.',
'valid_json' => 'El campo {field} debe contener un json válido.', // 'The {field} field must contain a valid json.',

// Credit Cards
'valid_cc_num' => '{field} no parece ser un número de tarjeta de crédito válida.',
Expand Down
1 change: 1 addition & 0 deletions Language/es/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@
'noCellClass' => 'No se ha establecido una clase de vista de celda.',
'invalidCellClass' => 'No se ha podido localizar la clase de vista de celda: {0}.',
'tagSyntaxError' => 'Tiene un error de sintaxis en su analizador de etiquetas: {0}',
'invalidDecoratorClass' => '"{0}" no es un decorador de vistas válido.', // '"{0}" is not a valid View Decorator.',
];