1 maj 2014 kl. 08.13 skrev Dongsheng Song:
_("The repository trunk version is %"PRId64".")
Will translate to:
_("The repository trunk version is %lld.") // ILP32
_("The repository trunk version is %I64d.") // MSVC
_("The repository trunk version is %ld.") // LP64
No, gettext recognises standard format macros, such as PRId64, in
localised strings.
The above string would appear in the message catalogue as
msgid "The repository trunk version is %<PRId64>."
to be translated in the obvious way, keeping the %<PRId64> in the
string.