This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New template for 'libc' made available


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]