]> source.dussan.org Git - nextcloud-server.git/commitdiff
Change file action text for files inside shared folders as well
authorMichael Gapczynski <mtgap@owncloud.com>
Tue, 29 Jan 2013 04:16:29 +0000 (23:16 -0500)
committerMichael Gapczynski <mtgap@owncloud.com>
Tue, 29 Jan 2013 04:16:29 +0000 (23:16 -0500)
core/js/share.js

index 1e3a34b74526d8dc90c0a550829a9f7492ae1187..b9b7201dd8be4a6865fea34f7ac3ec5bb73867e1 100644 (file)
@@ -40,6 +40,7 @@ OC.Share={
                                                                        if (img.attr('src') != OC.imagePath('core', 'actions/public')) {
                                                                                img.attr('src', image);
                                                                                action.addClass('permanent');
+                                                                               action.html(action.html().replace(t('core', 'Share'), t('core', 'Shared')));
                                                                        }
                                                                }
                                                                last = path;