]> git.ipfire.org Git - thirdparty/git.git/commit
i18n: i18n: diff: mark die messages for translation
authorJean-Noël AVILA <jn.avila@free.fr>
Tue, 20 Sep 2016 19:04:27 +0000 (21:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Sep 2016 17:18:33 +0000 (10:18 -0700)
commita2f05c94545a5409d4a90fcad5d495d3d758b218
tree87d45c66a0e96dc663fa7889406fc01398c2549c
parentf2b93b388ccbce342bc8b58d8581f6a077f42eff
i18n: i18n: diff: mark die messages for translation

While marking individual messages for translation, consolidate some
messages "option 'foo' requires a value" that is used for many
options into one by introducing a helper function to die with the
message with the option name embedded in it, and ask the translators
to localize that single message instead.

Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt>
Signed-off-by: Jean-Noel Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c