[ http://issues.apache.org/jira/browse/DERBY-2110?page=comments#action_12454090 ] Myrna van Lunteren commented on DERBY-2110: -------------------------------------------
Successfully committed the renamed eol-rrefexcept71493.dita with http://svn.apache.org/viewvc?view=rev&revision=480162. So, the \r\n mismatch issue must be the problem.... Now that this is checked in, I have nothing to experiment further with....Nor much interest. It was not really what I set out to do with my trivial change. The MessageBuilder can be changed again when there is a need... I see two possible causes/avenues for further investigation for it: 1. The code used to generate the properties file (affecting propertyText) is doing this replacement: String output = input.replaceAll( "\n", "\\\\n" ); Maybe that will do the trick for the displayText also. 2. Maybe there's a different in the way the "\n" in the static strings versus the println line endings come out. I will now attack making the message changes to 10.2. As the MessageBuilder.java is so different from the original ErrorMessageGenerator, and it seemed from looking over JIRA entries and mails to the list that a lot of manual editing was stull done by Laura, I'm going to manually update the 10.2 dita instead of attempting to fix the 10.2 Generator. > message typos: error 42X52, XJ100.S, XBCXU/XBCXV... > --------------------------------------------------- > > Key: DERBY-2110 > URL: http://issues.apache.org/jira/browse/DERBY-2110 > Project: Derby > Issue Type: Bug > Components: Localization > Affects Versions: 10.2.1.6, 10.3.0.0 > Reporter: Myrna van Lunteren > Assigned To: Myrna van Lunteren > Priority: Trivial > Attachments: DERBY-2110_20061126.diff, > DERBY_2110_doctrunk_20061127.diff, DERBY_2110_srctrunk_061127.diff, > eol-rrefexcept71493.dita, rrefexcept71493.dita, rrefexcept71493.dita, > rrefexcept71493.dita_ltrim, rrefexcept71493.html, rrefexcept71493.html > > > There are some minor typos and issues in the English error messages files: > engine messages: > - 42X52 - message has this: > ' '{0}" (single quote - single quote - curly brace open - zero - curly > brace close - double quote) > should be two closing single quotes. > - XJ100.S has a stray double quote at the end > - XBCXU and XBCXV will get a double period in 'real live', for instance: > ERROR XBCXU: Encryption of an un-encrypted database failed: Container was > opened in read-only mode. . > ERROR XBCXU: Encryption of an un-encrypted database with a new key or a > new password failed: Container was opened in read-only mode. . > Either the period/full stop at the end of the parameter string, or at > the end of the 'parent' string will need to be removed. > And this is what my spell/grammar checker complained about: > - 42X46, 42X47 has a grammar issue: "Use a the full signature" should be "Use > the full signature" > - 42X69: 'expresssion' has 3 s-es. > - 58009.C.21, 7, 8 - DRDA codes should probably be in uppercase. > - XBM08.D - 'instantiage' should be 'instantiate' > - XSCB4.S - 'ie.' should be 'i.e.' > - XSDF2.S - 'exeception' should be 'exception' > - XSLAL.D - 'encounted' should be 'encountered' > - XSTB6.M - 'substitue' should be 'substitute' > - 42Z54.U - 'excepiton' should be 'exception' > - C001 - 'A unknown' should be 'An unknown' > - L008, L009 - 'Deleteing' should be 'Deleting' > servlet_en.messages: > SRV_MaxTrys - 'trys' should be 'tries' -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
