Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDanK-0004pR-3X for pgsql-translators@arkaria.postgresql.org; Wed, 24 May 2017 18:14:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dDanI-0003QN-Ah for pgsql-translators@arkaria.postgresql.org; Wed, 24 May 2017 18:14:00 +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 1dDanG-0003Q8-W6; Wed, 24 May 2017 18:13:59 +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 1dDanE-0003Zp-32; Wed, 24 May 2017 18:13:58 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v4OIDqgX025359; Wed, 24 May 2017 14:13:52 -0400 From: Tom Lane To: Alvaro Herrera cc: Pg Hackers , pgsql-translators@postgresql.org Subject: Re: [HACKERS] translatable string fixes In-reply-to: <20170523001557.bq2hbq7hxyvyw62q@alvherre.pgsql> References: <20170523001557.bq2hbq7hxyvyw62q@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Mon, 22 May 2017 20:15:57 -0400" Date: Wed, 24 May 2017 14:13:52 -0400 Message-ID: <2712.1495649632@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-translators Precedence: bulk Sender: pgsql-translators-owner@postgresql.org Alvaro Herrera writes: > It took me a very long time to figure out how to translate these 9.6-new > strings in the AM validate routines: > msgid "gin operator family \"%s\" contains support procedure %s with cross-type registration" > ... > Maybe we can use this phrasing: > "gin operator family %s contains support procedure %s registered with different left and right types" OK with me, or maybe better "support procedure %s with different left and right input types". I doubt "registered" adds much. > The other complaint I have about this one and also other amvalidate > functions is the hardcoded AM name, so it's actually one string per AM, > which is annoying (a total of twenty-something messages which are > actually only four or five different ones). Ignoring the second part of > the phrase now, we could use this: > "operator family %s of access method %s contains support procedure %s with cross-type registration" If that seems better to the actual translators, it's OK with me. It's not real clear where is the boundary between combining near-duplicate messages and assembling messages at runtime. regards, tom lane -- Sent via pgsql-translators mailing list (pgsql-translators@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-translators