modify prompt when cannot get language resource
This commit is contained in:
parent
d168b0f9ae
commit
3963e7be45
|
@ -107,7 +107,7 @@
|
||||||
return deferred.resolve(languageObject);
|
return deferred.resolve(languageObject);
|
||||||
}).catch(function onError(response) {
|
}).catch(function onError(response) {
|
||||||
ariaNgLogService.warn('[ariaNgLanguageLoader] cannot get language resource');
|
ariaNgLogService.warn('[ariaNgLanguageLoader] cannot get language resource');
|
||||||
ariaNgNotificationService.notifyInPage('', 'AriaNg cannot get the language resource, please check if the language resource exists and the browser has permission to get.', {
|
ariaNgNotificationService.notifyInPage('', 'AriaNg cannot get language resources, and will display in default language.', {
|
||||||
type: 'error',
|
type: 'error',
|
||||||
delay: false
|
delay: false
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue