[Embedded] Fix Bug 39251
This commit is contained in:
parent
ae0ef5de7e
commit
975f66a66a
|
@ -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.'
|
||||||
}
|
}
|
||||||
})();
|
})();
|
|
@ -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.'
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
|
@ -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.'
|
||||||
}
|
}
|
||||||
})();
|
})();
|
Loading…
Reference in a new issue