From: Chris Allegretta Date: Wed, 21 Mar 2001 15:07:20 +0000 (+0000) Subject: statusq() - Added NANO_BACK_KEY and NANO_FORWARD_KEY cases for left and right X-Git-Tag: v1.0.0~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=35dac58a617d529020a807d8173fb60bfa0c232b;p=nano.git statusq() - Added NANO_BACK_KEY and NANO_FORWARD_KEY cases for left and right git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@570 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index 5f65e87e..1639654f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,9 @@ CVS code - - Minor patch for intl check (Christian Weisgerber) - cs.po: - Czech translation from Vaclav Haisman. +- winio.c: + statusq() + - Added NANO_BACK_KEY and NANO_FORWARD_KEY cases for left and right. 1.0-test prerelease - 03/17/2001 - nano.c: diff --git a/po/cs.po b/po/cs.po index 587ed05f..bf26d1de 100644 --- a/po/cs.po +++ b/po/cs.po @@ -6,8 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.0.0\n" -"POT-Creation-Date: 2001-03-14" -"PO-Revision-Date: 2000-03-28 18:25+0100\n" +"POT-Creation-Date: 2001-03-18 14:03-0500\n" "Last-Translator: Václav Haisman \n" "Language-Team: N/A\n" "MIME-Version: 1.0\n" @@ -61,7 +60,7 @@ msgstr " msgid "File to insert [from ./] " msgstr "Soubor pro vlo¾ení [z ./] " -#: files.c:309 files.c:334 files.c:566 nano.c:1508 +#: files.c:309 files.c:334 files.c:566 nano.c:1502 msgid "Cancelled" msgstr "Zru¹eno" @@ -696,128 +695,130 @@ msgstr "Zna msgid "Mark UNset" msgstr "Znaèka OdNastavena" -#: nano.c:1019 +#: nano.c:1013 #, c-format msgid "check_wrap called with inptr->data=\"%s\"\n" msgstr "check_wrap zavoláno s inptr->data=\"%s\"\n" -#: nano.c:1070 +#: nano.c:1064 #, c-format msgid "current->data now = \"%s\"\n" msgstr "current->data nyní = \"%s\"\n" -#: nano.c:1122 +#: nano.c:1116 #, c-format msgid "After, data = \"%s\"\n" msgstr "Poté, data = \"%s\"\n" -#: nano.c:1224 +#: nano.c:1218 msgid "Edit a replacement" msgstr "Edituj náhradu" -#: nano.c:1455 +#: nano.c:1449 #, c-format msgid "Could not create a temporary filename: %s" msgstr "Nemohu vytvoøit doèasný soubor: %s" -#: nano.c:1461 +#: nano.c:1455 msgid "Spell checking failed: unable to write temp file!" msgstr "Kontrola pravopisu selhala: nemohu zapisovat do doèasného souboru!" -#: nano.c:1473 +#: nano.c:1467 msgid "Finished checking spelling" msgstr "Kontrola pravopisu dokonèena" -#: nano.c:1475 +#: nano.c:1469 msgid "Spell checking failed" msgstr "Kontrola pravopisu selhala" -#: nano.c:1495 +#: nano.c:1489 msgid "Save modified buffer (ANSWERING \"No\" WILL DESTROY CHANGES) ? " msgstr "Ulo¾ zmìnìný buffer (ODPOVÌÏÍ \"Ne\" ZTRATÍTE ZMÌNY) ? " -#: nano.c:1591 +#: nano.c:1585 msgid "Received SIGHUP" msgstr "Pøijat signál SIGHUP" -#: nano.c:1654 +#: nano.c:1648 msgid "Cannot resize top win" msgstr "Nemohu zmìnit velikost vrchního okna" -#: nano.c:1656 +#: nano.c:1650 msgid "Cannot move top win" msgstr "Nemohu pøesunout vrchní okno" -#: nano.c:1658 +#: nano.c:1652 msgid "Cannot resize edit win" msgstr "Nemohu zmìnit velikost editovacího okna" -#: nano.c:1660 +#: nano.c:1654 msgid "Cannot move edit win" msgstr "Nemohu pøesunout editovací okno" -#: nano.c:1662 +#: nano.c:1656 msgid "Cannot resize bottom win" msgstr "Nemohu zmìnit velikost spodního okna" -#: nano.c:1664 +#: nano.c:1658 msgid "Cannot move bottom win" msgstr "Nemohu pøesunout spodní okno" -#: nano.c:1972 +#: nano.c:1966 msgid "Can now UnJustify!" msgstr "Mù¾e nyní OdZarovnat!" -#: nano.c:2070 +#: nano.c:2064 #, c-format msgid "%s enable/disable" msgstr "%s povol/zaka¾" -#: nano.c:2085 +#: nano.c:2079 msgid "enabled" msgstr "povoleno" -#: nano.c:2086 +#: nano.c:2080 msgid "disabled" msgstr "zakázáno" -#: nano.c:2138 +#: nano.c:2132 msgid "NumLock glitch detected. Keypad will malfunction with NumLock off" -msgstr "Zji¹tìna porucha NumLocku. Numerická klávesnice nebude fungovat s vypnutým NumLockem" +msgstr "" +"Zji¹tìna porucha NumLocku. Numerická klávesnice nebude fungovat s vypnutým " +"NumLockem" -#: nano.c:2355 +#: nano.c:2349 msgid "Main: set up windows\n" msgstr "Main: nastav okna\n" -#: nano.c:2362 +#: nano.c:2356 msgid "Main: bottom win\n" msgstr "Main: spodní okno\n" -#: nano.c:2368 +#: nano.c:2362 msgid "Main: open file\n" msgstr "Main: otevøi soubor\n" -#: nano.c:2420 +#: nano.c:2414 #, fuzzy, c-format msgid "I got Alt-O-%c! (%d)\n" msgstr "Mám Alt-O-%c! (%d)\n" -#: nano.c:2447 +#: nano.c:2441 #, fuzzy, c-format msgid "I got Alt-[-1-%c! (%d)\n" msgstr "Mám Alt-[-1-%c! (%d)\n" -#: nano.c:2480 +#: nano.c:2474 #, fuzzy, c-format msgid "I got Alt-[-2-%c! (%d)\n" msgstr "Mám Alt-[-2-%c! (%d)\n" -#: nano.c:2522 +#: nano.c:2516 #, c-format msgid "I got Alt-[-%c! (%d)\n" msgstr "Mám Alt-[-%c! (%d)\n" -#: nano.c:2548 +#: nano.c:2542 #, c-format msgid "I got Alt-%c! (%d)\n" msgstr "Mám Alt-%c! (%d)\n" diff --git a/winio.c b/winio.c index f64ee17b..2ce5d818 100644 --- a/winio.c +++ b/winio.c @@ -310,6 +310,7 @@ int nanogetstr(int allowtabs, char *buf, char *def, shortcut s[], int slen, nanoget_repaint(buf, inputbuf, x); break; case KEY_RIGHT: + case NANO_FORWARD_KEY: if (x < xend) x++; @@ -362,6 +363,7 @@ int nanogetstr(int allowtabs, char *buf, char *def, shortcut s[], int slen, break; #endif case KEY_LEFT: + case NANO_BACK_KEY: if (x > strlen(buf)) x--; wmove(bottomwin, 0, x);