Am Freitag, 12. September 2014, 22:45:59 schrieb parafin: > 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.
I don#t know about G_GINT64_FORMAT but at least PRId64 is understood by gettext. > On Fri, 12 Sep 2014 19:20:48 +0200 > > Pascal Obry <[email protected]> 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? > > ---------------------------------------------------------------------------- > -- 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/darktable-devel
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/darktable-devel
