Skip to content

Commit

Permalink
improve error handling for create:comments, create:roles, create:user…
Browse files Browse the repository at this point in the history
…s, create:terms, create:vocabularies, create:nodes (#175)
  • Loading branch information
LOBsTerr authored and jmolivas committed Mar 6, 2018
1 parent a294111 commit bade7d4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
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.'
execution: drupal create:comments node-id
Expand Down
1 change: 1 addition & 0 deletions translations/create.nodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ messages:
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.'
execution: drupal create:nodes content-name
Expand Down
2 changes: 1 addition & 1 deletion translations/create.roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ messages:
role-id: 'Role Id'
role-name: 'Rolename'
created-roles: 'Created "%s" roles successfully'
error-created-role: 'Created "%s" role unsuccessfully'
error: 'Error creating roles: "%s"'
examples:
- description: 'Provide roles.'
execution: drupal create:roles
Expand Down
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.'
execution: drupal create:terms vocabulary
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.'
execution: drupal create:users role
Expand Down

0 comments on commit bade7d4

Please sign in to comment.