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

Update keys to v1.9.1 #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
9 changes: 0 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,5 @@
"issues": "https://github.com/hechoendrupal/drupal-console-pa/issues",
"forum": "https://gitter.im/hechoendrupal/DrupalConsole",
"docs": "https://hechoendrupal.gitbooks.io/drupal-console/"
},
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
},
"require": {
"drupal/console-en": "^1.0"
}
}
75 changes: 0 additions & 75 deletions composer.lock

This file was deleted.

8 changes: 7 additions & 1 deletion translations/application.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
options:
env: 'The Environment name'
no-debug: 'Switches off debug mode'
debug: 'Switches on debug mode'
learning: 'Generate a verbose code output'
generate-chain: 'Shows command options and arguments as yaml output to be used in chain command'
generate-inline: 'Shows command options and arguments as inline command'
Expand All @@ -17,6 +17,7 @@ options:
no-ansi: 'Disable ANSI output'
no-interaction: 'Do not ask any interactive question'
check-fix: 'Attempt to fix any missing configuration.'
no-debug: 'Switches off debug mode'
arguments:
command: 'The command to execute'
messages:
Expand All @@ -29,6 +30,8 @@ messages:
files:
generated: 'Generated or updated files'
copied: 'Copied files'
lines-code: 'Generated lines: %s'
path: 'Generation path'
learning:
route: "In order to to create pages it is necessary to define routes for them.\nA route maps a URL path to a controller. It defines what function\nor method will be called when a URL is accessed.\nIf the user accesses http://drupal8.dev/{{ route.path }}, the routing\nsystem will look for a route with that path. In this case it will find a\nmatch, and execute the _controller callback. In this case the callback is\ndefined as a classname\n(\"\\Drupal\\{{ module }}\\Controller\\{{ class_name }}\")\nand a method (\"{{ route.method }}\")."
autocomplete: "Bash or Zsh: Add this line to your shell configuration file:\n<info>source \"$HOME/.console/console.rc\" 2>/dev/null</info>\n\nFish: Create a symbolic link\n<info>ln -s ~/.console/drupal.fish ~/.config/fish/completions/drupal.fish</info>\n"
Expand All @@ -40,6 +43,9 @@ messages:
errors:
invalid-command: 'Command "%s" do not exist.'
renamed-command: 'Command "%s" was renamed, use "%s" instead.'
drush-command: 'Command "%s" is a Drush command (deprecated). Drupal Console equivalent "%s" was executed instead.'
statistics-failed: "The Drupal console failed to send statistics. After 10 attempts, this feature was disabled.\nIf you want to enable it again, use the following command:\n\n<info>drupal settings:set statistics.enabled true</info>\n"
statistics-url-failed: "The Drupal console failed to send statistics.\nYou must configure it in the global config.yml, use the following command and choose your preference:\n\n<info>drupal init</info>"
site:
messages:
path: 'Site path'
Expand Down
13 changes: 13 additions & 0 deletions translations/cache.tag.invalidate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
description: 'Invalidate cache tags.'
options:
tag: 'One or more tags to invalidate.'
messages:
start: 'Invalidating tag(s) "%s".'
completed: 'Done invalidating tag(s).'
examples:
-
description: 'Invalidate routes'
execution: 'drupal cti routes'
-
description: 'Invalidate a specific node'
execution: 'drupal cti node:1 node_list'
3 changes: 3 additions & 0 deletions translations/chain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ messages:
set-inline-placeholders: 'ਦੇ ਤੌਰ ਤੇ ਇਨਲਾਈਨ ਸਥਾਨਧਾਰਕ ਸੈੱਟ ਕਰੋ'
select-value-for-placeholder: 'Select value for %s placeholder'
enter-value-for-placeholder: 'Enter value for %s placeholder'
legacy-inline: 'Update inline legacy placeholders from %{{name}} to {{name}}.'
legacy-environment: 'Update environment legacy placeholders from ${{(NAME}} or %env(NAME)% to {{env("NAME")}}.'
metadata-registration: "You should register your chain file as command by providing metadata, more info at:\n https://docs.drupalconsole.com/en/chains/registering.html"
missing_file: 'ਤੁਹਾਨੂੰ ਇੱਕ ਠੀਕ ਫਾਇਲ ਮਾਰਗ ਅਤੇ ਨਾਮ ਮੁਹੱਈਆ ਕਰਨਾ ਚਾਹੀਦਾ ਹੈ'
invalid_file: 'ਫਾਇਲ "%s" ਮੌਜੂਦ ਨਹੀ ਹੈ'
module_install: 'module:install ਹੁਕਮ ਇਸ ਲੜੀ ਕਤਾਰ ਅੰਦਰ ਚਲਾਉਣਯੋਗ ਨਹੀ ਹੈ ਅਤੇ ਸੁਤੰਤਰ ਚਲਾਉਣ ਕੀਤਾ ਜਾਣਾ ਚਾਹੀਦਾ ਹੈ'
Expand Down
5 changes: 5 additions & 0 deletions translations/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ questions:
confirm: 'Do you want to load services from the container'
message: "\nType the service name or use keyup or keydown.\nThis is optional, press <info>enter</info> to <info>continue</info>\n"
name: 'Enter your service'
roles:
message: "\nType the role name or use keyup or keydown.\nThis is optional, press <info>enter</info> to <info>continue</info>\n"
name: 'Enter your role'
inputs:
confirm: 'Do you want to generate a form structure?'
label: 'Input label'
Expand All @@ -36,6 +39,7 @@ questions:
weight: 'Weight for input item'
title: Title
fieldset: Fieldset
new-field: 'Enter a new field properties'
machine_name: 'Input machine name'
errors:
module-dependency: 'Missing module dependency "%s" is not installed. Try module:install to install it.'
Expand All @@ -51,3 +55,4 @@ messages:
drupal-core: 'Drupal Core'
move-phar: 'Accessing console from anywhere on your system'
quick-start: 'Download, install and serve Drupal 8'
available-field-types: 'Available types: <comment>%s</comment>'
14 changes: 14 additions & 0 deletions translations/composerize.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: 'Converts Drupal codebase to composer.'
options:
show-packages: 'Show list of packages.'
include-version: 'Include version on suggested result command.'
messages:
name: Name
version: Version
dependencies: Dependencies
profile: 'Profile(s) detected'
module: 'Module(s) detected'
theme: 'Theme(s) detected'
from: 'From your project root:'
execute: 'Execute this command:'
ignore: 'To ignore third party libraries, profiles, modules and themes add to your .gitignore file:'
7 changes: 7 additions & 0 deletions translations/config.export.content.type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,19 @@ arguments:
content-type: 'Content Type to be exported'
questions:
content-type: 'Content Type to be exported'
remove-uuid: 'Content Type to be exported without uuid key.'
optional-config: 'Export content type in module as an optional configuration'
all: 'All content types'
remove-config-hash: 'Content type to be exported without the default site hash key.'
include-module-dependencies: 'Include content type module dependencies in module info YAML file'
messages:
content-type-exported: 'Exporting content type'
content_type_exported: 'Exporting content type'
options:
optional-config: 'Export content type as an optional YAML configuration in your module'
remove-uuid: 'If set, the configuration will be exported without uuid key.'
remove-config-hash: 'If set, the configuration will be exported without the default site hash key.'
include-module-dependencies: 'Include content type module dependencies in module info YAML file'
examples:
-
description: 'Provide a content type and module name'
Expand Down
26 changes: 26 additions & 0 deletions translations/config.export.entity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
description: 'Export a specific config entity and their fields.'
arguments:
entity-type: 'An entity type (node_type, taxonomy_vocabulary, paragraphs_type) to be exported'
bundle: 'A bundle to be exported'
questions:
all: All
entity-type: 'Select entity type'
bundle: 'A bundle to be exported'
remove-uuid: 'The bundle to be exported without uuid key.'
optional-config: 'Export the bundle in the module as an optional configuration'
remove-config-hash: 'The bundle to be exported without the default site hash key.'
include-module-dependencies: 'Include bundle module dependencies in module info YAML file'
messages:
bundle-exported: 'Exporting bundle %s'
options:
optional-config: 'Export bundle as an optional YAML configuration in your module'
remove-uuid: 'If set, the configuration will be exported without uuid key.'
remove-config-hash: 'If set, the configuration will be exported without the default site hash key.'
include-module-dependencies: 'Include bundle module dependencies in module info YAML file'
examples:
-
description: 'Provide an entity type, a bundle and a module name'
execution: "drupal config:export:entity node_type page \\\n --module=\"demo\""
-
description: 'If you want export a bundle as an optional config'
execution: "drupal config:export:entity node_type page \\\n --module=\"demo\" \\\n --optional-config \\\n --remove-uuid \\\n --remove-config-hash\n"
4 changes: 1 addition & 3 deletions translations/config.export.single.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
description: 'Export single configuration as yml file.'
arguments:
name: 'Configuration name.'
config-name: 'Configuration name.'
options:
name: 'Configuration name.'
include-dependencies: 'Export dependencies of the configuration as well.'
simple-configuration: 'Simple configuration'
optional: 'Export config as an optional YAML configuration in your module'
Expand Down
11 changes: 10 additions & 1 deletion translations/config.export.view.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,29 @@
description: 'Export a view in YAML format inside a provided module to reuse in other website.'
messages:
view_exported: 'Exporting view'
view-exported: 'View exported sucessfully'
depencies-included: 'The following module dependencies were included at "%s"'
wrong-view: 'The view "%s" does not exist'
view_exported: 'Exporting view'
questions:
view: 'View to be exported'
optional-config: 'Export view in module as an optional configuration'
include-module-dependencies: 'Include view module dependencies in module info YAML file'
remove-uuid: 'The view to be exported without uuid key.'
remove-config-hash: 'The view to be exported without the default site hash key.'
arguments:
view-id: 'View ID'
options:
optional-config: 'Export view as an optional YAML configuration in your module'
include-module-dependencies: 'Include module dependencies in module info YAML file'
remove-uuid: 'If set, the configuration will be exported without uuid key.'
remove-config-hash: 'If set, the configuration will be exported without the default site hash key.'
examples:
-
description: 'Provide a view id'
execution: 'drupal config:export:view viewid'
-
description: 'You can provide the interactive values like parameter.'
execution: "drupal config:export:view viewid \\\n --module=\"modulename\" \\\n --optional-config \\\n --include-module-dependencies\n"
-
description: 'Export as config for the provided module, updating the module''s info.yml with any module dependencies from the view.'
execution: "drupal config:export:view viewid \\\n --module=\"modulename\" \\\n --optional-config \\\n --include-module-dependencies"
2 changes: 2 additions & 0 deletions translations/config.export.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ options:
tar: 'If set, the configuration will be exported to an archive file.'
remove-uuid: 'If set, the configuration will be exported without uuid key.'
remove-config-hash: 'If set, the configuration will be exported without the default site hash key.'
questions:
directory: 'Enter the directory name to save the configuration files.'
messages:
directory: 'The configuration was exported at:'
error: 'An error occurred while creating your directory at "%s"'
Expand Down
3 changes: 3 additions & 0 deletions translations/config.import.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ options:
file: 'Path to an archive file of configuration to import.'
directory: 'Path to a directory of configuration to import.'
remove-files: 'Remove files after synchronization.'
skip-uuid: 'Skip uuid from files'
questions:
directory: 'Enter the directory name to import the configuration files.'
messages:
config_files_imported: 'List of config files.'
imported: 'Configuration imported successfully.'
Expand Down
4 changes: 4 additions & 0 deletions translations/config.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@ arguments:
name: 'Configuration name'
key: Key
value: Value
options:
key: Key
value: Value
messages:
configuration: 'Configuration name'
configuration-key: 'Configuration key'
original: 'Original Value'
updated: 'Override Value'
invalid-name: 'Config object "%s", does not exists'
invalid-config-file: 'Config file does not exist.'
examples:
-
description: 'Set the Contact module flood limit to 10.'
Expand Down
1 change: 1 addition & 0 deletions translations/create.comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ messages:
created: 'Created Time'
invalid-content-types: 'Content types "%s" are invalid'
created-comments: 'Created "%s" comments successfully'
error: 'Error creating comments: "%s"'
examples:
-
description: 'Provide the node id where the comments will be generated.'
Expand Down
3 changes: 3 additions & 0 deletions translations/create.nodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ options:
limit: 'How many nodes would you like to create'
title-words: 'Maximum number of words in node titles'
time-range: 'How far back in time should the nodes be dated'
revision: 'Create revisions'
questions:
content-type: 'Select content type(s) to be used on node creation'
limit: 'Enter how many nodes would you like to generate'
Expand All @@ -19,13 +20,15 @@ questions:
- '1 week ago'
- '1 month ago'
- '1 year ago'
revision: 'Do you want to add revisions?'
messages:
node-id: 'Node Id'
content-type: 'Content type'
title: Title
created: 'Created Time'
invalid-content-types: 'Content types "%s" are invalid'
created-nodes: 'Created "%s" nodes successfully'
error: 'Error creating nodes: "%s"'
examples:
-
description: 'Provide the content type name.'
Expand Down
19 changes: 19 additions & 0 deletions translations/create.roles.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
description: 'Create dummy roles for your Drupal 8 application.'
help: 'The <info>create:roles</info> command helps you create dummy roles.'
welcome: 'Welcome to the Drupal roles generator'
options:
limit: 'How many roles would you like to create'
questions:
limit: 'Enter how many roles would you like to create'
messages:
role-id: 'Role Id'
role-name: Rolename
created-roles: 'Created "%s" roles successfully'
error: 'Error creating roles: "%s"'
examples:
-
description: 'Provide roles.'
execution: 'drupal create:roles'
-
description: 'Provide the number of roles to create'
execution: "drupal create:roles\n"
1 change: 1 addition & 0 deletions translations/create.terms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ messages:
name: Name
invalid-vocabularies: 'Vocabulary(s) "%s" are invalid'
created-terms: 'Created "%s" terms successfully'
error: 'Error creating terms: "%s"'
examples:
-
description: 'Provide the vocabulary term name.'
Expand Down
1 change: 1 addition & 0 deletions translations/create.users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ messages:
username: Username
created: 'Created Time'
created-users: 'Created "%s" users successfully'
error: 'Error creating users: "%s"'
examples:
-
description: 'Provide the user role.'
Expand Down
1 change: 1 addition & 0 deletions translations/database.client.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
description: 'Launch a DB client if it''s available'
arguments:
database: 'Database key from settings.php'
target: 'Database target from settings.php'
messages:
connection: 'Connection: "%s"'
examples:
Expand Down
2 changes: 2 additions & 0 deletions translations/database.connect.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
description: 'Shows DB connection'
arguments:
key: 'Database key from settings.php'
target: 'Database target from settings.php'
database: 'Database key from settings.php'
messages:
database-not-found: 'Database "%s" connection info wasn''t found'
Expand Down
Loading