pgsql: pg_test_timing: Some NLS fixes

Lists: pgsql-committers
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 13:27:15
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2073c641b43e1310784dc40aef32f71119313bdc

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