translation support enhanced

This commit is contained in:
Thomas Mueller 2012-09-01 13:23:37 +02:00
parent 0d6b84dad3
commit 10bd64debd
3 changed files with 13 additions and 6 deletions

View File

@ -1,9 +1,14 @@
<form id="versions">
<fieldset class="personalblock">
<legend>
<strong>Versions</strong><!-- translate using echo $l->t('foo'); -->
<strong><?php echo $l->t('Versions'); ?></strong>
</legend>
<p>This will delete all existing backup versions of your files</p><!-- translate using echo $l->t('foo'); -->
<button id="expireAllBtn">Expire all versions<img style="display: none;" class="expireAllLoading" src="<?php echo OCP\Util::imagePath('core', 'loading.gif'); ?>" /></button>
<p>
<?php echo $l->t('This will delete all existing backup versions of your files'); ?>
</p>
<button id="expireAllBtn">
<?php echo $l->t('Expire all versions'); ?>
<img style="display: none;" class="expireAllLoading" src="<?php echo OCP\Util::imagePath('core', 'loading.gif'); ?>" />
</button>
</fieldset>
</form>

View File

@ -182,7 +182,7 @@ UserList={
};
var label;
if(isadmin){
label = t('files', 'add group');
label = t('core', 'add group');
}else{
label = null;
}

6
settings/templates/admin.php Executable file → Normal file
View File

@ -13,7 +13,9 @@ if(!$_['htaccessworking']) {
<fieldset class="personalblock">
<legend><strong><?php echo $l->t('Security Warning');?></strong></legend>
<span class="securitywarning">Your data directory and your files are probably accessible from the internet. The .htaccess file that ownCloud provides is not working. We strongly suggest that you configure your webserver in a way that the data directory is no longer accessible or you move the data directory outside the webserver document root.</span>
<span class="securitywarning">
<?php echo $l->t('Your data directory and your files are probably accessible from the internet. The .htaccess file that ownCloud provides is not working. We strongly suggest that you configure your webserver in a way that the data directory is no longer accessible or you move the data directory outside the webserver document root.'); ?>
</span>
</fieldset>
<?php
@ -100,6 +102,6 @@ if(!$_['htaccessworking']) {
<p class="personalblock">
<strong>ownCloud</strong> <?php echo(OC_Util::getVersionString()); ?> <?php echo(OC_Util::getEditionString()); ?> (<?php echo(OC_Updater::ShowUpdatingHint()); ?>)<br />
Developed by the <a href="http://ownCloud.org/contact" target="_blank">ownCloud community</a>, the <a href="https://github.com/owncloud" target="_blank">source code</a> is licensed under the <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank"><abbr title="Affero General Public License">AGPL</abbr></a>.
<? echo $l->t('Developed by the <a href="http://ownCloud.org/contact" target="_blank">ownCloud community</a>, the <a href="https://github.com/owncloud" target="_blank">source code</a> is licensed under the <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank"><abbr title="Affero General Public License">AGPL</abbr></a>.'); ?>
</p>