Skip to content
Permalink
Browse files

Allow unblocking a blocked user. (#218)

* 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 6499db0cd71fd247cf0fd022853810562997836e
Showing with 21 additions and 0 deletions.
  1. +21 −0 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.
You can’t perform that action at this time.