From: Nguyễn Thái Ngọc Duy Date: Mon, 20 Aug 2012 12:32:36 GMT Subject: [PATCH 47/66] i18n: replace: mark parseopt strings for translation Message-ID: <1345465975-16927-48-git-send-email-pclouds@gmail.com> In-Reply-To: <1345465975-16927-1-git-send-email-pclouds@gmail.com> Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/replace.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/builtin/replace.c b/builtin/replace.c index 4a8970e..e3aaf70 100644 --- a/builtin/replace.c +++ b/builtin/replace.c @@ -14,9 +14,9 @@ #include "parse-options.h" static const char * const git_replace_usage[] = { - "git replace [-f] ", - "git replace -d ...", - "git replace -l []", + N_("git replace [-f] "), + N_("git replace -d ..."), + N_("git replace -l []"), NULL }; @@ -115,9 +115,9 @@ int cmd_replace(int argc, const char **argv, const char *prefix) { int list = 0, delete = 0, force = 0; struct option options[] = { - OPT_BOOLEAN('l', NULL, &list, "list replace refs"), - OPT_BOOLEAN('d', NULL, &delete, "delete replace refs"), - OPT_BOOLEAN('f', NULL, &force, "replace the ref if it exists"), + OPT_BOOLEAN('l', NULL, &list, N_("list replace refs")), + OPT_BOOLEAN('d', NULL, &delete, N_("delete replace refs")), + OPT_BOOLEAN('f', NULL, &force, N_("replace the ref if it exists")), OPT_END() }; -- 1.7.12.rc2.18.g61b472e