From: Jakub Narębski Date: Sat, 01 Oct 2016 19:56:04 GMT Subject: Re: [PATCH v2 11/11] i18n: difftool: mark warnings for translation Message-ID: <34c793f6-b297-3040-b5fa-29f4a9480cd2@gmail.com> In-Reply-To: W dniu 26.09.2016 o 01:21, Junio C Hamano pisze: > Vasco Almeida writes: > >> - warn << 'EOF'; >> + warn __ <<'EOF'; >> Combined diff formats ('-c' and '--cc') are not supported in >> directory diff mode ('-d' and '--dir-diff'). >> EOF > > Wow, didn't imagine gettext would pick this up. Nice. From gettext documentation: https://www.gnu.org/software/gettext/manual/gettext.html 15 Other Programming Languages [...] 15.5 Individual Programming Languages [...] 15.5.18 Perl [...] 15.5.18.4 What are Strings And Quote-like Expressions? Perl offers a plethora of different string constructs. Those that can be used either as arguments to functions or inside braces for hash lookups are generally supported by xgettext. [...] * here documents print gettext <<'EOF'; program not found in $PATH EOF print ngettext <