Re: elog cleanup - Mailing list pgsql-patches

From Serguei Mokhov
Subject Re: elog cleanup
Date
Msg-id 003a01c1b907$c8f518a0$bb6afea9@gunn
Whole thread Raw
In response to elog cleanup  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
----- Original Message -----
From: "Bruce Momjian" <pgman@candle.pha.pa.us>
Sent: Tuesday, February 19, 2002 12:16 AM

...

> ! elog(CRASH, "heap_delete_%sdo: no block", (redo) ? "re" : "un");
> ! elog(CRASH, "heap_delete_%sdo: uninitialized page", (redo) ? "re" : "un");

...

This type of "dynamically constructed" messages is kinda bad for translators,
because the parts one's replacing in the original message could be
translated differently entirely and may not suit in the translations as they do in the originals.
Even if they do, "re" and "un" will never make into the message catalogs, for example.

Maybe it's not so crucial for these specific messages, but for sure won't
work for general type of messages.


pgsql-patches by date:

Previous
From: Yoshinori Ariie
Date:
Subject: Bug-report about pgaccess for kanji-use
Next
From: "forth"
Date:
Subject: Updates errors_zh_TW.properties of JDBC driver