diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2011-05-21 18:44:03 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-21 11:57:16 -0700 |
commit | b9b9c22f6db3e3c089098ba04fbc885e2cb4f4dd (patch) | |
tree | 21e698dfd7cc58dbdf333e607cb0629b7c15b891 /git-submodule.sh | |
parent | ee653c89ff77eaadd2162870267ad812fdc34af5 (diff) | |
download | git-b9b9c22f6db3e3c089098ba04fbc885e2cb4f4dd.tar.gz |
i18n: git-submodule "cached cannot be used" message
Gettextize the "--cached cannot be used with --files" message. Since
this message starts with "--" we have to pass "--" as the first
argument. This works with both GNU gettext 0.18.1 (as expected), and
the gettext(1) on Solaris 10.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-submodule.sh')
-rwxr-xr-x | git-submodule.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-submodule.sh b/git-submodule.sh index 7eb1de03a5..444e1c581a 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -617,7 +617,7 @@ cmd_summary() { if [ -n "$files" ] then test -n "$cached" && - die "--cached cannot be used with --files" + die "$(gettext -- "--cached cannot be used with --files")" diff_cmd=diff-files head= fi |