mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-13 07:58:41 +00:00
Implement client side language support
This commit is contained in:
parent
fa094a1d9f
commit
2343652be4
|
|
@ -192,7 +192,7 @@
|
||||||
{
|
{
|
||||||
if (!form.isValid()) {
|
if (!form.isValid()) {
|
||||||
this.app.notifyManager.send(
|
this.app.notifyManager.send(
|
||||||
new jsOMS.Message.Notification.NotificationMessage(jsOMS.Message.Notification.NotificationLevel.INFO, 'Info', 'Invalid form input. Please check the form.'), jsOMS.Message.Notification.NotificationType.APP_NOTIFICATION
|
new jsOMS.Message.Notification.NotificationMessage(jsOMS.Message.Notification.NotificationLevel.INFO, jsOMS.lang.Info, jsOMS.lang.invalid_form), jsOMS.Message.Notification.NotificationType.APP_NOTIFICATION
|
||||||
);
|
);
|
||||||
|
|
||||||
jsOMS.Log.Logger.instance.debug('Form "' + form.getId() + '" has invalid values.');
|
jsOMS.Log.Logger.instance.debug('Form "' + form.getId() + '" has invalid values.');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user