New template for 'libc' made available

Joseph Myers joseph@codesourcery.com
Mon Aug 3 20:34:00 GMT 2015


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



More information about the Libc-alpha mailing list