Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAzkH-0003pw-Ti for pgsql-hackers@arkaria.postgresql.org; Wed, 17 May 2017 14:16:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dAzkH-0002XQ-GQ for pgsql-hackers@arkaria.postgresql.org; Wed, 17 May 2017 14:16:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dAzik-0007uY-Pf for pgsql-hackers@postgresql.org; Wed, 17 May 2017 14:14:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dAzih-0003I8-LR for pgsql-hackers@postgresql.org; Wed, 17 May 2017 14:14:34 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v4HEETU5030660; Wed, 17 May 2017 10:14:29 -0400 From: Tom Lane To: Alvaro Herrera cc: pgsql-hackers@postgresql.org Subject: Re: [COMMITTERS] pgsql: Preventive maintenance in advance of pgindent run. In-reply-to: <20170517140847.lasiafwmsxgzppm6@alvherre.pgsql> References: <20170517140847.lasiafwmsxgzppm6@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Wed, 17 May 2017 10:08:47 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30658.1495030469.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 17 May 2017 10:14:29 -0400 Message-ID: <30659.1495030469@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Alvaro Herrera writes: > There are some changes here that should be reverted; for instance: > - printf(_(" -c, --checkpoint=3Dfast|spread\n" > - " set fast or spread checkpointing\n= ")); > + printf(_(" -c, --checkpoint=3Dfast|spread\n")); > + printf(_(" set fast or spread checkpointing\n= ")); > From the translator's point of view the patched version doesn't make > sense because they are two separate strings. In the original, it's a > single translatable string. Particularly in pg_waldump's -p, where a > phrase is now cut in the middle. What I was concerned about was that pgindent will reindent the second line so that it's impossible to tell whether the spacing is correct. That might not matter to translators but it will be a problem for source-level maintenance. Maybe we should rethink the whole idea of breaking these entries across lines, and just accept that the commentary doesn't line up with other lines: printf(_(" -c, --checkpoint=3Dfast|spread set fast or spread checkpoin= ting\n")); Thoughts? regards, tom lane --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers