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
array(
'status' => 'error',
'data' => array(
- 'message' => (string)$this->l10n->t('Unable to disable user.')
+ 'message' => (string)$this->l10n->t('Error while disabling user.')
)
)
);
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
array(
'status' => 'error',
'data' => array(
- 'message' => (string)$this->l10n->t('Unable to enable user.')
+ 'message' => (string)$this->l10n->t('Error while enabling user.')
)
)
);
GroupList.setUserCount(GroupList.getGroupLI('_disabledUsers'), count+1);
}
} else {
- OC.dialogs.alert(result.data.message, t('settings', 'Unable to change status of {user}', {user: uid}));
+ OC.dialogs.alert(result.data.message, t('settings', 'Error while changing status of {user}', {user: uid}));
}
}
);
[
'status' => 'error',
'data' => [
- 'message' => 'Unable to disable user.',
+ 'message' => 'Error while disabling user.',
],
],
Http::STATUS_FORBIDDEN
[
'status' => 'error',
'data' => [
- 'message' => 'Unable to disable user.',
+ 'message' => 'Error while disabling user.',
],
]
);
[
'status' => 'error',
'data' => [
- 'message' => 'Unable to disable user.',
+ 'message' => 'Error while disabling user.',
],
]
);
[
'status' => 'error',
'data' => [
- 'message' => 'Unable to enable user.',
+ 'message' => 'Error while enabling user.',
],
],
Http::STATUS_FORBIDDEN
[
'status' => 'error',
'data' => [
- 'message' => 'Unable to enable user.',
+ 'message' => 'Error while enabling user.',
],
]
);
[
'status' => 'error',
'data' => [
- 'message' => 'Unable to enable user.',
+ 'message' => 'Error while enabling user.',
],
]
);