Bug 1271494

Summary: [ALL_LANG] Copy dialog box of quota list contains partially translated message
Product: [oVirt] ovirt-engine Reporter: Krishna Babu K <kkrothap>
Component: Frontend.WebAdminAssignee: bugs <bugs>
Status: CLOSED WONTFIX QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: amureini, bugs, dfediuck, kkrothap, lijli, smaitra, ykaul
Target Milestone: ---Keywords: Translation
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-06 11:31:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Reference image which describe the problem clearly. none

Description Krishna Babu K 2015-10-14 07:22:53 UTC
Description of problem:

Partially translated error message appears when selecting Copy click OK in the dialogue window coming from 'quota' tab list.

Version-Release number of selected component (if applicable):

3.6.0-0.16

How reproducible:

Always

Steps to Reproduce:
1. Launch admin portel
2. Goto system -> data centers -> default and select 'quota'
3. Select one entry from the below list and then click on 'copy' and click on 'ok' button of appeared dialog box.
4. Cancel message box has partially translated message.

Actual results:

Message partially translated.

Expected results:

Message should be translated.

Additional info:

Screen shot attached for reference.

Comment 1 Krishna Babu K 2015-10-14 07:27:08 UTC
Created attachment 1082716 [details]
Reference image which describe the problem clearly.

Comment 2 Einav Cohen 2015-10-15 18:42:41 UTC
it looks like this message arrives from the @Size constraint annotation [1] - I don't think that we currently have localization support for that. 
we should either do a (duplicated) validation on the client side, which will be localized, or introduce a localization infrastructure for annotation-based validations on the backend (will take time). 

[1] https://docs.oracle.com/javaee/6/api/javax/validation/constraints/Size.html

Comment 3 Doron Fediuck 2016-04-06 11:31:11 UTC
Closing old issues based on capacity.
Please re-open only if relevant and needed.