Thread: Italian translation update and double single quote
Hi, I found that messages often display with two single quote ('') instead of a single quote. This happens in messages that do not have arguments ({0}, {1}, ...). I know that if the message include arguments, than all single quotes should be doubled. I didn't know what to do when arguments aren't present. If, as I now think, quotes should be doubled only when message arguments are used, than this is a corrected italian translation. http://eppesuigoccas.homedns.org/~giuseppe/pgsql-20060404-it.po Bye, Giuseppe
On Tue, 4 Apr 2006, Giuseppe Sacco wrote: > I found that messages often display with two single quote ('') instead > of a single quote. This happens in messages that do not have arguments > ({0}, {1}, ...). > I know that if the message include arguments, than all single quotes > should be doubled. I didn't know what to do when arguments aren't > present. > The translation code did something like this: if (args != null && message != null) { message = MessageFormat.format(message, args); } return message; So if it didn't have arguments it didn't get run through the message formatter. I've adjusted the code to format all messages whether they have arguments or not in 8.0, 8.1, and HEAD. Kris Jurka
Hi JDBC developers, I have prepared an update of italian translation. Would you please check it and commit to CVS? http://eppesuigoccas.homedns.org/~giuseppe/pgjdbc-cvs-20060623_it.po.gz Thanks, Giuseppe
On Fri, 23 Jun 2006, Giuseppe Sacco wrote: > I have prepared an update of italian translation. Would you please check > it and commit to CVS? > Done. There was a minor problem on line 848 of your po file. You need to double any single quotes and msgfmt -c -v should have told you that. Kris Jurka