From ede7fccb004ed5e8fba95fb0ca90b8ba773aa56f Mon Sep 17 00:00:00 2001
From: Michael Gapczynski <mtgap@owncloud.com>
Date: Mon, 28 Jan 2013 23:13:38 -0500
Subject: [PATCH] Change file action text to 'Shared'

---
 core/js/share.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/core/js/share.js b/core/js/share.js
index d404b910e4..1e3a34b745 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) {
-- 
GitLab