Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Thomas Rabe <m.rabe@echtzeitraum.de>2011-10-02 18:06:30 +0400
committerMarvin Thomas Rabe <m.rabe@echtzeitraum.de>2011-10-02 18:06:30 +0400
commitbdcf31cc7335f280e04182bb356be98862dc7e55 (patch)
treec089f6d7d2cd72af869ebcb21d3772312b1e0c3f /apps/files_sharing
parent590b006d5c98fc805018350fdf0ec7ba9f641904 (diff)
Added translatable text.
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/templates/list.php12
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">