diff options
author | scambra <sergio@entrecables.com> | 2012-09-21 12:30:13 +0200 |
---|---|---|
committer | scambra <sergio@entrecables.com> | 2012-09-21 12:30:13 +0200 |
commit | 107b641708d07414f01894fba4561a0c4e500e7d (patch) | |
tree | a06a22f383fec0633fb161b03c0f3761c1774133 /apps | |
parent | d5211f96159d2d34833af87978be3e9593413ae0 (diff) | |
download | nextcloud-server-107b641708d07414f01894fba4561a0c4e500e7d.tar.gz nextcloud-server-107b641708d07414f01894fba4561a0c4e500e7d.zip |
translate rename and history actions
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/js/fileactions.js | 1 | ||||
-rw-r--r-- | apps/files_versions/js/versions.js | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 1403d345e8a..f579d8530ed 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -179,6 +179,7 @@ FileActions.register('all','Delete', OC.PERMISSION_DELETE, function(){return OC. $('.tipsy').remove(); }); +// t('files', 'Rename') FileActions.register('all','Rename', OC.PERMISSION_UPDATE, function(){return OC.imagePath('core','actions/rename');},function(filename){ FileList.rename(filename); }); diff --git a/apps/files_versions/js/versions.js b/apps/files_versions/js/versions.js index 495848b8226..9075095d286 100644 --- a/apps/files_versions/js/versions.js +++ b/apps/files_versions/js/versions.js @@ -10,10 +10,10 @@ $(document).ready(function() { $(document).ready(function(){ if (typeof FileActions !== 'undefined') { - // Add history button to files/index.php + // Add history button to 'files/index.php' FileActions.register( 'file' - ,'History' + , t('files_versions', 'History') , OC.PERMISSION_UPDATE , function() { // Specify icon for hitory button @@ -147,4 +147,4 @@ $(this).click( } -);
\ No newline at end of file +); |