xgettext can't understand G_GINT64_FORMAT constant in translatable string
/* Sort out the inactivity timeout. Zero is the default, so ignore that so
* that subclasses can set their own defaults at construction time. */
if (inactivity_timeout_ms < 0 || inactivity_timeout_ms > G_MAXUINT)
{
g_set_error (error, GSS_SERVICE_ERROR, GSS_SERVICE_ERROR_INVALID_OPTIONS,
_("Invalid inactivity timeout %" G_GINT64_FORMAT "ms."),
inactivity_timeout_ms);
gss_service_release (self);
return;
}
Extracting strings in a project which uses this library yields:
subprojects/libgsystemservice/libgsystemservice/service.c:651: warning: Although being used in a format string position, the msgid is not a valid C format string. Reason: The string ends in the middle of a directive.
and the .pot
file contains:
msgid "Invalid inactivity timeout %"
Edited by Will Thompson