From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23501 invoked by alias); 4 Aug 2015 14:30:30 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 23449 invoked by uid 89); 4 Aug 2015 14:30:26 -0000 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 Message-ID: <55C0CC7B.2010208@redhat.com> Date: Tue, 04 Aug 2015 14:30:00 -0000 From: "Carlos O'Donell" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Joseph Myers CC: Jochen Hein , libc-alpha@sourceware.org Subject: Re: New template for 'libc' made available References: <87bnepigsb.fsf@echidna.jochen.org> <55BFB7DC.3090403@redhat.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-08/txt/msg00054.txt.bz2 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.