diff options
author | Kamil Domanski <kdomanski@kdemail.net> | 2011-06-20 17:11:28 +0200 |
---|---|---|
committer | Kamil Domanski <kdomanski@kdemail.net> | 2011-06-20 17:11:28 +0200 |
commit | 9f7e50ae8e0c869283b976ef6060d417e1d8eec9 (patch) | |
tree | 666da4bdec7cd24f4423c25c6843f2e321d3829a /files/templates | |
parent | ca849a4f0fd6fd94a89230cf320d8d7da4f7060a (diff) | |
download | nextcloud-server-9f7e50ae8e0c869283b976ef6060d417e1d8eec9.tar.gz nextcloud-server-9f7e50ae8e0c869283b976ef6060d417e1d8eec9.zip |
make files app translateable
Diffstat (limited to 'files/templates')
-rw-r--r-- | files/templates/admin.php | 18 | ||||
-rw-r--r-- | files/templates/index.php | 12 |
2 files changed, 15 insertions, 15 deletions
diff --git a/files/templates/admin.php b/files/templates/admin.php index f768931eb2f..74b99b771c0 100644 --- a/files/templates/admin.php +++ b/files/templates/admin.php @@ -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> diff --git a/files/templates/index.php b/files/templates/index.php index d2d0a237d7b..0f24a00f077 100644 --- a/files/templates/index.php +++ b/files/templates/index.php @@ -15,9 +15,9 @@ <input type="text" class="prettybutton" name="file_newfolder_name" id="file_newfolder_name" value="New Folder" /> <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> |