From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Carlos O'Donell" Newsgroups: gmane.comp.lib.glibc.alpha Subject: Re: New template for 'libc' made available Date: Tue, 04 Aug 2015 10:30:19 -0400 Message-ID: <55C0CC7B.2010208@redhat.com> References: <87bnepigsb.fsf@echidna.jochen.org> <55BFB7DC.3090403@redhat.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1438698641 22832 80.91.229.3 (4 Aug 2015 14:30:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Aug 2015 14:30:41 +0000 (UTC) Cc: Jochen Hein , libc-alpha@sourceware.org To: Joseph Myers Original-X-From: libc-alpha-return-61604-glibc-alpha=m.gmane.org@sourceware.org Tue Aug 04 16:30:40 2015 Return-path: Envelope-to: glibc-alpha@plane.gmane.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=YwRc4qsLIh/B1IE+ BJ9V9hw/WPr/4PmOsm/I6H3L7YQmKoyhmp1vacWPcJsYJIfpy5sYA6BuAjMtXTK0 A7F+pz19QMctn2MQHIWoatLEjuLki1zHUDSdgHmqPWfmsUYWiZKY/J3xDjOmP3fR cnwKMajrx65Hr8RhSrKtuYbAKe8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=yL/0MRmyCtXPdajMsBt0xC Rdz9M=; b=t7YRJcpgxCshAbO5uGysIJ+Qn+WmehD63mKHYLpxQ3KSNjh9W1Qx0J sjKKethW/hfRGoxwfW+3zIMaon8V+zcrNyCksxDed3FJ0nre3xAVwDC5n50yRzZr EtH1teCeYlaQ0ZrryEQ4MLCaUR85T3siPmj1s7hXC414X//XF0mKc= Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Original-Sender: libc-alpha-owner@sourceware.org Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: Xref: news.gmane.org gmane.comp.lib.glibc.alpha:53883 Archived-At: Received: from server1.sourceware.org ([209.132.180.131] helo=sourceware.org) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZMdEm-000228-4o for glibc-alpha@plane.gmane.org; Tue, 04 Aug 2015 16:30:40 +0200 Received: (qmail 23501 invoked by alias); 4 Aug 2015 14:30:30 -0000 Received: (qmail 23449 invoked by uid 89); 4 Aug 2015 14:30:26 -0000 On 08/03/2015 04:34 PM, Joseph Myers wrote: > On Mon, 3 Aug 2015, Carlos O'Donell wrote: > >> dbg_log (_("monitored file `%s` was %s, removing watch"), >> - finfo->fname, moved ? "moved" : "deleted"); >> + finfo->fname, moved ? _("moved") : _("deleted")); > > No, you need to have two completely separate format strings, one with > "moved" and one with "deleted", each marked for translation, in case the > translation of the word affects the rest of the sentence or the word needs > translating differently in different calls to dbg_log. Thanks. I'll fix this in 2.23 then. Cheers, Carlos.