[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PSPP-BUG: [bug #66244] Distinguish statistical "Error" and run-time "Err
From: |
Theppitak Karoonboonyanan |
Subject: |
PSPP-BUG: [bug #66244] Distinguish statistical "Error" and run-time "Error" for proper translations. |
Date: |
Wed, 9 Oct 2024 06:13:43 -0400 (EDT) |
Follow-up Comment #1, bug #66244 (group pspp):
Adding msgctxt seems to be more complicated than I first thought,
as the gettext() call is hard-coded in pivot_value_new_text():
https://git.savannah.gnu.org/cgit/pspp.git/tree/src/output/pivot-table.c#n2864
What we need is a new API with msgctxt parameter to be passed to
pgettext().
Otherwise, passing a pgettext()-translated string to
pivot_value_new_text() and letting gettext() fail and give back
the same string might work it out. But that looks ugly.
Making pivot_value_new_text() accept translated string instead
might make it more flexible, but that would cause huge changes
all over the project.
Another workaround is to choose different English terms for the
two contexts.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66244>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
- PSPP-BUG: [bug #66244] Distinguish statistical "Error" and run-time "Error" for proper translations.,
Theppitak Karoonboonyanan <=
- Message not available