i18n-ja: synchronized with e259d4c462b5

--HG--
branch : stable
i18n-pt_BR: synchronized with c57c9cece645

--HG--
branch : stable
merge: fix lack of "%s" in format string causing TypeError at runtime

--HG--
branch : stable
extra : rebase_source : 44df0fef692bcf343d9e748ddb8d7bceb0b657aa
i18n: fix "% inside _()" problems

Before this patch, "contrib/check-code.py" can't detect these
problems, because the regexp pattern to detect "% inside _()" doesn't
suppose the case that the format string and "%" aren't placed in the
same line.

This patch replaces "\s" in that regexp pattern with "[ \t\n]" to
detect "% inside _()" problems in such case.

"[\s\n]" can't be used in this purpose, because "\s" is automatically
replaced with "[ \t]" by "_preparepats()" and "\s" in "[]" causes
nested "[]" unexpectedly.

--HG--
branch : stable
extra : rebase_source : 1a28c327d40f2793356f04c0c54ef34fbcfa4b03
i18n: fix "% inside _()" problems

Before this patch, "contrib/check-code.py" can't detect these
problems, because the regexp pattern to detect "% inside _()" doesn't
suppose the case that format string consists of multiple string
components concatenated implicitly or explicitly,

This patch does below for that regexp pattern to detect "% inside _()"
problems in such case.

  - put "+" into separator part ("[ \t\n]") for explicit concatenation
    ("...." + "...." style)

  - enclose "component and separator" part by "(?:....)+" for
    concatenation itself ("...." "...." or "...." + "....")

--HG--
branch : stable
extra : rebase_source : 710e0f772a95cc7129788fa836cc2d7389f91e1e