diff --git a/translations/common.yml b/translations/common.yml index ef2e6d2..829c72d 100644 --- a/translations/common.yml +++ b/translations/common.yml @@ -8,9 +8,11 @@ options: tags: 'Asignar etiquetas de servicio desde el contenedor.' inputs: 'Crear campos de entrada en un formulario.' permissions: 'Crear permisos.' + theme: 'El nombre del Theme' questions: class: 'Introduzca el nombre de la clase' module: 'Escriba el nombre del módulo' + theme: 'Enter the theme name' extension: 'Introduzca el nombre de la extensión' extension-type: 'Introduzca el tipo de la extensión' confirm: '¿Confirma la generación?' @@ -54,3 +56,4 @@ messages: move-phar: 'Accediendo a la consola desde cualquier lugar en su sistema' quick-start: 'Descargar, instalar y servir Drupal 8' available-field-types: 'Tipos disponibles: %s' + theme: 'The %s theme is not instaled' diff --git a/translations/generate.block.type.yml b/translations/generate.block.type.yml new file mode 100644 index 0000000..d51d9eb --- /dev/null +++ b/translations/generate.block.type.yml @@ -0,0 +1,22 @@ +description: 'Generate a block content type' +help: 'The generate:block:type command helps you generate a new block content type.' +welcome: 'Welcome to the Drupal Block Type generator' +options: + module: 'The Module name.' + class: 'Block type class name' + block-label: 'Block content type label' + block-description: 'Block content type description' + block-id: 'Block id' +questions: + module: 'Enter the module name' + class: 'Enter the block class name' + block-label: 'Enter the block label' + block-description: 'Enter the block description' + block-id: 'Enter the block content type id' + description: Description + default-value: 'Default value' +messages: null +examples: + - + description: 'Generate a block content type specifying the module name' + execution: "drupal generate:block:type \\\n --module=\"modulename\" \\\n --class=\"DefaultBlock\" \\\n --label=\"Default block\" \\\n --block-id=\"default_block\"" diff --git a/translations/generate.plugin.derivative.yml b/translations/generate.plugin.derivative.yml new file mode 100644 index 0000000..cc80752 --- /dev/null +++ b/translations/generate.plugin.derivative.yml @@ -0,0 +1,24 @@ +description: 'Generate a custom block plugin derivative' +help: 'The generate:plugin:derivative command helps you generate a new custom plugin block derivative' +welcome: 'Welcome to the Drupal Plugin Block Derivative generator' +options: + module: 'The Module name.' + class: 'The Class name.' + block_label: 'The Block label' + block_description: 'The Block description' + block_id: 'The Block id' +questions: + module: 'Enter the module name' + class: 'Enter the plugin block derivative class name' + block_label: 'Enter the Block label' + block_description: 'Enter the Block description' + block_id: 'Enter the Block id' +suggestions: + class: CustomBlockDerivative + block_description: 'My custom block derivative.' + block_label: 'Custom block derivative' + block_id: custom_block_derivative +examples: + - + description: 'Generate a custom view field plugin specifying the module name, the class, a title and its description' + execution: "drupal generate:plugin:views:field \\\n --module=\"modulename\" \\\n --class=\"CustomBlockDerivative\" \\\n --block-label=\"Custom block derivative\" \\\n --block-description=\"My custom block derivative.\" \\\n --block-id=\"custom_block_derivative\"\n" diff --git a/translations/generate.theme.setting.yml b/translations/generate.theme.setting.yml new file mode 100644 index 0000000..c83eb63 --- /dev/null +++ b/translations/generate.theme.setting.yml @@ -0,0 +1,30 @@ +description: 'Generar un ajuste para una configuración de theme' +help: 'The generate:theme:setting command helps you generates a config YML file.' +welcome: 'Bienvenido al generador de ajustes del theme' +options: + theme: 'El nombre del theme' + theme-path: 'La ruta del theme' + favicon: 'Favicon proporcionado por el theme' + comment-user-picture: 'Imágenes del usuario en los comentarios' + comment-user-verification: 'Estado de verificación del usuario en los comentarios' + node-user-picture: 'Imágenes de usuario en los posts' + logo: 'Logo proporcionado por el theme' + merge-existing-file: 'Mergear la configuración con el archivo existente' +questions: + theme: 'Introduzca el nombre del nuevo theme' + theme-path: 'Añada la ruta del theme' + favicon: 'Usar el favicon facilitado por el theme' + comment-user-picture: 'Usar imágenes del usurio en los comentarios' + comment-user-verification: 'Usar el estado de verificiación del usuario en los comentarios' + node-user-picture: 'Usar imágenes del usuario en los posts' + logo: 'Usar el logo proporcionado por el theme' + merge-existing-file: 'Mergear la configuración con el archivo existente' +suggestions: + my-awesome-theme: 'Mi theme super-estupendo' + other: Otros +warnings: + module-unavailable: 'Warning: Los siguientes módulos no están disponibles en su entorno local "%s"' +errors: + theme: 'El nombre del theme "%s" no es válido.' + directory-notexists: 'El directorio destino "%s" no existe' +examples: null diff --git a/translations/service.override.yml b/translations/service.override.yml index 7833dd1..4851d3e 100644 --- a/translations/service.override.yml +++ b/translations/service.override.yml @@ -6,8 +6,8 @@ questions: arguments: name: 'Nombre del servicio' options: - key: 'Clave' - value: 'Valor' + key: Clave + value: Valor messages: service-name: 'Nombre del servicio' service-key: 'Clave del servicio' @@ -16,11 +16,6 @@ messages: invalid-name: 'El objeto de servicio "%s" no existe.' invalid-config-file: 'El archivo de servicio no existe.' examples: - - description: "Sobreescribir opciones del servicio twig.config" - execution: | - drupal service:override twig.config \ - --key='debug' \ - --key='cache' \ - --value='true' \ - --value='false' \ - --no-interaction + - + description: 'Sobreescribir opciones del servicio twig.config' + execution: "drupal service:override twig.config \\\n --key='debug' \\\n --key='cache' \\\n --value='true' \\\n --value='false' \\\n --no-interaction\n"