From unknown Mon Jun 23 15:01:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11494: Accidental format string prevents translation Resent-From: Ivan Vilata i Balaguer Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 16 May 2012 22:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11494 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 11494@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.133720894725325 (code B ref -1); Wed, 16 May 2012 22:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 May 2012 22:55:47 +0000 Received: from localhost ([127.0.0.1]:58220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SUn8F-0006aP-32 for submit@debbugs.gnu.org; Wed, 16 May 2012 18:55:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43281) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SUn1k-0006QS-2v for submit@debbugs.gnu.org; Wed, 16 May 2012 18:49:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUn1R-0006JB-Ra for submit@debbugs.gnu.org; Wed, 16 May 2012 18:48:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, TO_NO_BRKTS_PCNT autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:57560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUn1R-0006Iy-OP for submit@debbugs.gnu.org; Wed, 16 May 2012 18:48:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUn1P-00020r-Q9 for bug-coreutils@gnu.org; Wed, 16 May 2012 18:48:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUn1N-0006I0-Pz for bug-coreutils@gnu.org; Wed, 16 May 2012 18:48:43 -0400 Received: from lev.selidor.net ([66.246.138.156]:57191) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUn1N-0006HR-MY for bug-coreutils@gnu.org; Wed, 16 May 2012 18:48:41 -0400 Received: from edgar.terramar.selidor.net (edgar.selidor.net [IPv6:2600:3c03:e001:114f::1]) by lev.selidor.net (Postfix) with ESMTP id 729DBC84C; Wed, 16 May 2012 22:48:38 +0000 (UTC) Received: by edgar.terramar.selidor.net (Postfix, from userid 1000) id BBCBC1201F5; Thu, 17 May 2012 00:48:37 +0200 (CEST) Date: Thu, 17 May 2012 00:48:37 +0200 From: Ivan Vilata i Balaguer Message-ID: <20120516224837.GA3653@edgar.selidor.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Mailman-Approved-At: Wed, 16 May 2012 18:55:45 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Hi, in coreutils 8.17 (and in current git), `fmt.c` contains the following help line: -g, --goal=WIDTH goal width (default of 93% of width) The percent is interpreted (at least by `msgfmt`) as the start of a `%o` format string, thus translations are forced to have an "o" after `93%` which makes things quite difficult. ;) Changing `93%` by `93%%` should do the job. Thanks, -- Ivan Vilata i Balaguer -- https://elvil.net/ From unknown Mon Jun 23 15:01:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11494: Accidental format string prevents translation Resent-From: Eric Blake Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 16 May 2012 23:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11494 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Ivan Vilata i Balaguer Cc: 11494@debbugs.gnu.org Received: via spool by 11494-submit@debbugs.gnu.org id=B11494.133720983226689 (code B ref 11494); Wed, 16 May 2012 23:11:02 +0000 Received: (at 11494) by debbugs.gnu.org; 16 May 2012 23:10:32 +0000 Received: from localhost ([127.0.0.1]:58236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SUnMV-0006wO-Gu for submit@debbugs.gnu.org; Wed, 16 May 2012 19:10:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57750) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SUnMR-0006w9-8k; Wed, 16 May 2012 19:10:29 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q4GNAEQ7002845 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 16 May 2012 19:10:14 -0400 Received: from [10.3.113.4] ([10.3.113.4]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q4GNADb4017627; Wed, 16 May 2012 19:10:13 -0400 Message-ID: <4FB433D5.1050604@redhat.com> Date: Wed, 16 May 2012 17:10:13 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 References: <20120516224837.GA3653@edgar.selidor.net> In-Reply-To: <20120516224837.GA3653@edgar.selidor.net> X-Enigmail-Version: 1.4.1 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig0ABC1521668595FAECBCB6D1" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0ABC1521668595FAECBCB6D1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable forcemerge 11470 11494 thanks On 05/16/2012 04:48 PM, Ivan Vilata i Balaguer wrote: > Hi, in coreutils 8.17 (and in current git), `fmt.c` contains the follow= ing > help line: >=20 > -g, --goal=3DWIDTH goal width (default of 93% of width) >=20 > The percent is interpreted (at least by `msgfmt`) as the start of a `%o= ` > format string, thus translations are forced to have an "o" after `93%` = which > makes things quite difficult. ;) >=20 > Changing `93%` by `93%%` should do the job. Thanks, Thanks for the report; however, you're the fifth person to report this in 48 hours, and it has already been fixed in current git: http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=3De2bd5cda0a34 --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig0ABC1521668595FAECBCB6D1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJPtDPVAAoJEKeha0olJ0NqGkUH+gIvN8A5ri7ygL1zLNt1CmA/ nWNZYf30iloHyFwRnX3hC+9Tq+qDpHDLoAi+pMGSD2mRC7dVMp2UUNpf6k9cRbO0 mVNsKkNOEfj6y/cBMmk2FTGMkhyrl1M2tzbr9GaGA309cfC4/bqegWyem/KcU9Wz Mq5VWMlFREmzPh3WRlKvznYI6Y4f+TrYYpOaG5hHXt9XNAY9O7MHKNJ7MrwtZ2Kl rM+uRP+8hEW4KNkhOvImWdyAdZJAmX5yT5rARSe0+XzOqz4JZN/khautGcnKwYav /vFU4/MDIVqKBE7dMSpvMLF0DxbXRJQCiejrQFJdSIO7255gzbEStmBLO4CqIYs= =dfE+ -----END PGP SIGNATURE----- --------------enig0ABC1521668595FAECBCB6D1-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 19 10:54:22 2012 Received: (at control) by debbugs.gnu.org; 19 Jun 2012 14:54:22 +0000 Received: from localhost ([127.0.0.1]:48690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sgzoz-0008Ox-9H for submit@debbugs.gnu.org; Tue, 19 Jun 2012 10:54:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:2018) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sgzow-0008Oo-4f for control@debbugs.gnu.org; Tue, 19 Jun 2012 10:54:20 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q5JEosHn002436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 19 Jun 2012 10:50:54 -0400 Received: from [10.3.113.98] (ovpn-113-98.phx2.redhat.com [10.3.113.98]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q5JEorYE022697 for ; Tue, 19 Jun 2012 10:50:54 -0400 Message-ID: <4FE091CD.4080507@redhat.com> Date: Tue, 19 Jun 2012 08:50:53 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: Re: Processed: Re: bug#11740: Message erroneously marked c-format in coreutils.pot from 8.17 References: <4FE08359.9070705@redhat.com> <4FE0851B.8000808@redhat.com> In-Reply-To: <4FE0851B.8000808@redhat.com> X-Enigmail-Version: 1.4.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigCFB3E87A2FCDAEFB7C554D62" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCFB3E87A2FCDAEFB7C554D62 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable unarchive 11470 forcemerge 11470 11740 thanks >=20 > On 06/19/2012 07:53 AM, GNU bug Tracking System wrote: >> Processing commands for control@debbugs.gnu.org: >> >>> forcemerge 11470 11740 >> bug number 11470 not found. (Is it archived?) >> >>> thanks >> Stopping processing here. >> >> Please contact help-debbugs@gnu.org if you need assistance. >> >> GNU bugs database, http://debbugs.gnu.org/ >> >> >=20 --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enigCFB3E87A2FCDAEFB7C554D62 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJP4JHNAAoJEKeha0olJ0NqdVYH/0+T0Q88+NfHOK51vQiOQNfU Ii4YWC96W8ovY0sO/QsigUAgUnHXmN6qawfHmUjVJBgwd0TYoY0G5VTd3xkkdX9p DowA69CMwjyz8yNh4Ez0/PlZrnBq6uDuAXQN+2mYC671HUc8Q7auodV/6hjMYttE rmI6xBP1IzOnXoxn34ADkj5zjlZ5LLkPLXyJWxm4IhKjIwbldGIYTYzrZkqQFTKb Sbe4kin1vjaN77NuyZUDwO+n80UWVijvwf8Buu47CTJm15JY3xUTyVJvaeGXHxtQ 9MalLJx1jE0Za0yrr281Asvrtnsh8cXVTn4OgcOWd0M8mJ2ju/rQ0FWh9fBko4A= =S04b -----END PGP SIGNATURE----- --------------enigCFB3E87A2FCDAEFB7C554D62--