modify prompt when cannot get language resource

This commit is contained in:
MaysWind 2018-08-12 21:17:51 +08:00
parent d168b0f9ae
commit 3963e7be45

View file

@ -107,7 +107,7 @@
return deferred.resolve(languageObject);
}).catch(function onError(response) {
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',
delay: false
});