From d15fd5cb96043f908f8fdb9e111f1c8686a0434b Mon Sep 17 00:00:00 2001
From: Morris Jobke <hey@morrisjobke.de>
Date: Mon, 11 Jul 2016 13:49:19 +0200
Subject: [PATCH] Change occurence of ownCloud (#352)

---
 apps/files_sharing/js/public.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index f207eff7909..3befeaeda1f 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -331,8 +331,8 @@ OCA.Sharing.PublicApp = {
 			$.get(OC.generateUrl('apps/files_sharing/testremote'), {remote: remote}).then(function (protocol) {
 				if (protocol !== 'http' && protocol !== 'https') {
 					toggleLoading();
-					OC.dialogs.alert(t('files_sharing', 'No ownCloud installation (7 or higher) found at {remote}', {remote: remote}),
-						t('files_sharing', 'Invalid ownCloud url'));
+					OC.dialogs.alert(t('files_sharing', 'No compatible server found at {remote}', {remote: remote}),
+						t('files_sharing', 'Invalid server URL'));
 				} else {
 					OC.redirect(protocol + '://' + url);
 				}
@@ -360,4 +360,3 @@ $(document).ready(function () {
 		};
 	}
 });
-
-- 
GitLab