Red Hat Bugzilla – Bug 1014423
RFE: Warning should be shown when pushing invalid translation at warning validation level
Last modified: 2015-07-28 22:50:57 EDT
+++ This bug was initially created as a clone of Bug #1013942 +++
Description of problem:
As a project maintainer, I would like warning messages to be shown whenever invalid translations are pushed by client when the validation level is Warning.
This bug is similar to Bug 1013942, except it address client push.
Version-Release number of selected component (if applicable):
Zanata version 3.1-SNAPSHOT (20131001-1235)
Steps to reproduce:
- Data preparation:
* Project Setting: As a project maintainer:
a. Set the validation level to Error on "printf"
b. Set the validation level to warning on "tab"
* Document preparation:
a. 1st translation is valid
b. 2nd translation trigger the both error and warning (such as excess %d and excess tab)
c. 3rd translation trigger the error (such as excess %d)
d. 4th translation trigger the warning (such as excess tab \t)
e. 5th translation and rest are empty.
I. Pushing by client:
1. mvn -B -e zanata:push -Dzanata.pushType=trans
Warning messages should be shown for 2nd translation and 4th translation.
Warning messages was NOT shown for 2nd translation and 4th translation.
Test Basis: https://github.com/zanata/zanata-server/wiki/Translation-Validation
Reassigned to PM
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-230