log out, : Bigversal

This commit is contained in:
Allan Nordhøy 2017-07-14 17:02:48 +02:00 committed by GitHub
parent a79447c6fd
commit 6ab8b90e94

View file

@ -102,7 +102,7 @@ OCA.External.StatusManager = {
var message; var message;
if (mountData.location === 3) { if (mountData.location === 3) {
// In this case the error is because mount point use Login credentials and don't exist in the session // In this case the error is because mount point use Login credentials and don't exist in the session
message = t('files_external', 'Couldn\'t access. Please logout and login to activate this mount point'); message = t('files_external', 'Couldn\'t access. Please log out and in again to activate this mount point');
} else { } else {
message = t('files_external', 'Couldn\'t get the information from the remote server: {code} {type}', { message = t('files_external', 'Couldn\'t get the information from the remote server: {code} {type}', {
code: jqxhr.status, code: jqxhr.status,
@ -267,7 +267,7 @@ OCA.External.StatusManager = {
// check if we have a list first // check if we have a list first
if (list === undefined && !self.emptyWarningShown) { if (list === undefined && !self.emptyWarningShown) {
self.emptyWarningShown = true; self.emptyWarningShown = true;
OC.Notification.show(t('files_external', 'Couldn\'t get the list of Windows network drive mount points: empty response from the server'), OC.Notification.show(t('files_external', 'Couldn\'t fetch list of Windows network drive mount points: Empty response from server'),
{type: 'error'} {type: 'error'}
); );
return; return;