Skip to content

Commit

Permalink
Allow unblocking a blocked user. (#218)
Browse files Browse the repository at this point in the history
* Allow unblocking a blocked user.

* Improving examples messages.

* Improving examples messages.

* Warning unblocked user.
  • Loading branch information
GuidoRobertone authored and enzolutions committed Apr 24, 2019
1 parent bb6312e commit 6499db0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions translations/user.unblock.yml
@@ -0,0 +1,21 @@
description: 'Unblock a specific user.'
help: 'The <info>user:unblock</info> command helps you to unblock a specific user.'
welcome: 'Welcome to the Drupal user unblock'
options:
user: 'User name/id'
questions:
invalid-user: 'Invalid user name/id "%s", user id must be an integer'
user: 'Enter User name/id'
messages:
unblock-successful: 'User "%s" was unblocked.'
warnings:
unblocked-user: 'User "%s" is already unblocked'
errors:
invalid-user: 'Invalid user name/id "%s"'
examples:
- description: 'Unblock user providing the user id'
execution: |
drupal user:unblock 2
- description: 'Unblock user providing the user name'
execution: |
drupal user:unblock johndoe

0 comments on commit 6499db0

Please sign in to comment.