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

Re: [PATCH 1/2] Command names should not be translated.

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Sep 20, 2010, 10:22 UTC
Message-ID
<AANLkTin8FR7+N-zCTWYpd=ygtJ6=0m+6iVWXoaok_na=@mail.gmail.com>
In-Reply-To
<0001.Command.names.should.not.be.translated.20100920@softwolves.pp.se>
On Mon, Sep 20, 2010 at 08:00, Peter Krefting <peter@softwolves.pp.se> wrote:
Show 23 quoted lines
> Signed-off-by: Peter Krefting <peter@softwolves.pp.se>
> ---
>  wt-status.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> Re-sending with proper Message-Id. Sorry for the noise.
>
> diff --git a/wt-status.c b/wt-status.c
> index f6946e1..7d4719f 100644
> --- a/wt-status.c
> +++ b/wt-status.c
> @@ -663,9 +663,9 @@ void wt_status_print(struct wt_status *s)
>                wt_status_print_submodule_summary(s, 1);  /* unstaged */
>        }
>        if (s->show_untracked_files) {
> -               wt_status_print_other(s, &s->untracked, _("Untracked"), _("add"));
> +               wt_status_print_other(s, &s->untracked, _("Untracked"), "add");
>                if (s->show_ignored_files)
> -                       wt_status_print_other(s, &s->ignored, _("Ignored"), _("add -f"));
> +                       wt_status_print_other(s, &s->ignored, _("Ignored"), "add -f");
>        } else if (s->commitable)
>                fprintf(s->fp, _("# Untracked files not listed%s\n"),
>                        advice_status_hints

Hi. I already squashed this and many other things as part of the next version of ab/i18n that I'm working on now. I'll be sending a message to the list soon with a pull request for it.

I *thought* I mentioned that somewhere, but if not sorry for making you do un-needed work, and thanks a lot for the report about this issue.

Previous: Peter KreftingNext: Peter Krefting
Message 4 of 7 in “Command names should not be translated.”
  1. 1/2 Command names should not be translated.Peter Krefting, Sep 20, 2010
  2. 2/2 po/sv.po: Add Swedish translation.Peter Krefting, Sep 20, 2010
  3. Peter KreftingSep 20, 2010
  4. Ævar Arnfjörð BjarmasonSep 20, 2010
  5. Peter KreftingSep 20, 2010
  6. Ævar Arnfjörð BjarmasonSep 20, 2010
  7. Peter KreftingSep 21, 2010

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.