]> source.dussan.org Git - nextcloud-server.git/commitdiff
rename 'undelete' to 'restore'
authorBjörn Schießle <schiessle@owncloud.com>
Thu, 31 Jan 2013 09:06:02 +0000 (10:06 +0100)
committerBjörn Schießle <schiessle@owncloud.com>
Thu, 31 Jan 2013 09:06:02 +0000 (10:06 +0100)
apps/files_trashbin/js/trash.js
apps/files_trashbin/templates/index.php

index 8a407b88a01fd5599d2abc3e07fd636c019bd40e..3ad0ab04fb9ae653982e3c26765b00e7c4998d3a 100644 (file)
@@ -2,9 +2,9 @@
 $(document).ready(function() {
 
        if (typeof FileActions !== 'undefined') {
-               FileActions.register('all', 'Undelete', OC.PERMISSION_READ,  OC.imagePath('core', 'actions/undelete.png'), function(filename) {
+               FileActions.register('all', 'Restore', OC.PERMISSION_READ,  OC.imagePath('core', 'actions/undelete.png'), function(filename) {
                        var tr=$('tr').filterAttr('data-file', filename);
-                       var spinner = '<img class="move2trash" title="'+t('files_trashbin', 'perform undelete operation')+'" src="'+ OC.imagePath('core', 'loader.gif') +'"></a>';
+                       var spinner = '<img class="move2trash" title="'+t('files_trashbin', 'perform restore operation')+'" src="'+ OC.imagePath('core', 'loader.gif') +'"></a>';
                        var undeleteAction = $('tr').filterAttr('data-file',filename).children("td.date");
                        undeleteAction[0].innerHTML = undeleteAction[0].innerHTML+spinner;
                        $.post(OC.filePath('files_trashbin','ajax','undelete.php'),
index 104d93ce496feac483a94013c402e27994d5c27e..c3e51b4becdfe4d5aad5e30a61c508453416000f 100644 (file)
@@ -17,9 +17,9 @@
                                <span class='name'><?php echo $l->t( 'Name' ); ?></span>
                                <span class='selectedActions'>
                                                <a href="" class="undelete">
-                                                       <img class="svg" alt="Undelete"
+                                                       <img class="svg" alt="<?php echo $l->t( 'Restore' ); ?>"
                                                                 src="<?php echo OCP\image_path("core", "actions/undelete.png"); ?>" />
-                                                       <?php echo $l->t('Undelete')?>
+                                                       <?php echo $l->t('Restore')?>
                                                </a>
                                </span>
                        </th>