gettext: javascript-format

1 
1 15.3.26 JavaScript Format Strings
1 ---------------------------------
1 
1    Although JavaScript specification itself does not define any format
1 strings, many JavaScript implementations provide printf-like functions.
1 ‘xgettext’ understands a set of common format strings used in popular
1 JavaScript implementations including Gjs, Seed, and Node.JS. In such a
1 format string, a directive starts with ‘%’ and is finished by a
1 specifier: ‘%’ denotes a literal percent sign, ‘c’ denotes a character,
1 ‘s’ denotes a string, ‘b’, ‘d’, ‘o’, ‘x’, ‘X’ denote an integer, ‘f’
1 denotes floating-point number, ‘j’ denotes a JSON object.
1