From: Benno Schulenberg Date: Sun, 28 Dec 2014 21:58:27 +0000 (+0000) Subject: Gettextizing the "File being edited" prompt, X-Git-Tag: v2.3.99pre1~4 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e99f0b609b7f23a46abcbca70043f78393e982af;p=nano.git Gettextizing the "File being edited" prompt, and improving its wording. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5097 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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) {