diff options
author | Kamil Domanski <kdomanski@kdemail.net> | 2011-06-20 00:17:49 +0200 |
---|---|---|
committer | Kamil Domanski <kdomanski@kdemail.net> | 2011-06-20 00:17:49 +0200 |
commit | a7b7f5a76ce7fe3fb371f008d5de9c749ac5c1c1 (patch) | |
tree | 681f2314d037324233de67190931c49ee30e91d1 | |
parent | 99ae7cd47777f7d7176194d4caced9036fcb1f46 (diff) | |
download | nextcloud-server-a7b7f5a76ce7fe3fb371f008d5de9c749ac5c1c1.tar.gz nextcloud-server-a7b7f5a76ce7fe3fb371f008d5de9c749ac5c1c1.zip |
app files_publiclink is now translateable
-rw-r--r-- | apps/files_publiclink/templates/admin.php | 10 | ||||
-rw-r--r-- | apps/files_publiclink/templates/index.php | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/apps/files_publiclink/templates/admin.php b/apps/files_publiclink/templates/admin.php index 2483eef321a..95b99109f23 100644 --- a/apps/files_publiclink/templates/admin.php +++ b/apps/files_publiclink/templates/admin.php @@ -2,18 +2,18 @@ <table id='linklist'> <thead> <tr> - <td class='path'>Path</td> - <td class='expire'>Expires</td> - <td class='link'>Link</td> + <td class='path'><?php echo $l->t( 'Path' ); ?></td> + <td class='expire'><?php echo $l->t( 'Expires' ); ?></td> + <td class='link'><?php echo $l->t( 'Link' ); ?></td> </tr> </thead> <tbody> <?php foreach($_['links'] as $link):?> <tr class='link' id='<?php echo $link['token'];?>'> <td class='path'><?php echo $link['path'];?></td> - <td class='expire'><?php echo ($link['expire_time']==0)?'Never':OC_UTIL::formatdate($link['expire_time'],true);?></td> + <td class='expire'><?php echo ($link['expire_time']==0)?'Never':$l->l('datetime', $link['expire_time']);?></td> <td class='link'><a href='get.php?token=<?php echo $link['token'];?>'><?php echo $_['baseUrl'];?>?token=<?php echo $link['token'];?></a></td> - <td><button class='delete fancybutton' data-token='<?php echo $link['token'];?>'>Delete</button></td> + <td><button class='delete fancybutton' data-token='<?php echo $link['token'];?>'><?php echo $l->t( 'Delete' ); ?></button></td> </tr> <?php endforeach;?> <tr id='newlink_row'> diff --git a/apps/files_publiclink/templates/index.php b/apps/files_publiclink/templates/index.php index 9e238452603..759f3ad8772 100644 --- a/apps/files_publiclink/templates/index.php +++ b/apps/files_publiclink/templates/index.php @@ -5,9 +5,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> |