-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[console] Create roles translations (#142)
- Loading branch information
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-created-role: 'Created "%s" role unsuccessfully' | ||
examples: | ||
- description: 'Provide roles.' | ||
execution: drupal create:roles | ||
- description: 'Provide the number of roles to create' | ||
execution: | | ||
drupal create:roles | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
description: 'Displays current roles for the application' | ||
help: 'The <info>debug:roles</info> command helps you get current roles.' | ||
welcome: 'Welcome to the Drupal roles debug' | ||
messages: | ||
role-id: 'Role ID' | ||
role-name: 'Role Name' | ||
examples: | ||
- description: 'Roles list on the site' | ||
execution: | | ||
drupal debug:roles |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
description: 'Create roles for the application' | ||
help: 'The <info>role:new</info> command helps you create roles.' | ||
welcome: 'Welcome to the Drupal role create' | ||
arguments: | ||
rolename: 'Role name to be created' | ||
machine-name: 'Role machine name' | ||
questions: | ||
rolename: 'Role name to be created' | ||
machine-name: 'Role machine name' | ||
messages: | ||
role-id: 'Role Id' | ||
role-name: 'Role Name' | ||
role-created: 'Role "%s" was created successfully' | ||
invalid-machine-name: 'The machine name is already exist' | ||
examples: | ||
- description: 'Create role specifying rolename and machine-name' | ||
execution: | | ||
drupal role:new moderator moderator |