From: Ævar Arnfjörð Bjarmason Date: Tue, 22 Feb 2011 23:42:25 +0000 (+0000) Subject: i18n: git-gc "Auto packing the repository" message X-Git-Tag: v1.7.5-rc1~19^2~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f6908ae86e90a49c3346ba3097f7b80d070e38a3;p=git.git i18n: git-gc "Auto packing the repository" message Split up the "Auto packing the repository" message into quiet and verbose variants to make translation easier. Signed-off-by: Ævar Arnfjörð Bjarmason Signed-off-by: Junio C Hamano --- diff --git a/builtin/gc.c b/builtin/gc.c index a2be62a57..ff5f73ba8 100644 --- a/builtin/gc.c +++ b/builtin/gc.c @@ -219,13 +219,13 @@ int cmd_gc(int argc, const char **argv, const char *prefix) */ if (!need_to_gc()) return 0; - fprintf(stderr, - "Auto packing the repository for optimum performance.%s\n", - quiet - ? "" - : (" You may also\n" - "run \"git gc\" manually. See " - "\"git help gc\" for more information.")); + if (quiet) + fprintf(stderr, _("Auto packing the repository for optimum performance.\n")); + else + fprintf(stderr, + _("Auto packing the repository for optimum performance. You may also\n" + "run \"git gc\" manually. See " + "\"git help gc\" for more information.")); } else append_option(argv_repack, prune_expire && !strcmp(prune_expire, "now")