From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joseph Myers Newsgroups: gmane.comp.lib.glibc.alpha Subject: Re: New template for 'libc' made available Date: Mon, 3 Aug 2015 20:34:48 +0000 Message-ID: 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="US-ASCII" X-Trace: ger.gmane.org 1438634102 8834 80.91.229.3 (3 Aug 2015 20:35:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Aug 2015 20:35:02 +0000 (UTC) Cc: Jochen Hein , To: Carlos O'Donell Original-X-From: libc-alpha-return-61596-glibc-alpha=m.gmane.org@sourceware.org Mon Aug 03 22:35:01 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:date:from:to:cc:subject:in-reply-to:message-id :references:mime-version:content-type; q=dns; s=default; b=E9xOy U5wjfeqOOYKcA4KF1uRhJFmxa0AnFAbKk7Di5IorAyIwFJYhQeihX9R9ZdjkotMG N+HUwQQ3Eh6ohkMthWDZItK6rGWUPU/PwTe1IZTVSvOcKzrPFbI75btu+dW7imDL lS3lRJmiwZoYNbeC7WdRgDNUfGNK2CRlTTSl34= 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:date:from:to:cc:subject:in-reply-to:message-id :references:mime-version:content-type; s=default; bh=RxEro3Nm2rL D2ma8fKci3q3/neU=; b=R2vBPQKGrc2hOwZLiFSPUC48aSy4YcsWqiVwnMW+Awn FmYUvEzMkMlYQEPwMfXpnnytjeEG99QuNt4Qv9ebDeIf9ccmMHHFcisEXGNads3x drjNslrt/A5Wy1FA3CpG/4SlYWCqzVouInXlAAthECL4RQDKnMsMoxpePobVQ8R0 = 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=-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 In-Reply-To: <55BFB7DC.3090403@redhat.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) Xref: news.gmane.org gmane.comp.lib.glibc.alpha:53875 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 1ZMMRo-0000zT-Pa for glibc-alpha@plane.gmane.org; Mon, 03 Aug 2015 22:35:01 +0200 Received: (qmail 45396 invoked by alias); 3 Aug 2015 20:34:56 -0000 Received: (qmail 45383 invoked by uid 89); 3 Aug 2015 20:34:56 -0000 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