Implement client side language support

This commit is contained in:
Dennis Eichhorn 2018-06-03 17:00:42 +02:00
parent fa094a1d9f
commit 2343652be4

View File

@ -192,7 +192,7 @@
{
if (!form.isValid()) {
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.');