summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarvin Thomas Rabe <m.rabe@echtzeitraum.de>2011-10-02 16:06:30 +0200
committerMarvin Thomas Rabe <m.rabe@echtzeitraum.de>2011-10-02 16:06:30 +0200
commitbdcf31cc7335f280e04182bb356be98862dc7e55 (patch)
treec089f6d7d2cd72af869ebcb21d3772312b1e0c3f
parent590b006d5c98fc805018350fdf0ec7ba9f641904 (diff)
downloadnextcloud-server-bdcf31cc7335f280e04182bb356be98862dc7e55.tar.gz
nextcloud-server-bdcf31cc7335f280e04182bb356be98862dc7e55.zip
Added translatable text.
-rw-r--r--apps/admin_export/templates/settings.php12
-rw-r--r--apps/calendar/templates/settings.php2
-rw-r--r--apps/files_sharing/templates/list.php12
3 files changed, 13 insertions, 13 deletions
diff --git a/apps/admin_export/templates/settings.php b/apps/admin_export/templates/settings.php
index a65b17ce26f..47689facbbc 100644
--- a/apps/admin_export/templates/settings.php
+++ b/apps/admin_export/templates/settings.php
@@ -1,12 +1,12 @@
<form id="export" action="#" method="post">
<fieldset class="personalblock">
- <legend><strong>Export this ownCloud instance</strong></legend>
- <p>This will create a compressed file that contains the data of this owncloud instance.
- Please choose which components should be included:
+ <legend><strong><?php echo $l->t('Export this ownCloud instance');?></strong></legend>
+ <p><?php echo $l->t('This will create a compressed file that contains the data of this owncloud instance.
+ Please choose which components should be included:');?>
</p>
- <p><input type="checkbox" id="user_files" name="user_files" value="true"><label for="user_files">User files</label><br/>
- <input type="checkbox" id="owncloud_system" name="owncloud_system" value="true"><label for="owncloud_system">ownCloud system files</label><br/>
- <input type="checkbox" id="owncloud_config" name="owncloud_config" value="true"><label for="owncloud_config">ownCloud configuration</label>
+ <p><input type="checkbox" id="user_files" name="user_files" value="true"><label for="user_files"><?php echo $l->t('User files');?></label><br/>
+ <input type="checkbox" id="owncloud_system" name="owncloud_system" value="true"><label for="owncloud_system"><?php echo $l->t('ownCloud system files');?></label><br/>
+ <input type="checkbox" id="owncloud_config" name="owncloud_config" value="true"><label for="owncloud_config"><?php echo $l->t('ownCloud configuration');?></label>
</p>
<input type="submit" name="admin_export" value="Export" />
</fieldset>
diff --git a/apps/calendar/templates/settings.php b/apps/calendar/templates/settings.php
index 922dce76663..44fbb230a43 100644
--- a/apps/calendar/templates/settings.php
+++ b/apps/calendar/templates/settings.php
@@ -52,7 +52,7 @@ OC_UTIL::addStyle('', 'jquery.multiselect');
?>
</select><br />
<label for="duration"><strong><?php echo $l->t('Event duration');?></strong></label>
- <input type="text" maxlength="3" size="3" style="width: 2em;" id="duration" name="duration" /> <strong><?php echo $l->t("Minutes");?></strong>
+ <input type="text" maxlength="3" size="3" style="width: 2em;" id="duration" name="duration" /> <?php echo $l->t("Minutes");?>
<br />
<?php echo $l->t('Calendar CalDAV syncing address:');?>
<?php echo OC_Helper::linkTo('apps/calendar', 'caldav.php', null, true); ?><br />
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">