summaryrefslogtreecommitdiff
path: root/generate-cmdlist.sh
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-04-23 19:30:24 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-04-24 14:55:48 -0700
commit9665627d8cc6f0263f0019e92c67a38223804b57 (patch)
tree4dd51c94fb8ff8d794ed2b7c1603d58023efcd5d /generate-cmdlist.sh
parenti18n: mark relative dates for translation (diff)
downloadtgif-9665627d8cc6f0263f0019e92c67a38223804b57.tar.xz
i18n: help: mark strings for translation
This patch also marks most common commands' synopsis for translation so that "git help" gives a friendly listing. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'generate-cmdlist.sh')
-rwxr-xr-xgenerate-cmdlist.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/generate-cmdlist.sh b/generate-cmdlist.sh
index 1093ef4ad6..9a4c9b94e6 100755
--- a/generate-cmdlist.sh
+++ b/generate-cmdlist.sh
@@ -16,7 +16,7 @@ do
/^NAME/,/git-'"$cmd"'/H
${
x
- s/.*git-'"$cmd"' - \(.*\)/ {"'"$cmd"'", "\1"},/
+ s/.*git-'"$cmd"' - \(.*\)/ {"'"$cmd"'", N_("\1")},/
p
}' "Documentation/git-$cmd.txt"
done