pgsql: pg_test_timing: Some NLS fixes

Started by Peter Eisentrautalmost 9 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

pg_test_timing: Some NLS fixes

The string "% of total" was marked by xgettext to be a c-format, but it
is actually not, so mark up the source to prevent that.

Compute the column widths of the final display dynamically based on the
translated strings, so that translations don't mess up the display
accidentally.

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/145ca364d310932871b06ee4d226c014058aef2c

Modified Files
--------------
src/bin/pg_test_timing/pg_test_timing.c | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers