pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org, Carlos Chapi <carlos.chapi@2ndquadrant.com>
Subject: Re: [COMMITTERS] pgsql: pg_test_timing: Add NLS
Date: Sat, 26 Aug 2017 15:22:16 -0400
Message-ID: <025d3ec6-ffa4-916b-f944-4a6acd90523e@2ndquadrant.com> (raw)
In-Reply-To: <20170706185645.nfgdq52qlxiexicl@alvherre.pgsql>
References: <20170706185645.nfgdq52qlxiexicl@alvherre.pgsql>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 7/6/17 14:56, Alvaro Herrera wrote:
> We (well, Carlos Chapi, who's doing the translation work now) just
> noticed that this has a bug in this line
> 
> +   printf("%6s   %10s %10s\n", _("< us"), _("% of total"), _("count"));
> 
> _() marks the strings with the c-string flag, which means that the
> %-specifiers are checked by gettext, but the % in the third literal is
> not a printf specifier.  So there's no correct way to write the
> translation.  We need to use a different xgettext trigger there, one
> that doesn't set c-format, but I don't know what.

I have fixed this.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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



view thread (3+ messages)

Message-ID: <025d3ec6-ffa4-916b-f944-4a6acd90523e@2ndquadrant.com>
Permalink:  ../025d3ec6-ffa4-916b-f944-4a6acd90523e@2ndquadrant.com/
Also on:    postgresql.org/message-id/025d3ec6-ffa4-916b-f944-4a6acd90523e@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, alvherre@2ndquadrant.com, carlos.chapi@2ndquadrant.com
  Subject: Re: [COMMITTERS] pgsql: pg_test_timing: Add NLS
  In-Reply-To: <025d3ec6-ffa4-916b-f944-4a6acd90523e@2ndquadrant.com>
  References: <20170706185645.nfgdq52qlxiexicl@alvherre.pgsql> <025d3ec6-ffa4-916b-f944-4a6acd90523e@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox