mirror of
https://github.com/mayswind/AriaNg.git
synced 2026-02-09 02:49:26 +08:00
modify prompt when cannot get language resource
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user