I recently changed PRId64 to G_GINT64_FORMAT, but that's outside the
subject. The point that this constant can be defined to different
values depending on the platform, so it mustn't be inside the string
that gets translated. We need to move it outside _(), together
with % symbol, I guess to a second snprintf.

On Fri, 12 Sep 2014 19:20:48 +0200
Pascal Obry <pas...@obry.net> wrote:

> 
> A problem of translation and I don't have the solution.
> 
> #: ../build/src/preferences_gen.h:2011
> msgid "double click to reset to `%"
> msgstr "double-cliquer pour réinitialiser «%d»"
> 
> The line 2011 is:
> 
>     snprintf(tooltip, 1024, _("double click to reset to `%"PRId64"'"),
> (gint64)((1024 * 1024 * 512) * factor));
> 
> It seems that the " just after % confused gettext!
> 
> Any idea?
> 
> -- 
>   Pascal Obry /  Magny Les Hameaux (78)
> 
>   The best way to travel is by means of imagination
> 
>   http://v2p.fr.eu.org
>   http://www.obry.net
> 
>   gpg --keyserver keys.gnupg.net --recv-key F949BD3B
> 
> 
> ------------------------------------------------------------------------------
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> _______________________________________________
> darktable-devel mailing list
> darktable-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/darktable-devel
> 

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to