diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-05-06 12:39:02 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-05-06 12:39:02 +0200 |
commit | 5ef4a7606c60152b3f8785cd5d3f5a53bc9198b2 (patch) | |
tree | cc4fbc108068db0e9f7828dd2a527ac0026c0961 /settings/templates | |
parent | 84960feee8f0ba5fba4c7ad9f822a80a7316f8f6 (diff) | |
download | nextcloud-server-5ef4a7606c60152b3f8785cd5d3f5a53bc9198b2.tar.gz nextcloud-server-5ef4a7606c60152b3f8785cd5d3f5a53bc9198b2.zip |
Add l10n support to encryption settings
* fixes #16111
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/admin.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 638c3d7bff5..be87252126d 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -340,9 +340,9 @@ if ($_['cronErrors']) { <div id='selectEncryptionModules' class="<?php if (!$_['encryptionReady']) p('hidden'); ?>"> <?php if (empty($_['encryptionModules'])) { - p('No encryption module loaded, please load a encryption module in the app menu'); + p($l->t('No encryption module loaded, please load a encryption module in the app menu')); } else { ?> - <h3>Select default encryption module:</h3> + <h3><?php p($l->t('Select default encryption module:')) ?></h3> <fieldset id='encryptionModules'> <?php foreach ($_['encryptionModules'] as $id => $module): ?> <input type="radio" id="<?php p($id) ?>" @@ -361,10 +361,10 @@ if ($_['cronErrors']) { <div id="migrationWarning" class="<?php if ($_['encryptionReady']) p('hidden'); ?>"> <?php if ($_['encryptionReady'] === false && $_['externalBackendsEnabled'] === true) { - p('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\''); + p($l->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.')); ?> <input type="submit" name="startmigration" id="startmigration" value="<?php p($l->t('Start migration')); ?>"/> <?php } ?> |