diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-01-28 23:13:38 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-01-28 23:13:38 -0500 |
commit | ede7fccb004ed5e8fba95fb0ca90b8ba773aa56f (patch) | |
tree | 1ba77d75d785e099f3ce5d4283726bc2b31b0955 /core/js/share.js | |
parent | 01b3c088a9d8fb150f841f401d3e5668d228b098 (diff) | |
download | nextcloud-server-ede7fccb004ed5e8fba95fb0ca90b8ba773aa56f.tar.gz nextcloud-server-ede7fccb004ed5e8fba95fb0ca90b8ba773aa56f.zip |
Change file action text to 'Shared'
Diffstat (limited to 'core/js/share.js')
-rw-r--r-- | core/js/share.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/js/share.js b/core/js/share.js index d404b910e48..1e3a34b7452 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -26,6 +26,7 @@ OC.Share={ var action = $(file).find('.fileactions .action').filterAttr('data-action', 'Share'); action.find('img').attr('src', image); action.addClass('permanent'); + action.html(action.html().replace(t('core', 'Share'), t('core', 'Shared'))); } var dir = $('#dir').val(); if (dir.length > 1) { @@ -85,8 +86,10 @@ OC.Share={ action.find('img').attr('src', image); if (shares) { action.addClass('permanent'); + action.html(action.html().replace(t('core', 'Share'), t('core', 'Shared'))); } else { action.removeClass('permanent'); + action.html(action.html().replace(t('core', 'Shared'), t('core', 'Share'))); } } if (shares) { |