git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 06/23] builtin/pack-objects.c: mark more strings for translation

From
Elijah Newren <newren@gmail.com>
Date
Jul 1, 2018, 05:28 UTC
Message-ID
<CABPp-BFZhCY4HWmo0pSZWtqGSyn1siMyq2a4Wbew3E=PbSe9jA@mail.gmail.com>
In-Reply-To
<20180630090818.28937-7-pclouds@gmail.com>
On Sat, Jun 30, 2018 at 2:08 AM, Nguyễn Thái Ngọc Duy <pclouds@gmail.com> wrote:
> Most of these are straight forward. GETTEXT_POISON does catch the last
> string in cmd_pack_objects(), but since this is --progress output, it's
> not supposed to be machine-readable.
>
Show 8 quoted lines
> @@ -2341,8 +2342,8 @@ static void ll_find_deltas(struct object_entry **list, unsigned list_size,
>                 return;
>         }
>         if (progress > pack_to_stdout)
> -               fprintf_ln(stderr, "Delta compression using up to %d threads.",
> -                               delta_search_threads);
> +               fprintf_ln(stderr, _("Delta compression using up to %d threads"),
> +                          delta_search_threads);
Full stop removal that probably belongs in patch 1 instead.
Show 5 quoted lines
>         if (!pack_to_stdout && !pack_size_limit)
>                 pack_size_limit = pack_size_limit_cfg;
>         if (pack_to_stdout && pack_size_limit)
> -               die("--max-pack-size cannot be used to build a pack for transfer.");
> +               die(_("--max-pack-size cannot be used to build a pack for transfer"));
same.
>         if (keep_unreachable && unpack_unreachable)
> -               die("--keep-unreachable and --unpack-unreachable are incompatible.");
> +               die(_("--keep-unreachable and --unpack-unreachable are incompatible"));
same.
>         if (filter_options.choice) {
>                 if (!pack_to_stdout)
> -                       die("cannot use --filter without --stdout.");
> +                       die(_("cannot use --filter without --stdout"));
same.
Previous: Nguyễn Thái Ngọc DuyNext: Nguyễn Thái Ngọc Duy
Message 9 of 29 in “Mark strings for translation”
  1. 00/23 Mark strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  2. 01/23 Update messages in preparation for i18nNguyễn Thái Ngọc Duy, Jun 30, 2018
  3. 03/23 archive-zip.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  4. 02/23 archive-tar.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  5. 04/23 builtin/config.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  6. Elijah NewrenJul 1, 2018
  7. 05/23 builtin/grep.c: mark strings for translation and no full stopsNguyễn Thái Ngọc Duy, Jun 30, 2018
  8. 06/23 builtin/pack-objects.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  9. Elijah NewrenJul 1, 2018
  10. 07/23 builtin/replace.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  11. Elijah NewrenJul 1, 2018
  12. 08/23 commit-graph.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  13. Derrick StoleeJul 2, 2018
  14. 15/23 object.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  15. 17/23 refs.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  16. 16/23 pkt-line.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  17. 19/23 replace-object.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  18. 18/23 refspec.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  19. 14/23 exec-cmd.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  20. 13/23 environment.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  21. 12/23 dir.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  22. 11/23 convert.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  23. 10/23 connect.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  24. 09/23 config.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  25. Elijah NewrenJul 1, 2018
  26. 20/23 sequencer.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  27. 21/23 sha1-file.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  28. 22/23 transport.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018
  29. 23/23 transport-helper.c: mark more strings for translationNguyễn Thái Ngọc Duy, Jun 30, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.