pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Italian translation update and double single quote
2+ messages / 2 participants
[nested] [flat]

* Italian translation update and double single quote
@ 2006-04-04 15:27 Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>
  2006-05-22 07:16 ` Re: Italian translation update and double single quote Kris Jurka <books@ejurka.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Giuseppe Sacco @ 2006-04-04 15:27 UTC (permalink / raw)
  To: pgsql-jdbc

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Italian translation update and double single quote
  2006-04-04 15:27 Italian translation update and double single quote Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>
@ 2006-05-22 07:16 ` Kris Jurka <books@ejurka.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Kris Jurka @ 2006-05-22 07:16 UTC (permalink / raw)
  To: Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>; +Cc: pgsql-jdbc



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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-05-22 07:16 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-04-04 15:27 Italian translation update and double single quote Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>
2006-05-22 07:16 ` Kris Jurka <books@ejurka.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox