From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 15 14:11:10 2016 Received: (at submit) by debbugs.gnu.org; 15 Feb 2016 19:11:11 +0000 Received: from localhost ([127.0.0.1]:40438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aVOYA-0000px-ON for submit@debbugs.gnu.org; Mon, 15 Feb 2016 14:11:10 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40062) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aVOYA-0000pj-3j for submit@debbugs.gnu.org; Mon, 15 Feb 2016 14:11:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVOY4-0000vy-2f for submit@debbugs.gnu.org; Mon, 15 Feb 2016 14:11:04 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVOY3-0000vu-Vk for submit@debbugs.gnu.org; Mon, 15 Feb 2016 14:11:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVOY3-00018k-7e for bug-coreutils@gnu.org; Mon, 15 Feb 2016 14:11:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVOXy-0000uf-71 for bug-coreutils@gnu.org; Mon, 15 Feb 2016 14:11:03 -0500 Received: from mimmi.uddeborg.se ([62.65.125.225]:44950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVOXx-0000sn-SH for bug-coreutils@gnu.org; Mon, 15 Feb 2016 14:10:58 -0500 Received: from mimmi.uddeborg (localhost [127.0.0.1]) by mimmi.uddeborg.se (8.14.8/8.14.8) with ESMTP id u1FJArZb018261 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 15 Feb 2016 20:10:53 +0100 Received: (from goeran@localhost) by mimmi.uddeborg (8.14.8/8.14.7/Submit) id u1FJAqe2018260; Mon, 15 Feb 2016 20:10:52 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <22210.8892.691738.66346@mimmi.uddeborg> Date: Mon, 15 Feb 2016 20:10:52 +0100 From: =?utf-8?Q?G=C3=B6ran?= Uddeborg To: bug-coreutils@gnu.org Subject: An empty string marked for translation X-Mailer: VM 8.1.2 under 24.5.1 (x86_64-redhat-linux-gnu) X-Face: "m&!q8; elk)j/GjdH0A1-5euH[VSc"z|=FSJFsZMltGCVh^{K :^Y;hs=IW^!,^]<.Do*c6+Eg2{+(^IjaW<2X,!<6=S\`8s3$0p'*sQ"tm\<(tRW?,CmQ3 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEWQh57sm6js5cXtx2m7aB3w w7JPOB2GZkXoiFtUKFpNAAACUElEQVQ4jVWTMW/bMBCFnaBNOoZFjWgNA/6AlgiivQTiMWRAwGMK FFRHG1V0HmtLsu5n9x1lOcoBHsxP7x7fkVxYWzKqc7Mi1MLYXGVbsnsiko+4xcLCxJdM2KVcq/FD u9AiKXlIU/2cwL19CLZM79Vy2zIvNDpF28zAX5s97sViLkjVCPB7sUf5f1bxBKyVdVY8UKZ/YDKC MjW0VdGrgonkG2TO4JGaahl1jEKgQUaXwZHSNmgBjHYpORZFCQsItNYm+j1AA9CtAMrH1PwKsg4X gGOqV11WHBO9AWisCxjSb+dEwQAXOrdawgT7ql3nBHTV1UUcPYrsPgK2XNEWQCnlC6IdiYcAUb9F 7ZmVH+TwmhrnCVBy03zWRjH1d1QJcCs3tjqmA9IN1HuqkgB3Bl9NvG2uASuEnYNLs+5v9qKS6tzJ YxiWRiFdDLeyvjuBlvdxKfNYhviNqH6aAHMJa6QLWgA97XgOkDuYWAigM/h+N4IYihrJJ0XJh3UG clA1rumuFiBXui90DNr49X7cLp+BzwASjK0+tSrlSoTsHozPkhPoeAQBkz+BnIM73OCD6SGBC8Ob ajeC/Fb22hic39CkCeSHxqse5nuVj5zcBLoTgLmaA8nOvexKx2KYAXmXzCbPpPigyCDKlqPH7XlX yEtvQ5QoUV2PMbIigx9Gwvt3YMdW9kFGFf0NzYDsCm86enT6JyOZgHSyRgzUzTXRZtFNHrxqHzSu 1rrHnjbP6UueFb5G9oNWciDFsInx6rXLoGwBtA6QeDVc6uer10/O/Qe504dyZ3pFxAAAAABJRU5E rkJggg== X-URL: http://www.uddeborg.se/g%C3%B6ran/ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On line 955 of src/stty.c there is an empty string marked for translation. fputs (_("\ "), stdout); This might actually be harmful. Po files use the translation of the empty string as a header. So depending on the gettext implementation, it might be replaced by a header which I'm sure isn't intended. (Maybe GNU gettext guards against this, I haven't investigated. But even if so, it is still pretty pointless to mark it for translation.) From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 15 16:10:46 2016 Received: (at 22686-done) by debbugs.gnu.org; 15 Feb 2016 21:10:46 +0000 Received: from localhost ([127.0.0.1]:40496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aVQPt-0003fJ-Sh for submit@debbugs.gnu.org; Mon, 15 Feb 2016 16:10:46 -0500 Received: from mail.magicbluesmoke.com ([82.195.144.49]:52764) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aVQPs-0003fB-9P for 22686-done@debbugs.gnu.org; Mon, 15 Feb 2016 16:10:44 -0500 Received: from localhost.localdomain (c-73-70-29-104.hsd1.ca.comcast.net [73.70.29.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 8F73394D2; Mon, 15 Feb 2016 21:10:42 +0000 (GMT) Subject: Re: bug#22686: An empty string marked for translation To: =?UTF-8?Q?G=c3=b6ran_Uddeborg?= , 22686-done@debbugs.gnu.org References: <22210.8892.691738.66346@mimmi.uddeborg> From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: <56C23ED0.8090401@draigBrady.com> Date: Mon, 15 Feb 2016 13:10:40 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <22210.8892.691738.66346@mimmi.uddeborg> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 22686-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 15/02/16 11:10, Göran Uddeborg wrote: > On line 955 of src/stty.c there is an empty string marked for > translation. > > fputs (_("\ > "), stdout); > > This might actually be harmful. Po files use the translation of the > empty string as a header. So depending on the gettext implementation, > it might be replaced by a header which I'm sure isn't intended. > (Maybe GNU gettext guards against this, I haven't investigated. But > even if so, it is still pretty pointless to mark it for translation.) Ouch it does output the header when translating (so not for English). I pushed the fix in your name: http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.25-6-g222e830 thanks! Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 15 16:32:43 2016 Received: (at 22686) by debbugs.gnu.org; 15 Feb 2016 21:32:43 +0000 Received: from localhost ([127.0.0.1]:40514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aVQl9-0004D5-0E for submit@debbugs.gnu.org; Mon, 15 Feb 2016 16:32:43 -0500 Received: from mimmi.uddeborg.se ([62.65.125.225]:56206) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aVQl6-0004Cs-A8 for 22686@debbugs.gnu.org; Mon, 15 Feb 2016 16:32:40 -0500 Received: from mimmi.uddeborg (localhost [127.0.0.1]) by mimmi.uddeborg.se (8.14.8/8.14.8) with ESMTP id u1FLWcC5021898 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO) for <22686@debbugs.gnu.org>; Mon, 15 Feb 2016 22:32:38 +0100 Received: (from goeran@localhost) by mimmi.uddeborg (8.14.8/8.14.7/Submit) id u1FLWbkP021897; Mon, 15 Feb 2016 22:32:37 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <22210.17397.745802.393695@mimmi.uddeborg> Date: Mon, 15 Feb 2016 22:32:37 +0100 From: =?utf-8?Q?G=C3=B6ran?= Uddeborg To: 22686@debbugs.gnu.org Subject: bug#22686: closed (Re: bug#22686: An empty string marked for translation) In-Reply-To: References: <56C23ED0.8090401@draigBrady.com> <22210.8892.691738.66346@mimmi.uddeborg> X-Mailer: VM 8.1.2 under 24.5.1 (x86_64-redhat-linux-gnu) X-Face: "m&!q8; elk)j/GjdH0A1-5euH[VSc"z|=FSJFsZMltGCVh^{K :^Y;hs=IW^!,^]<.Do*c6+Eg2{+(^IjaW<2X,!<6=S\`8s3$0p'*sQ"tm\<(tRW?,CmQ3 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEWQh57sm6js5cXtx2m7aB3w w7JPOB2GZkXoiFtUKFpNAAACUElEQVQ4jVWTMW/bMBCFnaBNOoZFjWgNA/6AlgiivQTiMWRAwGMK FFRHG1V0HmtLsu5n9x1lOcoBHsxP7x7fkVxYWzKqc7Mi1MLYXGVbsnsiko+4xcLCxJdM2KVcq/FD u9AiKXlIU/2cwL19CLZM79Vy2zIvNDpF28zAX5s97sViLkjVCPB7sUf5f1bxBKyVdVY8UKZ/YDKC MjW0VdGrgonkG2TO4JGaahl1jEKgQUaXwZHSNmgBjHYpORZFCQsItNYm+j1AA9CtAMrH1PwKsg4X gGOqV11WHBO9AWisCxjSb+dEwQAXOrdawgT7ql3nBHTV1UUcPYrsPgK2XNEWQCnlC6IdiYcAUb9F 7ZmVH+TwmhrnCVBy03zWRjH1d1QJcCs3tjqmA9IN1HuqkgB3Bl9NvG2uASuEnYNLs+5v9qKS6tzJ YxiWRiFdDLeyvjuBlvdxKfNYhviNqH6aAHMJa6QLWgA97XgOkDuYWAigM/h+N4IYihrJJ0XJh3UG clA1rumuFiBXui90DNr49X7cLp+BzwASjK0+tSrlSoTsHozPkhPoeAQBkz+BnIM73OCD6SGBC8Ob ajeC/Fb22hic39CkCeSHxqse5nuVj5zcBLoTgLmaA8nOvexKx2KYAXmXzCbPpPigyCDKlqPH7XlX yEtvQ5QoUV2PMbIigx9Gwvt3YMdW9kFGFf0NzYDsCm86enT6JyOZgHSyRgzUzTXRZtFNHrxqHzSu 1rrHnjbP6UueFb5G9oNWciDFsInx6rXLoGwBtA6QeDVc6uer10/O/Qe504dyZ3pFxAAAAABJRU5E rkJggg== X-URL: http://www.uddeborg.se/g%C3%B6ran/ X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22686 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) > bug introduced in coreutils-8.24 Already in 8.24? Right, it does happen to my system coreutils (Fedora 23). I assumed it was a new mistake, so I never checked that. (And it shows that gettext does not guard aginst it.) But good to have it fixed either way. :-) From unknown Mon Jun 23 23:53:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 15 Mar 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator