From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45396 invoked by alias); 3 Aug 2015 20:34:56 -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 45383 invoked by uid 89); 3 Aug 2015 20:34:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Date: Mon, 03 Aug 2015 20:34:00 -0000 From: Joseph Myers To: Carlos O'Donell CC: Jochen Hein , Subject: Re: New template for 'libc' made available In-Reply-To: <55BFB7DC.3090403@redhat.com> Message-ID: References: <87bnepigsb.fsf@echidna.jochen.org> <55BFB7DC.3090403@redhat.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2015-08/txt/msg00046.txt.bz2 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. -- Joseph S. Myers joseph@codesourcery.com