diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-01-31 10:06:02 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-01-31 10:06:02 +0100 |
commit | 2ddd40ed417b09c6eab5a562eae418623417fc16 (patch) | |
tree | 95ed5da4c55dd7030b97b58ddab1a88fbc7cce80 | |
parent | 9ca0a93847dfbf9266f7e76e90c018d4dcff7f5b (diff) | |
download | nextcloud-server-2ddd40ed417b09c6eab5a562eae418623417fc16.tar.gz nextcloud-server-2ddd40ed417b09c6eab5a562eae418623417fc16.zip |
rename 'undelete' to 'restore'
-rw-r--r-- | apps/files_trashbin/js/trash.js | 4 | ||||
-rw-r--r-- | apps/files_trashbin/templates/index.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_trashbin/js/trash.js b/apps/files_trashbin/js/trash.js index 8a407b88a01..3ad0ab04fb9 100644 --- a/apps/files_trashbin/js/trash.js +++ b/apps/files_trashbin/js/trash.js @@ -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'), diff --git a/apps/files_trashbin/templates/index.php b/apps/files_trashbin/templates/index.php index 104d93ce496..c3e51b4becd 100644 --- a/apps/files_trashbin/templates/index.php +++ b/apps/files_trashbin/templates/index.php @@ -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> |