]> source.dussan.org Git - nextcloud-server.git/commitdiff
translation support enhanced
authorThomas Mueller <thomas.mueller@tmit.eu>
Sat, 1 Sep 2012 11:23:37 +0000 (13:23 +0200)
committerThomas Mueller <thomas.mueller@tmit.eu>
Sat, 1 Sep 2012 11:23:37 +0000 (13:23 +0200)
apps/files_versions/templates/settings-personal.php
settings/js/users.js
settings/templates/admin.php [changed mode: 0755->0644]

index fe9ba381e5866e8ce9c8994a27f5459190c71d89..6d97cea46c3e99728b7584afe9d1cae0b3a88a83 100644 (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>
index 6026b22d1aaa58ffff10e154f4ff463b34afd7a4..d0a3c1c21abdb1ef2aa6883dba28b5d3489e676e 100644 (file)
@@ -182,7 +182,7 @@ UserList={
                        };
                        var label;
                        if(isadmin){
-                               label = t('files', 'add group');
+                               label = t('core', 'add group');
                        }else{
                                label = null;
                        }
old mode 100755 (executable)
new mode 100644 (file)
index b701b0e..a02d3f5
@@ -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>