Re: elog cleanup

From: "Serguei Mokhov" <mokhov(at)cs(dot)concordia(dot)ca>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "PostgreSQL-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: elog cleanup
Date: 2002-02-19 05:39:17
Message-ID: 003a01c1b907$c8f518a0$bb6afea9@gunn
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

----- Original Message -----
From: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)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.

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-02-19 05:40:01 Re: elog cleanup
Previous Message Bruce Momjian 2002-02-19 05:16:15 elog cleanup