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 <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ævar Arnfjörð Bjarmason committed
Feb 22, 2011 at 23:42 UTC
f6908ae86e90a49c3346ba3097f7b80d070e38a3
1 file changed
+7
-7
builtin/gc.c
+7
-7
@@ -219,13 +219,13 @@ int cmd_gc(int argc, const char **argv, const char *prefix)
219
*/
220
if (!need_to_gc())
221
return 0;
222
- fprintf(stderr,
223
- "Auto packing the repository for optimum performance.%s\n",
224
- quiet
225
- ? ""
226
- : (" You may also\n"
227
- "run \"git gc\" manually. See "
228
- "\"git help gc\" for more information."));
222
+ if (quiet)
223
+ fprintf(stderr, _("Auto packing the repository for optimum performance.\n"));
224
+ else
225
+ fprintf(stderr,
226
+ _("Auto packing the repository for optimum performance. You may also\n"
227
+ "run \"git gc\" manually. See "
228
+ "\"git help gc\" for more information."));
229
} else
230
append_option(argv_repack,
231
prune_expire && !strcmp(prune_expire, "now")