Updated UI messages relating to the encryption functionality
The reason for updating these messages, is that grammatically they're not quite correct. They showed a combination of: - Related phrases, which could be either separated or joined better - Related sentences, but which should be expressed as separate ones They were also missing full-stops to end the them. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
d551b8e6fd
commit
d7c9e2b841
|
@ -79,7 +79,7 @@ class StatusController extends Controller {
|
|||
case Session::NOT_INITIALIZED:
|
||||
$status = 'interactionNeeded';
|
||||
$message = (string)$this->l->t(
|
||||
'Encryption app is enabled but your keys are not initialized, please log-out and log-in again'
|
||||
'Encryption App is enabled, but your keys are not initialized. Please log-out and log-in again.'
|
||||
);
|
||||
break;
|
||||
case Session::INIT_SUCCESSFUL:
|
||||
|
|
|
@ -9,7 +9,7 @@ script('core', 'multiselect');
|
|||
|
||||
<?php if ($_["initialized"] === \OCA\Encryption\Session::NOT_INITIALIZED ): ?>
|
||||
|
||||
<?php p($l->t("Encryption App is enabled but your keys are not initialized, please log-out and log-in again")); ?>
|
||||
<?php p($l->t("Encryption App is enabled, but your keys are not initialized. Please log-out and log-in again.")); ?>
|
||||
|
||||
<?php elseif ( $_["initialized"] === \OCA\Encryption\Session::INIT_EXECUTED ): ?>
|
||||
<p>
|
||||
|
|
|
@ -217,7 +217,7 @@ class ChangePasswordController extends Controller {
|
|||
return new JSONResponse([
|
||||
'status' => 'error',
|
||||
'data' => [
|
||||
'message' => $this->l->t('Please provide an admin recovery password, otherwise all user data will be lost'),
|
||||
'message' => $this->l->t('Please provide an admin recovery password; otherwise, all user data will be lost.'),
|
||||
]
|
||||
]);
|
||||
} elseif ($recoveryEnabledForUser && ! $validRecoveryPassword) {
|
||||
|
|
Loading…
Reference in New Issue