Created: (XERCESJ-1255) Unresolved variables in Italian localization of e 2007-06-13 - By monica pontrelli (JIRA)
Unresolved variables in Italian localization of error messages into XMLSchemaMessages properties file. ------------------------------------------------------------------------------- -----------------------
Key: XERCESJ-1255 URL: https://issues.apache.org/jira/browse/XERCESJ-1255 Project: Xerces2-J Issue Type: Bug Affects Versions: 2.6.2 Environment: Italian localization Reporter: monica pontrelli
A lot of messages into XMLSchemaMessages_it.properties file are not properly written. Following there are 2 of these messages as examples :
cvc-complex-type.2.4.a = cvc-complex-type.2.4.a: \u00c8 stato rilevato un avvio contenuto non valido con l''''elemento ''{0}''. \u00c8 previsto uno di ''{1}''. cvc-complex-type.2.4.b = cvc-complex-type.2.4.b: Il contenuto dell''' 'elemento ''{0}'' non \u00e8 completo. \u00c8 previsto uno di ''{1}''.
They do not properly apply the rule into the starting section of the file that I'm reporting here:
# If you are using the IBMJDK11 markup table or are a developer working # with this file in a text editor, use the following rules for # apostrophe characters: # a) If there are inserts in the message, for example "{0}", then # type two apostrophe characters, that is "''". # b) If there are no inserts, then just type a single apostrophe. # Examples: # a) message.xml.parserError.prefix=UDUT0036E: Erreur de l''analyseur syntaxique : {0} # b) error.getAuthInfoFailed=UDUT0078E: Impossible d'obtenir authinfo.
They use 4 apostrophes instead of 2 and this prevent the the inserts to be properly resolved.
As example this is the behaviour of the error message dispalayed by the application in the italian localization: "cvc-complex-type.2.4.a: E stato rilevato un avvio contenuto non valido con l 'elemento '{0}'. E' previsto uno di '{1}'." where the inserts {0} and {1} are unresolved.
while the french one look like this: "cvc-complex-type.2.4.a : Contenu non valide commen?ant par l'?l?ment 'jsdl :candidateOperatingSystems'. Contenu de '{WC[##other:"http://www.ibm.com/xmlns /prod/scheduling/1.0/jsdl"], "http://www.ibm.com/xmlns/prod/scheduling/1.0/jsdl" :operatingSystem}' attendu."
where the inserts {0} and {1} are properly resolved.
-- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
--------------------------------------------------------------------- To unsubscribe, e-mail: j-dev-unsubscribe@(protected) For additional commands, e-mail: j-dev-help@(protected)
|
|