"git@gitlab.caltech.edu:cs24-19fa/git_rec_nano.git" did not exist on "d12fdda15bdbaa6ae0d1502888d453393ed471af"
Commit 35dac58a authored by Chris Allegretta's avatar Chris Allegretta
Browse files

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
No related merge requests found
Showing with 39 additions and 33 deletions
+39 -33
...@@ -10,6 +10,9 @@ CVS code - ...@@ -10,6 +10,9 @@ CVS code -
- Minor patch for intl check (Christian Weisgerber) - Minor patch for intl check (Christian Weisgerber)
- cs.po: - cs.po:
- Czech translation from Vaclav Haisman. - 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 1.0-test prerelease - 03/17/2001
- nano.c: - nano.c:
......
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 1.0.0\n" "Project-Id-Version: 1.0.0\n"
"POT-Creation-Date: 2001-03-14" "POT-Creation-Date: 2001-03-18 14:03-0500\n"
"PO-Revision-Date: 2000-03-28 18:25+0100\n"
"Last-Translator: Vclav Haisman <V.Haisman@sh.cvut.cz>\n" "Last-Translator: Vclav Haisman <V.Haisman@sh.cvut.cz>\n"
"Language-Team: N/A\n" "Language-Team: N/A\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
...@@ -61,7 +60,7 @@ msgstr " ...@@ -61,7 +60,7 @@ msgstr "
msgid "File to insert [from ./] " msgid "File to insert [from ./] "
msgstr "Soubor pro vloen [z ./] " msgstr "Soubor pro vloen [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" msgid "Cancelled"
msgstr "Zrueno" msgstr "Zrueno"
...@@ -696,128 +695,130 @@ msgstr "Zna ...@@ -696,128 +695,130 @@ msgstr "Zna
msgid "Mark UNset" msgid "Mark UNset"
msgstr "Znaka OdNastavena" msgstr "Znaka OdNastavena"
#: nano.c:1019 #: nano.c:1013
#, c-format #, c-format
msgid "check_wrap called with inptr->data=\"%s\"\n" msgid "check_wrap called with inptr->data=\"%s\"\n"
msgstr "check_wrap zavolno s inptr->data=\"%s\"\n" msgstr "check_wrap zavolno s inptr->data=\"%s\"\n"
#: nano.c:1070 #: nano.c:1064
#, c-format #, c-format
msgid "current->data now = \"%s\"\n" msgid "current->data now = \"%s\"\n"
msgstr "current->data nyn = \"%s\"\n" msgstr "current->data nyn = \"%s\"\n"
#: nano.c:1122 #: nano.c:1116
#, c-format #, c-format
msgid "After, data = \"%s\"\n" msgid "After, data = \"%s\"\n"
msgstr "Pot, data = \"%s\"\n" msgstr "Pot, data = \"%s\"\n"
#: nano.c:1224 #: nano.c:1218
msgid "Edit a replacement" msgid "Edit a replacement"
msgstr "Edituj nhradu" msgstr "Edituj nhradu"
#: nano.c:1455 #: nano.c:1449
#, c-format #, c-format
msgid "Could not create a temporary filename: %s" msgid "Could not create a temporary filename: %s"
msgstr "Nemohu vytvoit doasn soubor: %s" msgstr "Nemohu vytvoit doasn soubor: %s"
#: nano.c:1461 #: nano.c:1455
msgid "Spell checking failed: unable to write temp file!" msgid "Spell checking failed: unable to write temp file!"
msgstr "Kontrola pravopisu selhala: nemohu zapisovat do doasnho souboru!" msgstr "Kontrola pravopisu selhala: nemohu zapisovat do doasnho souboru!"
#: nano.c:1473 #: nano.c:1467
msgid "Finished checking spelling" msgid "Finished checking spelling"
msgstr "Kontrola pravopisu dokonena" msgstr "Kontrola pravopisu dokonena"
#: nano.c:1475 #: nano.c:1469
msgid "Spell checking failed" msgid "Spell checking failed"
msgstr "Kontrola pravopisu selhala" msgstr "Kontrola pravopisu selhala"
#: nano.c:1495 #: nano.c:1489
msgid "Save modified buffer (ANSWERING \"No\" WILL DESTROY CHANGES) ? " msgid "Save modified buffer (ANSWERING \"No\" WILL DESTROY CHANGES) ? "
msgstr "Ulo zmnn buffer (ODPOV \"Ne\" ZTRATTE ZMNY) ? " msgstr "Ulo zmnn buffer (ODPOV \"Ne\" ZTRATTE ZMNY) ? "
#: nano.c:1591 #: nano.c:1585
msgid "Received SIGHUP" msgid "Received SIGHUP"
msgstr "Pijat signl SIGHUP" msgstr "Pijat signl SIGHUP"
#: nano.c:1654 #: nano.c:1648
msgid "Cannot resize top win" msgid "Cannot resize top win"
msgstr "Nemohu zmnit velikost vrchnho okna" msgstr "Nemohu zmnit velikost vrchnho okna"
#: nano.c:1656 #: nano.c:1650
msgid "Cannot move top win" msgid "Cannot move top win"
msgstr "Nemohu pesunout vrchn okno" msgstr "Nemohu pesunout vrchn okno"
#: nano.c:1658 #: nano.c:1652
msgid "Cannot resize edit win" msgid "Cannot resize edit win"
msgstr "Nemohu zmnit velikost editovacho okna" msgstr "Nemohu zmnit velikost editovacho okna"
#: nano.c:1660 #: nano.c:1654
msgid "Cannot move edit win" msgid "Cannot move edit win"
msgstr "Nemohu pesunout editovac okno" msgstr "Nemohu pesunout editovac okno"
#: nano.c:1662 #: nano.c:1656
msgid "Cannot resize bottom win" msgid "Cannot resize bottom win"
msgstr "Nemohu zmnit velikost spodnho okna" msgstr "Nemohu zmnit velikost spodnho okna"
#: nano.c:1664 #: nano.c:1658
msgid "Cannot move bottom win" msgid "Cannot move bottom win"
msgstr "Nemohu pesunout spodn okno" msgstr "Nemohu pesunout spodn okno"
#: nano.c:1972 #: nano.c:1966
msgid "Can now UnJustify!" msgid "Can now UnJustify!"
msgstr "Me nyn OdZarovnat!" msgstr "Me nyn OdZarovnat!"
#: nano.c:2070 #: nano.c:2064
#, c-format #, c-format
msgid "%s enable/disable" msgid "%s enable/disable"
msgstr "%s povol/zaka" msgstr "%s povol/zaka"
#: nano.c:2085 #: nano.c:2079
msgid "enabled" msgid "enabled"
msgstr "povoleno" msgstr "povoleno"
#: nano.c:2086 #: nano.c:2080
msgid "disabled" msgid "disabled"
msgstr "zakzno" msgstr "zakzno"
#: nano.c:2138 #: nano.c:2132
msgid "NumLock glitch detected. Keypad will malfunction with NumLock off" msgid "NumLock glitch detected. Keypad will malfunction with NumLock off"
msgstr "Zjitna porucha NumLocku. Numerick klvesnice nebude fungovat s vypnutm NumLockem" msgstr ""
"Zjitna porucha NumLocku. Numerick klvesnice nebude fungovat s vypnutm "
"NumLockem"
#: nano.c:2355 #: nano.c:2349
msgid "Main: set up windows\n" msgid "Main: set up windows\n"
msgstr "Main: nastav okna\n" msgstr "Main: nastav okna\n"
#: nano.c:2362 #: nano.c:2356
msgid "Main: bottom win\n" msgid "Main: bottom win\n"
msgstr "Main: spodn okno\n" msgstr "Main: spodn okno\n"
#: nano.c:2368 #: nano.c:2362
msgid "Main: open file\n" msgid "Main: open file\n"
msgstr "Main: otevi soubor\n" msgstr "Main: otevi soubor\n"
#: nano.c:2420 #: nano.c:2414
#, fuzzy, c-format #, fuzzy, c-format
msgid "I got Alt-O-%c! (%d)\n" msgid "I got Alt-O-%c! (%d)\n"
msgstr "Mm Alt-O-%c! (%d)\n" msgstr "Mm Alt-O-%c! (%d)\n"
#: nano.c:2447 #: nano.c:2441
#, fuzzy, c-format #, fuzzy, c-format
msgid "I got Alt-[-1-%c! (%d)\n" msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Mm Alt-[-1-%c! (%d)\n" msgstr "Mm Alt-[-1-%c! (%d)\n"
#: nano.c:2480 #: nano.c:2474
#, fuzzy, c-format #, fuzzy, c-format
msgid "I got Alt-[-2-%c! (%d)\n" msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Mm Alt-[-2-%c! (%d)\n" msgstr "Mm Alt-[-2-%c! (%d)\n"
#: nano.c:2522 #: nano.c:2516
#, c-format #, c-format
msgid "I got Alt-[-%c! (%d)\n" msgid "I got Alt-[-%c! (%d)\n"
msgstr "Mm Alt-[-%c! (%d)\n" msgstr "Mm Alt-[-%c! (%d)\n"
#: nano.c:2548 #: nano.c:2542
#, c-format #, c-format
msgid "I got Alt-%c! (%d)\n" msgid "I got Alt-%c! (%d)\n"
msgstr "Mm Alt-%c! (%d)\n" msgstr "Mm Alt-%c! (%d)\n"
......
...@@ -310,6 +310,7 @@ int nanogetstr(int allowtabs, char *buf, char *def, shortcut s[], int slen, ...@@ -310,6 +310,7 @@ int nanogetstr(int allowtabs, char *buf, char *def, shortcut s[], int slen,
nanoget_repaint(buf, inputbuf, x); nanoget_repaint(buf, inputbuf, x);
break; break;
case KEY_RIGHT: case KEY_RIGHT:
case NANO_FORWARD_KEY:
if (x < xend) if (x < xend)
x++; x++;
...@@ -362,6 +363,7 @@ int nanogetstr(int allowtabs, char *buf, char *def, shortcut s[], int slen, ...@@ -362,6 +363,7 @@ int nanogetstr(int allowtabs, char *buf, char *def, shortcut s[], int slen,
break; break;
#endif #endif
case KEY_LEFT: case KEY_LEFT:
case NANO_BACK_KEY:
if (x > strlen(buf)) if (x > strlen(buf))
x--; x--;
wmove(bottomwin, 0, x); wmove(bottomwin, 0, x);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment