]> source.dussan.org Git - nextcloud-server.git/commitdiff
make files app translateable
authorKamil Domanski <kdomanski@kdemail.net>
Mon, 20 Jun 2011 15:11:28 +0000 (17:11 +0200)
committerKamil Domanski <kdomanski@kdemail.net>
Mon, 20 Jun 2011 15:11:28 +0000 (17:11 +0200)
files/templates/admin.php
files/templates/index.php

index f768931eb2f95895e113c5efd26d31b290aeeada..74b99b771c03a8414d6e65e8c0193c09d36018a7 100644 (file)
@@ -1,16 +1,16 @@
 <form action='#' method='post'>
        <?php if($_['htaccessWorking']):?>
-               Maximum upload size <input name='maxUploadSize' value='<?php echo $_['uploadMaxFilesize'] ?>'/><br/>
+               <?php echo $l->t( 'Maximum upload size' ); ?> <input name='maxUploadSize' value='<?php echo $_['uploadMaxFilesize'] ?>'/><br/>
        <?php endif;?>
-       <input type="checkbox" /> Allow public folders<br>
+       <input type="checkbox" /> <?php echo $l->t( 'Allow public folders' ); ?><br>
 
-       (if public is enabled)<br>
-               <input type="radio" name="sharingaim" checked="checked" /> separated from webdav storage<br>
-               <input type="radio" name="sharingaim" /> let the user decide<br>
-               <input type="radio" name="sharingaim" /> folder "/public" in webdav storage<br>
-       (endif)<br>
+       <?php echo $l->t( '(if public is enabled)' ); ?><br>
+               <input type="radio" name="sharingaim" checked="checked" /> <?php echo $l->t( 'separated from webdav storage' ); ?><br>
+               <input type="radio" name="sharingaim" /> <?php echo $l->t( 'let the user decide' ); ?><br>
+               <input type="radio" name="sharingaim" /> <?php echo $l->t( 'folder "/public" in webdav storage' ); ?><br>
+       <?php echo $l->t( '(endif)' ); ?><br>
 
-       <input type="checkbox" /> Allow downloading shared files<br>
-       <input type="checkbox" /> Allow uploading in shared directory<br>
+       <input type="checkbox" /> <?php echo $l->t( 'Allow downloading shared files' ); ?><br>
+       <input type="checkbox" /> <?php echo $l->t( 'Allow uploading in shared directory' ); ?><br>
        <input type='submit' value='Save'/>
 </form>
index d2d0a237d7b9f77e15679c3ff694241bbf7f65f9..0f24a00f07772a5848733bdcb0ef22bc3c39d45c 100644 (file)
@@ -15,9 +15,9 @@
                        <input type="text" class="prettybutton" name="file_newfolder_name" id="file_newfolder_name" value="New Folder" />&nbsp;
                        <input class="prettybutton" type="submit" id="file_newfolder_submit" name="file_newfolder_submit" value="OK" />
                </form>
-               <a href="" title="" class="download">Download</a>
-               <a href="" title="" class="share">Share</a>
-               <a href="" title="" class="delete">Delete</a>
+               <a href="" title="" class="download"><?php echo $l->t( 'Download' ); ?></a>
+               <a href="" title="" class="share"><?php echo $l->t( 'Share' ); ?></a>
+               <a href="" title="" class="delete"><?php echo $l->t( 'Delete' ); ?></a>
        </div>
        <div id="file_action_panel">
        </div>
@@ -31,9 +31,9 @@
        <thead>
                <tr>
                        <th><input type="checkbox" id="select_all" /></th>
-                       <th>Name</th>
-                       <th>Size</th>
-                       <th>Modified</th>
+                       <th><?php echo $l->t( 'Name' ); ?></th>
+                       <th><?php echo $l->t( 'Size' ); ?></th>
+                       <th><?php echo $l->t( 'Modified' ); ?></th>
                        <th></th>
                </tr>
        </thead>