]> source.dussan.org Git - nextcloud-server.git/commitdiff
Added translatable text.
authorMarvin Thomas Rabe <m.rabe@echtzeitraum.de>
Sun, 2 Oct 2011 14:06:30 +0000 (16:06 +0200)
committerMarvin Thomas Rabe <m.rabe@echtzeitraum.de>
Sun, 2 Oct 2011 14:06:30 +0000 (16:06 +0200)
apps/admin_export/templates/settings.php
apps/calendar/templates/settings.php
apps/files_sharing/templates/list.php

index a65b17ce26f282a8c13885fa578621deb0f46323..47689facbbc20b5d449853ba6f7c4ce5408d2647 100644 (file)
@@ -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>
index 922dce76663297d0b23159f7c6d1b859237af15c..44fbb230a4375e53026eefed48f0e67a32bfa4d4 100644 (file)
@@ -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 />
index 7faf2cf4ba611676280bd92c838616bdad36ed0e..d46ff818ac18d15adbab24347b40bd05275ffafb 100644 (file)
@@ -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">