diff --git a/config/translations/es/cache.context.debug.yml b/config/translations/es/cache.context.debug.yml new file mode 100644 index 000000000..a981647f1 --- /dev/null +++ b/config/translations/es/cache.context.debug.yml @@ -0,0 +1,5 @@ +description: 'Muestra el contexto de caché actual para la aplicación.' +messages: + code: 'ID del Contexto' + label: 'Etiqueta' + class: 'Ruta de la clase' diff --git a/config/translations/es/event.debug.yml b/config/translations/es/event.debug.yml index 557b4b3da..a963836b4 100644 --- a/config/translations/es/event.debug.yml +++ b/config/translations/es/event.debug.yml @@ -1,9 +1,9 @@ -description: 'Display current events ' -help: 'The event:debug command helps you debug events.' +description: 'Mostrar los eventos actuales ' +help: 'El comando event:debug le ayuda a depurar eventos.' arguments: - event: 'Event to debug' + event: 'El evento a depurar' messages: - event: Event Name - class: 'Class' - method: 'Method' - no-events: "This event does not exist, try to execute command: event:debug" \ No newline at end of file + event: 'Nombre del evento' + class: 'Clase' + method: 'Método' + no-events: "Ese evento no existe, intente ejecutar el comando: event:debug" diff --git a/config/translations/es/exec.yml b/config/translations/es/exec.yml new file mode 100644 index 000000000..506808662 --- /dev/null +++ b/config/translations/es/exec.yml @@ -0,0 +1,7 @@ +description: 'Ejecutar un comando externo.' +arguments: + bin: 'Nombre del ejecutable' +messages: + success: 'El comando ha sido ejecutado con éxito' + invalid-bin: 'Error ejecutando el comando' + missing-bin: 'Debe proveer un ejecutable' diff --git a/config/translations/es/generate.module.file.yml b/config/translations/es/generate.module.file.yml new file mode 100644 index 000000000..7f3e85f72 --- /dev/null +++ b/config/translations/es/generate.module.file.yml @@ -0,0 +1,7 @@ +description: 'Generar un archivo .module' +help: 'El comando generate:module:file le ayuda a generar un archivo .module nuevo' +welcome: 'Bienvenido al generador de módulos para Drupal' +options: + module: 'Nombre del módulo' +questions: + module: 'Introduzca el nombre del nuevo módulo' diff --git a/config/translations/es/multisite.new.yml b/config/translations/es/multisite.new.yml new file mode 100644 index 000000000..7b79acf46 --- /dev/null +++ b/config/translations/es/multisite.new.yml @@ -0,0 +1,24 @@ +description: 'Sets up the files for a new multisite install.' +help: 'The multisite:new command assists in setting up new multisite installs by creating the needed subdirectory and files, and can optionally copy an existing ''default'' installation.' +arguments: + sites-subdir: 'Name of directory under ''sites'' which should be created.' +options: + site-uri: 'Site URI to add to sites.php.' + copy-install: 'Copies existing site from the default install.' +errors: + subdir-empty: 'You must specify a multisite subdirectory to create.' + subdir-exists: 'The sites/%s directory already exists.' + default-missing: 'The sites/default directory is missing.' + mkdir-fail: 'Unable to create sites/%s. Please check the sites directory permissions and try again.' + sites-invalid: 'The sites.php file located is either not readable or not a file.' + sites-missing: 'No sites.php or example.sites.php to copy from.' + sites-other: 'A problem was encountered when attempting to write sites.php' + file-missing: 'The file ''%s'' was not found for copying.' + copy-fail: 'Unable to copy %s to %s. Please check the permissions and try again.' + write-fail: 'Unable to write to the file %s. Please check the file permissions and try again.' + chmod-fail: 'Unable to change permissions on the file %s. Please ensure that the permissions on that file are correct.' +warnings: + missing-files: 'No sites/default/files directory found. The files directory will need to be created by hand.' +messages: + copy-install: 'The default install was successfully copied to sites/%s.' + fresh-site: 'The new multisite structure was successfully created at sites/%s and is ready for installation.' diff --git a/src/Command/Update/ExecuteCommand.php b/src/Command/Update/ExecuteCommand.php index dd88c8767..08fd4cedf 100644 --- a/src/Command/Update/ExecuteCommand.php +++ b/src/Command/Update/ExecuteCommand.php @@ -7,8 +7,8 @@ namespace Drupal\Console\Command\Update; -use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; +use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Command\Command; use Drupal\Console\Command\Shared\ContainerAwareCommandTrait;