From e99f0b609b7f23a46abcbca70043f78393e982af Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 28 Dec 2014 21:58:27 +0000 Subject: [PATCH] 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 --- ChangeLog | 4 ++++ src/files.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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) {