diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2011-05-21 18:43:50 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-21 11:57:14 -0700 |
commit | 7a74d04a46eaa24aaea8080178520266d716e5ad (patch) | |
tree | c88ecbcf7f3707499ad054da370303feb05c0b9c /git-am.sh | |
parent | d62a1461c31e341bea9a25d54d09dcc1cd1a28a0 (diff) | |
download | git-7a74d04a46eaa24aaea8080178520266d716e5ad.tar.gz |
i18n: git-am "Apply?" message
Make the "Apply? [y]es/[n]o/[e]dit/[v]iew patch/[a]ccept all" message
translatable, and leave a note in a TRANSLATORS comment explaining
that translators have to preserve a mention of the y/n/e/v/a
characters since the program will expect them, and not their
localized equivalents.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-am.sh')
-rwxr-xr-x | git-am.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -703,7 +703,10 @@ To restore the original branch and stop patching run \"\$cmdline --abort\"."; ec echo "--------------------------" cat "$dotest/final-commit" echo "--------------------------" - printf "Apply? [y]es/[n]o/[e]dit/[v]iew patch/[a]ccept all " + # TRANSLATORS: Make sure to include [y], [n], [e], [v] and [a] + # in your translation. The program will only accept English + # input at this point. + gettext "Apply? [y]es/[n]o/[e]dit/[v]iew patch/[a]ccept all " read reply case "$reply" in [yY]*) action=yes ;; |