From 5ef4a7606c60152b3f8785cd5d3f5a53bc9198b2 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 6 May 2015 12:39:02 +0200 Subject: [PATCH 1/2] Add l10n support to encryption settings * fixes #16111 --- settings/templates/admin.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 638c3d7bff..be87252126 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -340,9 +340,9 @@ if ($_['cronErrors']) {
t('No encryption module loaded, please load a encryption module in the app menu')); } else { ?> -

Select default encryption module:

+

t('Select default encryption module:')) ?>

$module): ?> t('You need to migrate your encryption keys from the old encryption (ownCloud <= 8.0) to the new one. ' + . 'Please enable the "ownCloud Default Encryption Module" and run \'occ encryption:migrate\'')); } elseif ($_['encryptionReady'] === false && $_['externalBackendsEnabled'] === false) { - p('You need to migrate your encryption keys from the old encryption (ownCloud <= 8.0) to the new one.'); ?> + p($l->t('You need to migrate your encryption keys from the old encryption (ownCloud <= 8.0) to the new one.')); ?> From 5a46dad4e0441f88442550901b247f47c3f6ee71 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 6 May 2015 14:30:22 +0200 Subject: [PATCH 2/2] kill new lines in l10n strings --- settings/templates/admin.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/settings/templates/admin.php b/settings/templates/admin.php index be87252126..f5a3a40662 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -327,10 +327,7 @@ if ($_['cronErrors']) {