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
master
Benno Schulenberg 2014-12-28 21:58:27 +00:00
parent 5bb10d25ef
commit e99f0b609b
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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) {