lockfile: mark strings for translation
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Matthieu Moy committed
Mar 1, 2016 at 18:04 UTC
3030c295baee355d0b454a2d54f295153f8ea6a8
1 file changed
+3
-3
lockfile.c
+3
-3
@@ -149,13 +149,13 @@ static int lock_file_timeout(struct lock_file *lk, const char *path,
149
void unable_to_lock_message(const char *path, int err, struct strbuf *buf)
150
{
151
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"
153
"If no other git process is currently running, this probably means a\n"
154
"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."),
156
absolute_path(path), strerror(err));
157
} else
158
- strbuf_addf(buf, "Unable to create '%s.lock': %s",
158
+ strbuf_addf(buf, _("Unable to create '%s.lock': %s"),
159
absolute_path(path), strerror(err));
160
}
161