Re: Italian translation update and double single quote

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Italian translation update and double single quote
Дата
Msg-id Pine.BSO.4.63.0605212322580.21575@leary2.csoft.net
обсуждение исходный текст
Ответ на Italian translation update and double single quote  (Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>)
Ответы Italian translation update  (Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>)
Список 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

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Updated German translation
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: how to handle data containing '\0'