pgsql: pg_test_timing: Some NLS fixes

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pg_test_timing: Some NLS fixes
Date: 2017-08-26 15:33:51
Message-ID: E1dld5r-00049V-IJ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Meskes 2017-08-26 17:13:42 pgsql: Changed order of statements and added an additiona MSVC safeguar
Previous Message Peter Eisentraut 2017-08-26 13:27:15 pgsql: pg_test_timing: Some NLS fixes