Add translation context for statistical "Error"
authorTheppitak Karoonboonyanan <theppitak@gmail.com>
Fri, 11 Oct 2024 09:46:06 +0000 (16:46 +0700)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 21 Oct 2024 16:51:02 +0000 (09:51 -0700)
commit69359d97371b41c19f1ff1b8f1fef2e215cc4f24
treec5071e4a38aff0a75ecc37f2b44fcfc0198c0d9b
parenta79602377474de72cada7809a1dbea895a36e4ad
Add translation context for statistical "Error"

Since gnulib's gettext.h defines pgettext() as macro with string
catenation, it's impossible to add pgettext version API for
pivot_value_new_text().  Rather, the pivot_value creation part is
split into pivot_value_new_text_translate() and let's expand
pgettext() upon calling it.

With this, C_() and NC_() macros are defined for translation with
context.

Fixing bug #66244.
po/automake.mk
src/language/commands/glm.c
src/output/pivot-table.c
src/output/pivot-table.h