i18n: symbolic-ref: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Nguyễn Thái Ngọc Duy committed Aug 20, 2012 at 19:32 UTC b10bf3fa1100ac813c7751af2f490da57e8c4080
1 file changed +4 -4
builtin/symbolic-ref.c
+4 -4
@@ -4,7 +4,7 @@
4 #include "parse-options.h"
5
6 static const char * const git_symbolic_ref_usage[] = {
7 - "git symbolic-ref [options] name [ref]",
7 + N_("git symbolic-ref [options] name [ref]"),
8 NULL
9 };
10
@@ -35,9 +35,9 @@ int cmd_symbolic_ref(int argc, const char **argv, const char *prefix)
35 const char *msg = NULL;
36 struct option options[] = {
37 OPT__QUIET(&quiet,
38 - "suppress error message for non-symbolic (detached) refs"),
39 - OPT_BOOL(0, "short", &shorten, "shorten ref output"),
40 - OPT_STRING('m', NULL, &msg, "reason", "reason of the update"),
38 + N_("suppress error message for non-symbolic (detached) refs")),
39 + OPT_BOOL(0, "short", &shorten, N_("shorten ref output")),
40 + OPT_STRING('m', NULL, &msg, N_("reason"), N_("reason of the update")),
41 OPT_END(),
42 };
43