Skip to content

Commit 3030c29

Browse files
moygitster
authored andcommitted
lockfile: mark strings for translation
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent f02fbc4 commit 3030c29

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lockfile.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,13 +149,13 @@ static int lock_file_timeout(struct lock_file *lk, const char *path,
149149
void unable_to_lock_message(const char *path, int err, struct strbuf *buf)
150150
{
151151
if (err == EEXIST) {
152-
strbuf_addf(buf, "Unable to create '%s.lock': %s.\n\n"
152+
strbuf_addf(buf, _("Unable to create '%s.lock': %s.\n\n"
153153
"If no other git process is currently running, this probably means a\n"
154154
"git process crashed in this repository earlier. Make sure no other git\n"
155-
"process is running and remove the file manually to continue.",
155+
"process is running and remove the file manually to continue."),
156156
absolute_path(path), strerror(err));
157157
} else
158-
strbuf_addf(buf, "Unable to create '%s.lock': %s",
158+
strbuf_addf(buf, _("Unable to create '%s.lock': %s"),
159159
absolute_path(path), strerror(err));
160160
}
161161

0 commit comments

Comments
 (0)