Thread (1 message) 1 message, 1 author, 2021-07-09

Re: [PATCH v2 2/3] worktree: default lock string should be marked with `_()` for translation

From: Junio C Hamano <hidden>
Date: 2021-07-09 15:58:45

Eric Sunshine [off-list ref] writes:
On Thu, Jul 8, 2021 at 11:50 AM Stephen Manz via GitGitGadget
[off-list ref] wrote:
quoted
diff --git a/builtin/worktree.c b/builtin/worktree.c
@@ -305,7 +305,7 @@ static int add_worktree(const char *path, const char *refname,
        if (!opts->keep_locked)
                write_file(sb.buf, "initializing");
        else
-               write_file(sb.buf, "added with --lock");
+               write_file(sb.buf, _("added with --lock"));
Makes perfect sense, though the "initializing" string in the `then`
arm probably deserves the same treatment:

    write_file(sb.buf, _("initializing"));
Good eyes.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help