[Pkg-owncloud-commits] [owncloud] 96/122: Add l10n support to encryption settings
David Prévot
taffit at moszumanska.debian.org
Sat May 9 00:00:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 5ef4a7606c60152b3f8785cd5d3f5a53bc9198b2
Author: Morris Jobke <hey at morrisjobke.de>
Date: Wed May 6 12:39:02 2015 +0200
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 638c3d7..be87252 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 } ?>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list