Silly newline fix in die()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@362 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2000-12-02 05:33:00 +00:00
parent 3dbb2783d3
commit 8c36f8876c
2 changed files with 85 additions and 84 deletions

3
nano.c
View File

@ -133,11 +133,10 @@ void die(char *msg, ...)
endwin();
fprintf(stderr, msg);
fprintf(stderr, "\n");
if (i != -1)
fprintf(stderr, _("\nBuffer written to %s\n"), name);
else
fprintf(stderr, _("No .save file written (symlink encountered?)\n"));
fprintf(stderr, _("\nNo .save file written (symlink encountered?)\n"));
exit(1); /* We have a problem: exit w/ errorlevel(1) */
}

View File

@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2000-12-01 23:31-0500\n"
"POT-Creation-Date: 2000-12-02 00:33-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -55,7 +55,7 @@ msgstr ""
msgid "File to insert [from ./] "
msgstr ""
#: files.c:284 files.c:309 files.c:521 nano.c:1420
#: files.c:284 files.c:309 files.c:521 nano.c:1419
msgid "Cancelled"
msgstr ""
@ -400,22 +400,24 @@ msgstr ""
msgid "No Replace"
msgstr ""
#: nano.c:138
#: nano.c:137
#, c-format
msgid ""
"\n"
"Buffer written to %s\n"
msgstr ""
#: nano.c:140
msgid "No .save file written (symlink encountered?)\n"
#: nano.c:139
msgid ""
"\n"
"No .save file written (symlink encountered?)\n"
msgstr ""
#: nano.c:147
#: nano.c:146
msgid "Key illegal in VIEW mode"
msgstr ""
#: nano.c:184
#: nano.c:183
msgid ""
" nano help text\n"
"\n"
@ -436,320 +438,320 @@ msgid ""
"\n"
msgstr ""
#: nano.c:287
#: nano.c:286
msgid "free_node(): free'd a node, YAY!\n"
msgstr ""
#: nano.c:292
#: nano.c:291
msgid "free_node(): free'd last node.\n"
msgstr ""
#: nano.c:344
#: nano.c:343
msgid ""
"Usage: nano [GNU long option] [option] +LINE <file>\n"
"\n"
msgstr ""
#: nano.c:345
#: nano.c:344
msgid "Option\t\tLong option\t\tMeaning\n"
msgstr ""
#: nano.c:347
#: nano.c:346
msgid " -T \t\t--tabsize=[num]\t\tSet width of a tab to num\n"
msgstr ""
#: nano.c:350
#: nano.c:349
msgid " -R\t\t--regexp\t\tUse regular expressions for search\n"
msgstr ""
#: nano.c:354
#: nano.c:353
msgid " -V \t\t--version\t\tPrint version information and exit\n"
msgstr ""
#: nano.c:356
#: nano.c:355
msgid " -c \t\t--const\t\t\tConstantly show cursor position\n"
msgstr ""
#: nano.c:358
#: nano.c:357
msgid " -h \t\t--help\t\t\tShow this message\n"
msgstr ""
#: nano.c:361
#: nano.c:360
msgid " -k \t\t--cut\t\t\tLet ^K cut from cursor to end of line\n"
msgstr ""
#: nano.c:364
#: nano.c:363
msgid " -i \t\t--autoindent\t\tAutomatically indent new lines\n"
msgstr ""
#: nano.c:366
#: nano.c:365
msgid " -l \t\t--nofollow\t\tDon't follow symbolic links, overwrite\n"
msgstr ""
#: nano.c:369
#: nano.c:368
msgid " -m \t\t--mouse\t\t\tEnable mouse\n"
msgstr ""
#: nano.c:374
#: nano.c:373
msgid ""
" -r [#cols] \t--fill=[#cols]\t\tSet fill cols to (wrap lines at) #cols\n"
msgstr ""
#: nano.c:376
#: nano.c:375
msgid " -p\t \t--pico\t\t\tEmulate Pico as closely as possible\n"
msgstr ""
#: nano.c:378
#: nano.c:377
msgid " -s [prog] \t--speller=[prog]\tEnable alternate speller\n"
msgstr ""
#: nano.c:380
#: nano.c:379
msgid " -t \t\t--tempfile\t\tAuto save on exit, don't prompt\n"
msgstr ""
#: nano.c:382
#: nano.c:381
msgid " -v \t\t--view\t\t\tView (read only) mode\n"
msgstr ""
#: nano.c:384
#: nano.c:383
msgid " -w \t\t--nowrap\t\tDon't wrap long lines\n"
msgstr ""
#: nano.c:386
#: nano.c:385
msgid " -x \t\t--nohelp\t\tDon't show help window\n"
msgstr ""
#: nano.c:388
#: nano.c:387
msgid " -z \t\t--suspend\t\tEnable suspend\n"
msgstr ""
#: nano.c:390
#: nano.c:389
msgid " +LINE\t\t\t\t\tStart at line number LINE\n"
msgstr ""
#: nano.c:392
#: nano.c:391
msgid ""
"Usage: nano [option] +LINE <file>\n"
"\n"
msgstr ""
#: nano.c:393
#: nano.c:392
msgid "Option\t\tMeaning\n"
msgstr ""
#: nano.c:394
#: nano.c:393
msgid " -T [num]\tSet width of a tab to num\n"
msgstr ""
#: nano.c:395
#: nano.c:394
msgid " -R\t\tUse regular expressions for search\n"
msgstr ""
#: nano.c:396
#: nano.c:395
msgid " -V \t\tPrint version information and exit\n"
msgstr ""
#: nano.c:397
#: nano.c:396
msgid " -c \t\tConstantly show cursor position\n"
msgstr ""
#: nano.c:398
#: nano.c:397
msgid " -h \t\tShow this message\n"
msgstr ""
#: nano.c:400
#: nano.c:399
msgid " -k \t\tLet ^K cut from cursor to end of line\n"
msgstr ""
#: nano.c:402
#: nano.c:401
msgid " -i \t\tAutomatically indent new lines\n"
msgstr ""
#: nano.c:404
#: nano.c:403
msgid " -l \t\tDon't follow symbolic links, overwrite\n"
msgstr ""
#: nano.c:407
#: nano.c:406
msgid " -m \t\tEnable mouse\n"
msgstr ""
#: nano.c:411
#: nano.c:410
msgid " -r [#cols] \tSet fill cols to (wrap lines at) #cols\n"
msgstr ""
#: nano.c:412
#: nano.c:411
msgid " -s [prog] \tEnable alternate speller\n"
msgstr ""
#: nano.c:413
#: nano.c:412
msgid " -p \t\tEmulate Pico as closely as possible\n"
msgstr ""
#: nano.c:414
#: nano.c:413
msgid " -t \t\tAuto save on exit, don't prompt\n"
msgstr ""
#: nano.c:415
#: nano.c:414
msgid " -v \t\tView (read only) mode\n"
msgstr ""
#: nano.c:416
#: nano.c:415
msgid " -w \t\tDon't wrap long lines\n"
msgstr ""
#: nano.c:417
#: nano.c:416
msgid " -x \t\tDon't show help window\n"
msgstr ""
#: nano.c:418
#: nano.c:417
msgid " -z \t\tEnable suspend\n"
msgstr ""
#: nano.c:419
#: nano.c:418
msgid " +LINE\t\tStart at line number LINE\n"
msgstr ""
#: nano.c:426
#: nano.c:425
#, c-format
msgid " nano version %s by Chris Allegretta (compiled %s, %s)\n"
msgstr ""
#: nano.c:429
#: nano.c:428
msgid " Email: nano@nano-editor.org\tWeb: http://www.nano-editor.org"
msgstr ""
#: nano.c:430
#: nano.c:429
msgid ""
"\n"
" Compiled options:"
msgstr ""
#: nano.c:486
#: nano.c:485
msgid "Mark Set"
msgstr ""
#: nano.c:491
#: nano.c:490
msgid "Mark UNset"
msgstr ""
#: nano.c:939
#: nano.c:938
#, c-format
msgid "check_wrap called with inptr->data=\"%s\"\n"
msgstr ""
#: nano.c:990
#: nano.c:989
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr ""
#: nano.c:1043
#: nano.c:1042
#, c-format
msgid "After, data = \"%s\"\n"
msgstr ""
#: nano.c:1143
#: nano.c:1142
msgid "Edit a replacement"
msgstr ""
#: nano.c:1367
#: nano.c:1366
#, c-format
msgid "Could not create a temporary filename: %s"
msgstr ""
#: nano.c:1373
#: nano.c:1372
msgid "Spell checking failed: unable to write temp file!"
msgstr ""
#: nano.c:1385
#: nano.c:1384
msgid "Finished checking spelling"
msgstr ""
#: nano.c:1387
#: nano.c:1386
msgid "Spell checking failed"
msgstr ""
#: nano.c:1407
#: nano.c:1406
msgid "Save modified buffer (ANSWERING \"No\" WILL DESTROY CHANGES) ? "
msgstr ""
#: nano.c:1503
#: nano.c:1502
msgid "Received SIGHUP"
msgstr ""
#: nano.c:1569
#: nano.c:1568
msgid "Cannot resize top win"
msgstr ""
#: nano.c:1571
#: nano.c:1570
msgid "Cannot move top win"
msgstr ""
#: nano.c:1573
#: nano.c:1572
msgid "Cannot resize edit win"
msgstr ""
#: nano.c:1575
#: nano.c:1574
msgid "Cannot move edit win"
msgstr ""
#: nano.c:1577
#: nano.c:1576
msgid "Cannot resize bottom win"
msgstr ""
#: nano.c:1579
#: nano.c:1578
msgid "Cannot move bottom win"
msgstr ""
#: nano.c:1867
#: nano.c:1866
msgid "Can now UnJustify!"
msgstr ""
#: nano.c:1962
#: nano.c:1961
#, c-format
msgid "%s enable/disable"
msgstr ""
#: nano.c:1974
#: nano.c:1973
msgid "enabled"
msgstr ""
#: nano.c:1975
#: nano.c:1974
msgid "disabled"
msgstr ""
#: nano.c:2205
#: nano.c:2204
msgid "Main: set up windows\n"
msgstr ""
#: nano.c:2218
#: nano.c:2217
msgid "Main: bottom win\n"
msgstr ""
#: nano.c:2224
#: nano.c:2223
msgid "Main: open file\n"
msgstr ""
#: nano.c:2261
#: nano.c:2260
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr ""
#: nano.c:2283
#: nano.c:2282
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr ""
#: nano.c:2316
#: nano.c:2315
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr ""
#: nano.c:2364
#: nano.c:2363
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr ""
#: nano.c:2390
#: nano.c:2389
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr ""