summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/js')
-rw-r--r--apps/files_sharing/js/public.js5
1 files 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 () {
};
}
});
-