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

Re: [PATCH 07/23] builtin/replace.c: mark more strings for translation

From
Elijah Newren <newren@gmail.com>
Date
Jul 1, 2018, 05:34 UTC
Message-ID
<CABPp-BEQyEeYvE_JVDeVTWQSpOYj8pCzELQY6dpaz4p2S9d0NQ@mail.gmail.com>
In-Reply-To
<20180630090818.28937-8-pclouds@gmail.com>
On Sat, Jun 30, 2018 at 2:08 AM, Nguyễn Thái Ngọc Duy <pclouds@gmail.com> wrote:
Show 5 quoted lines
> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
> ---
>  builtin/replace.c | 82 +++++++++++++++++++++++------------------------
>  1 file changed, 41 insertions(+), 41 deletions(-)
>
> -               return error("invalid replace format '%s'\n"
> -                            "valid formats are 'short', 'medium' and 'long'\n",
> +               return error(_("invalid replace format '%s'\n"
> +                              "valid formats are 'short', 'medium' and 'long'"),
Was the removal of the trailing newline intentional?  If so, move it to patch 1?
Show 12 quoted lines
> @@ -456,10 +456,10 @@ static int create_graft(int argc, const char **argv, int force, int gentle)
>                 return -1;
>         }
>
> -       if (remove_signature(&buf)) {
> -               warning(_("the original commit '%s' has a gpg signature."), old_ref);
> -               warning(_("the signature will be removed in the replacement commit!"));
> -       }
> +       if (remove_signature(&buf))
> +               warning(_("the original commit '%s' has a gpg signature.\n"
> +                         "The signature will be removed in the replacement commit!"),
> +                       old_ref);
More message changes that probably belong in patch 1 for consistency.
Previous: Nguyễn Thái Ngọc DuyNext: Nguyễn Thái Ngọc Duy
Message 11 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.