diff --git a/ChangeLog b/ChangeLog index 3ce23af0..c71f8a80 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-12-28 Benno Schulenberg + * src/files.c (do_lockfile): Gettextize the "File being edited" + prompt, and improve its wording. + 2014-11-30 Benno Schulenberg * doc/syntax/spec.nanorc: Colorize %pretrans and %posttrans fully. Original patch from Savannah patch #8573 by Daniel Vrátil. diff --git a/src/files.c b/src/files.c index c5d7942b..b3e65413 100644 --- a/src/files.c +++ b/src/files.c @@ -288,7 +288,7 @@ int do_lockfile(const char *filename) fprintf(stderr, "user which created this lock file should be %s\n", lockuser); #endif - sprintf(promptstr, "File being edited (by %s, PID %d, user %s), continue?", + sprintf(promptstr, _("File is being edited (by %s, PID %d, user %s); continue?"), lockprog, lockpid, lockuser); ans = do_yesno_prompt(FALSE, promptstr); if (ans < 1) {