Thread (20 messages) 20 messages, 2 authors, 2021-07-17

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

flat view
STALE1908d

From: Stephen Manz via GitGitGadget <hidden>
Date: 2021-07-08 15:50:59
Subsystem: the rest · Maintainer: Linus Torvalds

From: Stephen Manz <redacted>

Signed-off-by: Stephen Manz <redacted>
---
 builtin/worktree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/worktree.c b/builtin/worktree.c
index 976bf8ed063..448ec69e745 100644
--- 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"));
 
 	strbuf_addf(&sb_git, "%s/.git", path);
 	if (safe_create_leading_directories_const(sb_git.buf))
-- 
gitgitgadget
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help