[Embedded] Fix Bug 39251

This commit is contained in:
Julia Radzhabova 2018-10-09 14:32:18 +03:00
parent ae0ef5de7e
commit 975f66a66a
3 changed files with 18 additions and 3 deletions

View file

@ -392,6 +392,10 @@ var ApplicationController = new(function(){
message = me.downloadErrorText; message = me.downloadErrorText;
break; break;
case Asc.c_oAscError.ID.ConvertationPassword:
message = me.errorFilePassProtect;
break;
default: default:
message = me.errorDefaultMessage.replace('%1', id); message = me.errorDefaultMessage.replace('%1', id);
break; break;
@ -536,6 +540,7 @@ var ApplicationController = new(function(){
downloadErrorText : 'Download failed.', downloadErrorText : 'Download failed.',
criticalErrorTitle : 'Error', criticalErrorTitle : 'Error',
notcriticalErrorTitle : 'Warning', notcriticalErrorTitle : 'Warning',
scriptLoadError: 'The connection is too slow, some of the components could not be loaded. Please reload the page.' scriptLoadError: 'The connection is too slow, some of the components could not be loaded. Please reload the page.',
errorFilePassProtect: 'The file is password protected and cannot be opened.'
} }
})(); })();

View file

@ -491,6 +491,10 @@ var ApplicationController = new(function(){
message = me.downloadErrorText; message = me.downloadErrorText;
break; break;
case Asc.c_oAscError.ID.ConvertationPassword:
message = me.errorFilePassProtect;
break;
default: default:
message = me.errorDefaultMessage.replace('%1', id); message = me.errorDefaultMessage.replace('%1', id);
break; break;
@ -606,6 +610,7 @@ var ApplicationController = new(function(){
downloadErrorText : 'Download failed.', downloadErrorText : 'Download failed.',
criticalErrorTitle : 'Error', criticalErrorTitle : 'Error',
notcriticalErrorTitle : 'Warning', notcriticalErrorTitle : 'Warning',
scriptLoadError: 'The connection is too slow, some of the components could not be loaded. Please reload the page.' scriptLoadError: 'The connection is too slow, some of the components could not be loaded. Please reload the page.',
errorFilePassProtect: 'The file is password protected and cannot be opened.'
} }
})(); })();

View file

@ -399,6 +399,10 @@ var ApplicationController = new(function(){
message = me.downloadErrorText; message = me.downloadErrorText;
break; break;
case Asc.c_oAscError.ID.ConvertationPassword:
message = me.errorFilePassProtect;
break;
default: default:
message = me.errorDefaultMessage.replace('%1', id); message = me.errorDefaultMessage.replace('%1', id);
break; break;
@ -553,6 +557,7 @@ var ApplicationController = new(function(){
downloadErrorText : 'Download failed.', downloadErrorText : 'Download failed.',
criticalErrorTitle : 'Error', criticalErrorTitle : 'Error',
notcriticalErrorTitle : 'Warning', notcriticalErrorTitle : 'Warning',
scriptLoadError: 'The connection is too slow, some of the components could not be loaded. Please reload the page.' scriptLoadError: 'The connection is too slow, some of the components could not be loaded. Please reload the page.',
errorFilePassProtect: 'The file is password protected and cannot be opened.'
} }
})(); })();