i18n fixes.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1380 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
Jordi Mallach 2003-01-18 22:42:34 +00:00
parent 8495c71dd0
commit eeb500428d
2 changed files with 11 additions and 5 deletions

View File

@ -1,4 +1,9 @@
CVS Code -
- nano.c:
usage():
- Remove gettext markings from -p/--preserve (Jordi).
do_preserve_msg():
- Unsplit error message into a single fprintf call (Jordi).
GNU nano 1.1.99pre1 - 2003.01.17
- General:

11
nano.c
View File

@ -665,7 +665,7 @@ void usage(void)
#ifndef DISABLE_OPERATINGDIR
print1opt(_("-o [dir]"), _("--operatingdir=[dir]"), _("Set operating directory"));
#endif
print1opt(_("-p"), _("--preserve"), _("Preserve XON (^Q) and XOFF (^S) keys"));
print1opt("-p", "--preserve", _("Preserve XON (^Q) and XOFF (^S) keys"));
#ifndef DISABLE_WRAPJUSTIFY
print1opt(_("-r [#cols]"), _("--fill=[#cols]"), _("Set fill cols to (wrap lines at) #cols"));
#endif
@ -770,10 +770,11 @@ void nano_disabled_msg(void)
void do_preserve_msg(void)
{
fprintf(stderr, _("\nThe -p flag now invokes the Pico \"preserve\" flag. The Pico\n"));
fprintf(stderr, _("compatibility flag has been removed as nano is now fully Pico\n"));
fprintf(stderr, _("compatible. Please see the nano FAQ for more info on this change...\n\n"));
fprintf(stderr, _("Press return to continue\n"));
fprintf(stderr, _("\nThe -p flag now invokes the Pico \"preserve\" flag.\n"
"The Pico compatibility flag has been removed as nano\n"
"now fully Pico compatible. Please see the nano FAQ\n"
"for more info on this change...\n\n"
"Press return to continue\n"));
while (getchar() != '\n');
}