Tomas Jelinek has uploaded a new change for review.

Change subject: webadmin: I18N for TagModel.name (#786448)
......................................................................

webadmin: I18N for TagModel.name (#786448)

part of:
https://bugzilla.redhat.com/786448

Added support for I18N for TagModel.name. This required to
create a NameValidation class which encapsulates a specific regex and
the message to not to be forced to copy/paste the same regex in
the whole model.

The regex is created as a set of UTF ranges because the \p{L} is not
working in the javascript implementation of the RegExp.

Change-Id: Ia5a722bfa34f38362aad7d93c25c3cd3dad574ec
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/tags/TagModel.java
A 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/validation/NameValidation.java
2 files changed, 18 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/46/3146/1
--
To view, visit http://gerrit.ovirt.org/3146
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia5a722bfa34f38362aad7d93c25c3cd3dad574ec
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to