nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit e99f0b609b7f23a46abcbca70043f78393e982af
parent 5bb10d25efef96a48462017975b5848550d3cb3e
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Sun, 28 Dec 2014 21:58:27 +0000

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

Diffstat:
MChangeLog | 4++++
Msrc/files.c | 2+-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,7 @@ +2014-12-28 Benno Schulenberg <bensberg@justemail.net> + * src/files.c (do_lockfile): Gettextize the "File being edited" + prompt, and improve its wording. + 2014-11-30 Benno Schulenberg <bensberg@justemail.net> * 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 @@ -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) {