summaryrefslogtreecommitdiffstats
path: root/settings/Controller
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-10-11 11:52:49 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-04-29 00:59:09 -0300
commit2507e7459d42e47f0581aeb69b738fec6497c6b5 (patch)
tree2af7cf283c5d974965617330b665896d4231ab17 /settings/Controller
parent74802ca72f27f41beb577f0ba9c085a50ed224e2 (diff)
downloadnextcloud-server-2507e7459d42e47f0581aeb69b738fec6497c6b5.tar.gz
nextcloud-server-2507e7459d42e47f0581aeb69b738fec6497c6b5.zip
Improve wording of error messages
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings/Controller')
-rw-r--r--settings/Controller/UsersController.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/settings/Controller/UsersController.php b/settings/Controller/UsersController.php
index 7ce4355aa0b..411269a4351 100644
--- a/settings/Controller/UsersController.php
+++ b/settings/Controller/UsersController.php
@@ -530,7 +530,7 @@ class UsersController extends Controller {
array(
'status' => 'error',
'data' => array(
- 'message' => (string)$this->l10n->t('Unable to disable user.')
+ 'message' => (string)$this->l10n->t('Error while disabling user.')
)
),
Http::STATUS_FORBIDDEN
@@ -565,7 +565,7 @@ class UsersController extends Controller {
array(
'status' => 'error',
'data' => array(
- 'message' => (string)$this->l10n->t('Unable to disable user.')
+ 'message' => (string)$this->l10n->t('Error while disabling user.')
)
)
);
@@ -587,7 +587,7 @@ class UsersController extends Controller {
array(
'status' => 'error',
'data' => array(
- 'message' => (string)$this->l10n->t('Unable to enable user.')
+ 'message' => (string)$this->l10n->t('Error while enabling user.')
)
),
Http::STATUS_FORBIDDEN
@@ -622,7 +622,7 @@ class UsersController extends Controller {
array(
'status' => 'error',
'data' => array(
- 'message' => (string)$this->l10n->t('Unable to enable user.')
+ 'message' => (string)$this->l10n->t('Error while enabling user.')
)
)
);