From 2343652be4bfea858c96ddb5813d93eb449ddd5d Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 3 Jun 2018 17:00:42 +0200 Subject: [PATCH] Implement client side language support --- UI/Component/Form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/Component/Form.js b/UI/Component/Form.js index a112045..db2be4e 100644 --- a/UI/Component/Form.js +++ b/UI/Component/Form.js @@ -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.');