[zanata-bugs] [Bug 1121827] Alert wrong warning
bugzilla at redhat.com
bugzilla at redhat.com
Tue Jul 22 03:22:43 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1121827
David Mason <damason at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |damason at redhat.com
--- Comment #1 from David Mason <damason at redhat.com> ---
This is caused because the java variables validator is not appropriate for the
type of variables used in these strings.
The warning in this case is caused because of an apostrophe (') in the source
string before the variable, where there is no apostrophe in the translation.
In this case the source string is "Help: Set this project's default
#{messages['jsf.CopyTrans'} settings.", and the apostrophe in "project's" makes
the validator see the rest of the string as escaped, so it does not identify
the variable "#{messages['jsf.CopyTrans'}"
Since we do not have a specific validator for these variables, the workaround
at the moment is to save translations despite the warning, and never set Java
Variables validator above warning for projects that are not using Java
MessageFormat strings.
The solution is to create a validator that handles JSF/Seam variables properly.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=ovuCdxXuBF&a=cc_unsubscribe
More information about the zanata-bugs
mailing list