From 17aafee4de49171a118792e2b60d4e0dc08df09f Mon Sep 17 00:00:00 2001 From: leandro Date: Sun, 1 Oct 2017 10:09:21 +0200 Subject: [PATCH 1/2] update 20171001 --- translations/generate.jstest.yml | 22 ++++++---------------- translations/generate.profile.yml | 2 ++ translations/multisite.update.yml | 22 ++++++++++++++++++++++ 3 files changed, 30 insertions(+), 16 deletions(-) create mode 100644 translations/multisite.update.yml diff --git a/translations/generate.jstest.yml b/translations/generate.jstest.yml index b5afb41..2183fd0 100644 --- a/translations/generate.jstest.yml +++ b/translations/generate.jstest.yml @@ -2,21 +2,11 @@ description: 'Genera un test Javascript.' help: 'El comando generate:jstest le ayuda a generar un nuevo test Javascript.' welcome: 'Bienvendio al generador de módulos para Drupal' options: - class: 'Nombre de la clase del test Javascript' + class: 'Nombre de la clase del test Javascript' questions: - module: common.questions.module - class: 'Introduzca el nombre de la clase del test Javascript' + module: common.questions.module + class: 'Introduzca el nombre de la clase del test Javascript' examples: - - description: 'Generar un módulo especificando el nombre del módulo, el nombre máquina, la ruta, su descripción, el core de Drupal y el nombre del paquete. En este ejemplo el archivo de composer, el test unitario y la plantilla de Twig también se generan' - execution: | - drupal generate:module \ - --module="modulename" \ - --machine-name="modulename" \ - --module-path="/modules/custom" \ - --description="My Awesome Module" \ - --core="8.x" \ - --package="Custom" \ - --module-file \ - --composer \ - --test \ - --twigtemplate + - + description: 'Generar un módulo especificando el nombre del módulo, el nombre máquina, la ruta, su descripción, el core de Drupal y el nombre del paquete. En este ejemplo el archivo de composer, el test unitario y la plantilla de Twig también se generan' + execution: "drupal generate:module \\\n --module=\"modulename\" \\\n --machine-name=\"modulename\" \\\n --module-path=\"/modules/custom\" \\\n --description=\"My Awesome Module\" \\\n --core=\"8.x\" \\\n --package=\"Custom\" \\\n --module-file \\\n --composer \\\n --test \\\n --twigtemplate\n" diff --git a/translations/generate.profile.yml b/translations/generate.profile.yml index 494ec99..9e0fb76 100644 --- a/translations/generate.profile.yml +++ b/translations/generate.profile.yml @@ -4,6 +4,7 @@ welcome: 'Bienvenido al generador de perfil de instalación' options: profile: 'Nombre del perfil' machine-name: 'Nombre-máquina (sólo minúsculas y guiones bajos)' + base-path: 'The path of the profile' description: 'Descripción del perfil' core: 'Versión del core' dependencies: 'Dependencias de módulos separadas por comas (p. ej. context, panels)' @@ -12,6 +13,7 @@ options: questions: profile: 'Introduzca el nombre del nuevo perfil' machine-name: 'Introduzca el nombre-máquina' + base-path: 'Enter the profile Path' description: 'Introduzca la descripción' core: 'Introduzca la versión del core de Drupal' dependencies: 'Le gustaría añadir dependencias de módulos' diff --git a/translations/multisite.update.yml b/translations/multisite.update.yml new file mode 100644 index 0000000..8afbde4 --- /dev/null +++ b/translations/multisite.update.yml @@ -0,0 +1,22 @@ +description: "Update the files for a multisite installed." +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." +options: + uri: "Name of old directory under 'sites' which should be updated." + directory: "Name of new directory for multisite installed. (You could create subdir separated by '/')" +questions: + uri: "Choice the multisite to update" + directory: "Enter the new name (You could use subdir separated by '/')" +errors: + invalid-uri: "The --uri=%s does not exist" + uri-dir-empty: "You must specify a old multisite directory to update." + new-dir-empty: "You must specify a new name to update multisite." + subdir-exists: 'The "sites/%s" directory already exists.' + mkdir-fail: 'Unable to create "sites/%s". Please check the sites directory permissions and try again.' + copy-fail: 'Unable to copy "%s" to "%s". Please check permissions and try again.' + write-fail: 'Unable to write to the file "%s". Please check the file permissions and try again.' +messages: + move-settings: 'The file settings.php was successfully movied to "sites/%s".' +examples: + - description: 'Update the files for a multisite installed specifying old path and new path' + execution: | + drupal multisite:update From b423a1df0f2a2d3651cc1853ff9a487b6f83a09a Mon Sep 17 00:00:00 2001 From: leandro Date: Sun, 21 Jan 2018 17:43:49 +0100 Subject: [PATCH 2/2] update es translation 20180121 --- translations/entity.delete.yml | 2 +- translations/role.delete.yml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/translations/entity.delete.yml b/translations/entity.delete.yml index 6a54064..4c46421 100644 --- a/translations/entity.delete.yml +++ b/translations/entity.delete.yml @@ -4,7 +4,7 @@ arguments: entity-definition-id: 'ID de definición de la entidad' entity-id: 'ID de la entitdad que será eliminada' options: - all: 'Delete all entities of the given type.' + all: 'Eliminar todas las entidades del tipo dado' questions: entity-type: 'Introduzca el tipo de entidad' entity-definition-id: 'Introduzca el id de definición de entidad' diff --git a/translations/role.delete.yml b/translations/role.delete.yml index d6c85d5..b691dbd 100644 --- a/translations/role.delete.yml +++ b/translations/role.delete.yml @@ -2,12 +2,12 @@ description: 'Eleminar roles en la aplicación' help: 'El comando role:delete le ayuda a eliminar roles.' welcome: 'Bienvenido al eliminador de roles de Drupal' arguments: - rolename: 'Nombre de los roles que serán eliminados' + rolename: 'Nombre de los roles que serán eliminados' messages: - role-id: 'ID del rol' - role-name: 'Nombre del rol' - role-created: 'Los roles han sido eliminados con éxito' + role-id: 'ID del rol' + role-name: 'Nombre del rol' + role-created: 'Los roles han sido eliminados con éxito' examples: - - description: 'Eliminar rol especificando su nombre' - execution: | - drupal role:delete moderator + - + description: 'Eliminar rol especificando su nombre' + execution: "drupal role:delete moderator\n"