Skip to content

Commit f7c35ea

Browse files
SRManzgitster
authored andcommitted
worktree: mark lock strings with _() for translation
- default lock string, "added with --lock" - temporary lock string, "initializing" Signed-off-by: Stephen Manz <[email protected]> Reviewed-by: Eric Sunshine <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f9365c0 commit f7c35ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builtin/worktree.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,9 @@ static int add_worktree(const char *path, const char *refname,
303303
*/
304304
strbuf_addf(&sb, "%s/locked", sb_repo.buf);
305305
if (!opts->keep_locked)
306-
write_file(sb.buf, "initializing");
306+
write_file(sb.buf, _("initializing"));
307307
else
308-
write_file(sb.buf, "added with --lock");
308+
write_file(sb.buf, _("added with --lock"));
309309

310310
strbuf_addf(&sb_git, "%s/.git", path);
311311
if (safe_create_leading_directories_const(sb_git.buf))

0 commit comments

Comments
 (0)