diff options
author | Marvin Thomas Rabe <m.rabe@echtzeitraum.de> | 2011-10-02 16:06:30 +0200 |
---|---|---|
committer | Marvin Thomas Rabe <m.rabe@echtzeitraum.de> | 2011-10-02 16:06:30 +0200 |
commit | bdcf31cc7335f280e04182bb356be98862dc7e55 (patch) | |
tree | c089f6d7d2cd72af869ebcb21d3772312b1e0c3f /apps/files_sharing | |
parent | 590b006d5c98fc805018350fdf0ec7ba9f641904 (diff) | |
download | nextcloud-server-bdcf31cc7335f280e04182bb356be98862dc7e55.tar.gz nextcloud-server-bdcf31cc7335f280e04182bb356be98862dc7e55.zip |
Added translatable text.
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/templates/list.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/files_sharing/templates/list.php b/apps/files_sharing/templates/list.php index 7faf2cf4ba6..d46ff818ac1 100644 --- a/apps/files_sharing/templates/list.php +++ b/apps/files_sharing/templates/list.php @@ -1,11 +1,11 @@ <fieldset> - <legend>Your Shared Files</legend> + <legend><?php echo $l->t('Your Shared Files');?></legend> <table id="itemlist"> <thead> <tr> - <th>Item</th> - <th>Shared With</th> - <th>Permissions</th> + <th><?php echo $l->t('Item');?></th> + <th><?php echo $l->t('Shared With');?></th> + <th><?php echo $l->t('Permissions');?></th> </tr> </thead> <tbody> @@ -13,8 +13,8 @@ <tr class="item"> <td class="source"><?php echo substr($item['source'], strlen("/".$_SESSION['user_id']."/files/"));?></td> <td class="uid_shared_with"><?php echo $item['uid_shared_with'];?></td> - <td class="permissions"><?php echo "Read"; echo($item['permissions'] & OC_SHARE::WRITE ? ", Edit" : ""); echo($item['permissions'] & OC_SHARE::DELETE ? ", Delete" : "");?></td> - <td><button class="delete" data-source="<?php echo $item['source'];?>" data-uid_shared_with="<?php echo $item['uid_shared_with'];?>">Delete</button></td> + <td class="permissions"><?php echo $l->t('Read'); echo($item['permissions'] & OC_SHARE::WRITE ? ", ".$l->t('Edit') : ""); echo($item['permissions'] & OC_SHARE::DELETE ? ", ".$l->t('Delete') : "");?></td> + <td><button class="delete" data-source="<?php echo $item['source'];?>" data-uid_shared_with="<?php echo $item['uid_shared_with'];?>"><?php echo $l->t('Delete');?></button></td> </tr> <?php endforeach;?> <tr id="share_item_row"> |