Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
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
3 changes: 3 additions & 0 deletions translations/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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?'
Expand Down Expand Up @@ -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: <comment>%s</comment>'
theme: 'The %s theme is not instaled'
22 changes: 22 additions & 0 deletions translations/generate.block.type.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
description: 'Generate a block content type'
help: 'The <info>generate:block:type</info> 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\""
24 changes: 24 additions & 0 deletions translations/generate.plugin.derivative.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
description: 'Generate a custom block plugin derivative'
help: 'The <info>generate:plugin:derivative</info> 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"
30 changes: 30 additions & 0 deletions translations/generate.theme.setting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
description: 'Generar un ajuste para una configuración de theme'
help: 'The <info>generate:theme:setting</info> 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
15 changes: 5 additions & 10 deletions translations/service.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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"