Okay, now make the shortcut list reflect the unjustify availability

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@332 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2000-11-27 22:58:23 +00:00
parent d022eace15
commit 0779835ce4
6 changed files with 279 additions and 253 deletions

View File

@ -15,6 +15,11 @@ CVS code -
- Added call to real_name_from tilde, oops. - Added call to real_name_from tilde, oops.
read_file() read_file()
- Added check for fileptr == NULL. - Added check for fileptr == NULL.
- global.c:
shortcut_init()
- Now takes an argument as to whether to display the unjustify
shortcut or the normal uncut text one. Needed to accomodate
the klugey unjustify code.
- nano.c: - nano.c:
do_justify() do_justify()
- Wrote unjustify code. Borrows cutbuffer and stores the unjustified text there, - Wrote unjustify code. Borrows cutbuffer and stores the unjustified text there,

View File

@ -156,7 +156,7 @@ void toggle_init(void)
#endif #endif
} }
void shortcut_init(void) void shortcut_init(int unjustify)
{ {
char *nano_help_msg = "", *nano_writeout_msg = "", *nano_exit_msg = "", char *nano_help_msg = "", *nano_writeout_msg = "", *nano_exit_msg = "",
*nano_goto_msg = "", *nano_justify_msg = "", *nano_replace_msg = *nano_goto_msg = "", *nano_justify_msg = "", *nano_replace_msg =
@ -170,7 +170,7 @@ void shortcut_init(void)
"", *nano_mark_msg = "", *nano_delete_msg = "", *nano_mark_msg = "", *nano_delete_msg =
"", *nano_backspace_msg = "", *nano_tab_msg = "", *nano_backspace_msg = "", *nano_tab_msg =
"", *nano_enter_msg = "", *nano_case_msg = "", *nano_enter_msg = "", *nano_case_msg =
"", *nano_cancel_msg = ""; "", *nano_cancel_msg = "", *nano_unjustify_msg;
#ifndef NANO_SMALL #ifndef NANO_SMALL
nano_help_msg = _("Invoke the help menu"); nano_help_msg = _("Invoke the help menu");
@ -178,6 +178,7 @@ void shortcut_init(void)
nano_exit_msg = _("Exit from nano"); nano_exit_msg = _("Exit from nano");
nano_goto_msg = _("Goto a specific line number"); nano_goto_msg = _("Goto a specific line number");
nano_justify_msg = _("Justify the current paragraph"); nano_justify_msg = _("Justify the current paragraph");
nano_unjustify_msg = _("Unjustify after a justify");
nano_replace_msg = _("Replace text within the editor"); nano_replace_msg = _("Replace text within the editor");
nano_insert_msg = _("Insert another file into the current one"); nano_insert_msg = _("Insert another file into the current one");
nano_whereis_msg = _("Search for text within the editor"); nano_whereis_msg = _("Search for text within the editor");
@ -255,6 +256,10 @@ void shortcut_init(void)
sc_init_one(&main_list[8], NANO_CUT_KEY, _("Cut Text"), sc_init_one(&main_list[8], NANO_CUT_KEY, _("Cut Text"),
nano_cut_msg, 0, NANO_CUT_FKEY, 0, NOVIEW, do_cut_text); nano_cut_msg, 0, NANO_CUT_FKEY, 0, NOVIEW, do_cut_text);
if (unjustify)
sc_init_one(&main_list[9], NANO_UNJUSTIFY_KEY, _("UnJustify"),
nano_unjustify_msg, 0, 0, 0, NOVIEW, do_uncut_text);
else
sc_init_one(&main_list[9], NANO_UNCUT_KEY, _("UnCut Txt"), sc_init_one(&main_list[9], NANO_UNCUT_KEY, _("UnCut Txt"),
nano_uncut_msg, nano_uncut_msg,
0, NANO_UNCUT_FKEY, 0, NOVIEW, do_uncut_text); 0, NANO_UNCUT_FKEY, 0, NOVIEW, do_uncut_text);

14
nano.c
View File

@ -1813,12 +1813,18 @@ int do_justify(void)
edit_refresh(); edit_refresh();
statusbar(_("Can now UnJustify!")); statusbar(_("Can now UnJustify!"));
/* Change the shortcut list to display the unjustify code */
shortcut_init(1);
display_main_list();
reset_cursor(); reset_cursor();
/* Now get a keystroke and see if it's unjustify, if not unget the keytreoke /* Now get a keystroke and see if it's unjustify, if not unget the keytroke
and return */ and return */
if ((kbinput = wgetch(edit)) != NANO_UNJUSTIFY_KEY) if ((kbinput = wgetch(edit)) != NANO_UNJUSTIFY_KEY) {
ungetch(kbinput); ungetch(kbinput);
shortcut_init(0);
display_main_list();
}
else { else {
/* Else restore the justify we just did (ungrateful user!) */ /* Else restore the justify we just did (ungrateful user!) */
if (tmptop->prev != NULL) if (tmptop->prev != NULL)
@ -1927,7 +1933,7 @@ void do_toggle(int which)
switch (toggles[which].val) { switch (toggles[which].val) {
case TOGGLE_PICOMODE_KEY: case TOGGLE_PICOMODE_KEY:
shortcut_init(); shortcut_init(0);
display_main_list(); display_main_list();
break; break;
case TOGGLE_SUSPEND_KEY: case TOGGLE_SUSPEND_KEY:
@ -2142,7 +2148,7 @@ int main(int argc, char *argv[])
/* Set up some global variables */ /* Set up some global variables */
global_init(); global_init();
shortcut_init(); shortcut_init(0);
init_help_msg(); init_help_msg();
help_init(); help_init();
signal_init(); signal_init();

View File

@ -43,66 +43,68 @@ const struct _msg_ent _msg_tbl[] = {
{"Exit from nano", 34}, {"Exit from nano", 34},
{"Goto a specific line number", 35}, {"Goto a specific line number", 35},
{"Justify the current paragraph", 36}, {"Justify the current paragraph", 36},
{"Replace text within the editor", 37}, {"Unjustify after a justify", 37},
{"Insert another file into the current one", 38}, {"Replace text within the editor", 38},
{"Search for text within the editor", 39}, {"Insert another file into the current one", 39},
{"Move to the previous screen", 40}, {"Search for text within the editor", 40},
{"Move to the next screen", 41}, {"Move to the previous screen", 41},
{"Cut the current line and store it in the cutbuffer", 42}, {"Move to the next screen", 42},
{"Uncut from the cutbuffer into the current line", 43}, {"Cut the current line and store it in the cutbuffer", 43},
{"Show the posititon of the cursor", 44}, {"Uncut from the cutbuffer into the current line", 44},
{"Invoke the spell checker (if available)", 45}, {"Show the posititon of the cursor", 45},
{"Move up one line", 46}, {"Invoke the spell checker (if available)", 46},
{"Move down one line", 47}, {"Move up one line", 47},
{"Move forward one character", 48}, {"Move down one line", 48},
{"Move back one character", 49}, {"Move forward one character", 49},
{"Move to the beginning of the current line", 50}, {"Move back one character", 50},
{"Move to the end of the current line", 51}, {"Move to the beginning of the current line", 51},
{"Go to the first line of the file", 52}, {"Move to the end of the current line", 52},
{"Go to the last line of the file", 53}, {"Go to the first line of the file", 53},
{"Refresh (redraw) the current screen", 54}, {"Go to the last line of the file", 54},
{"Mark text at the current cursor location", 55}, {"Refresh (redraw) the current screen", 55},
{"Delete the character under the cursor", 56}, {"Mark text at the current cursor location", 56},
{"Delete the character to the left of the cursor", 57}, {"Delete the character under the cursor", 57},
{"Insert a tab character", 58}, {"Delete the character to the left of the cursor", 58},
{"Insert a carriage return at the cursor position", 59}, {"Insert a tab character", 59},
{"Make the current search or replace case (in)sensitive", 60}, {"Insert a carriage return at the cursor position", 60},
{"Cancel the current function", 61}, {"Make the current search or replace case (in)sensitive", 61},
{"Get Help", 62}, {"Cancel the current function", 62},
{"WriteOut", 63}, {"Get Help", 63},
{"Exit", 64}, {"WriteOut", 64},
{"Goto Line", 65}, {"Exit", 65},
{"Justify", 66}, {"Goto Line", 66},
{"Replace", 67}, {"Justify", 67},
{"Read File", 68}, {"Replace", 68},
{"Where Is", 69}, {"Read File", 69},
{"Prev Page", 70}, {"Where Is", 70},
{"Next Page", 71}, {"Prev Page", 71},
{"Cut Text", 72}, {"Next Page", 72},
{"UnCut Txt", 73}, {"Cut Text", 73},
{"Cur Pos", 74}, {"UnJustify", 74},
{"To Spell", 75}, {"UnCut Txt", 75},
{"Up", 76}, {"Cur Pos", 76},
{"Down", 77}, {"To Spell", 77},
{"Forward", 78}, {"Up", 78},
{"Back", 79}, {"Down", 79},
{"Home", 80}, {"Forward", 80},
{"End", 81}, {"Back", 81},
{"Refresh", 82}, {"Home", 82},
{"Mark Text", 83}, {"End", 83},
{"Delete", 84}, {"Refresh", 84},
{"Backspace", 85}, {"Mark Text", 85},
{"Tab", 86}, {"Delete", 86},
{"Enter", 87}, {"Backspace", 87},
{"First Line", 88}, {"Tab", 88},
{"Last Line", 89}, {"Enter", 89},
{"Case Sens", 90}, {"First Line", 90},
{"Cancel", 91}, {"Last Line", 91},
{"No Replace", 92}, {"Case Sens", 92},
{"Cancel", 93},
{"No Replace", 94},
{"\ {"\
\n\ \n\
Buffer written to 'nano.save'\n", 93}, Buffer written to 'nano.save'\n", 95},
{"Key illegal in VIEW mode", 94}, {"Key illegal in VIEW mode", 96},
{"\ {"\
nano help text\n\ nano help text\n\
\n\ \n\
@ -120,130 +122,130 @@ Escape-key sequences are notated with the Meta (M) symbol and can be entered \
using either the Esc, Alt or Meta key depending on your keyboard setup. The \ using either the Esc, Alt or Meta key depending on your keyboard setup. The \
following keystrokes are available in the main editor window. Optional keys \ following keystrokes are available in the main editor window. Optional keys \
are shown in parentheses:\n\ are shown in parentheses:\n\
\n", 95}, \n", 97},
{"free_node(): free'd a node, YAY!\n", 96}, {"free_node(): free'd a node, YAY!\n", 98},
{"free_node(): free'd last node.\n", 97}, {"free_node(): free'd last node.\n", 99},
{"\ {"\
Usage: nano [GNU long option] [option] +LINE <file>\n\ Usage: nano [GNU long option] [option] +LINE <file>\n\
\n", 98}, \n", 100},
{"Option\t\tLong option\t\tMeaning\n", 99}, {"Option\t\tLong option\t\tMeaning\n", 101},
{" -T \t\t--tabsize=[num]\t\tSet width of a tab to num\n", 100}, {" -T \t\t--tabsize=[num]\t\tSet width of a tab to num\n", 102},
{" -R\t\t--regexp\t\tUse regular expressions for search\n", 101}, {" -R\t\t--regexp\t\tUse regular expressions for search\n", 103},
{" -V \t\t--version\t\tPrint version information and exit\n", 102}, {" -V \t\t--version\t\tPrint version information and exit\n", 104},
{" -c \t\t--const\t\t\tConstantly show cursor position\n", 103}, {" -c \t\t--const\t\t\tConstantly show cursor position\n", 105},
{" -h \t\t--help\t\t\tShow this message\n", 104}, {" -h \t\t--help\t\t\tShow this message\n", 106},
{" -k \t\t--cut\t\t\tLet ^K cut from cursor to end of line\n", 105}, {" -k \t\t--cut\t\t\tLet ^K cut from cursor to end of line\n", 107},
{" -i \t\t--autoindent\t\tAutomatically indent new lines\n", 106}, {" -i \t\t--autoindent\t\tAutomatically indent new lines\n", 108},
{" -l \t\t--nofollow\t\tDon't follow symbolic links, overwrite\n", 107}, {" -l \t\t--nofollow\t\tDon't follow symbolic links, overwrite\n", 109},
{" -m \t\t--mouse\t\t\tEnable mouse\n", 108}, {" -m \t\t--mouse\t\t\tEnable mouse\n", 110},
{"\ {"\
-r [#cols] \t--fill=[#cols]\t\tSet fill cols to (wrap lines at) #cols\n", 109}, -r [#cols] \t--fill=[#cols]\t\tSet fill cols to (wrap lines at) #cols\n", 111},
{" -p\t \t--pico\t\t\tEmulate Pico as closely as possible\n", 110}, {" -p\t \t--pico\t\t\tEmulate Pico as closely as possible\n", 112},
{" -s [prog] \t--speller=[prog]\tEnable alternate speller\n", 111}, {" -s [prog] \t--speller=[prog]\tEnable alternate speller\n", 113},
{" -t \t\t--tempfile\t\tAuto save on exit, don't prompt\n", 112}, {" -t \t\t--tempfile\t\tAuto save on exit, don't prompt\n", 114},
{" -v \t\t--view\t\t\tView (read only) mode\n", 113}, {" -v \t\t--view\t\t\tView (read only) mode\n", 115},
{" -w \t\t--nowrap\t\tDon't wrap long lines\n", 114}, {" -w \t\t--nowrap\t\tDon't wrap long lines\n", 116},
{" -x \t\t--nohelp\t\tDon't show help window\n", 115}, {" -x \t\t--nohelp\t\tDon't show help window\n", 117},
{" -z \t\t--suspend\t\tEnable suspend\n", 116}, {" -z \t\t--suspend\t\tEnable suspend\n", 118},
{" +LINE\t\t\t\t\tStart at line number LINE\n", 117}, {" +LINE\t\t\t\t\tStart at line number LINE\n", 119},
{"\ {"\
Usage: nano [option] +LINE <file>\n\ Usage: nano [option] +LINE <file>\n\
\n", 118}, \n", 120},
{"Option\t\tMeaning\n", 119}, {"Option\t\tMeaning\n", 121},
{" -T [num]\tSet width of a tab to num\n", 120}, {" -T [num]\tSet width of a tab to num\n", 122},
{" -R\t\tUse regular expressions for search\n", 121}, {" -R\t\tUse regular expressions for search\n", 123},
{" -V \t\tPrint version information and exit\n", 122}, {" -V \t\tPrint version information and exit\n", 124},
{" -c \t\tConstantly show cursor position\n", 123}, {" -c \t\tConstantly show cursor position\n", 125},
{" -h \t\tShow this message\n", 124}, {" -h \t\tShow this message\n", 126},
{" -k \t\tLet ^K cut from cursor to end of line\n", 125}, {" -k \t\tLet ^K cut from cursor to end of line\n", 127},
{" -i \t\tAutomatically indent new lines\n", 126}, {" -i \t\tAutomatically indent new lines\n", 128},
{" -l \t\tDon't follow symbolic links, overwrite\n", 127}, {" -l \t\tDon't follow symbolic links, overwrite\n", 129},
{" -m \t\tEnable mouse\n", 128}, {" -m \t\tEnable mouse\n", 130},
{" -r [#cols] \tSet fill cols to (wrap lines at) #cols\n", 129}, {" -r [#cols] \tSet fill cols to (wrap lines at) #cols\n", 131},
{" -s [prog] \tEnable alternate speller\n", 130}, {" -s [prog] \tEnable alternate speller\n", 132},
{" -p \t\tEmulate Pico as closely as possible\n", 131}, {" -p \t\tEmulate Pico as closely as possible\n", 133},
{" -t \t\tAuto save on exit, don't prompt\n", 132}, {" -t \t\tAuto save on exit, don't prompt\n", 134},
{" -v \t\tView (read only) mode\n", 133}, {" -v \t\tView (read only) mode\n", 135},
{" -w \t\tDon't wrap long lines\n", 134}, {" -w \t\tDon't wrap long lines\n", 136},
{" -x \t\tDon't show help window\n", 135}, {" -x \t\tDon't show help window\n", 137},
{" -z \t\tEnable suspend\n", 136}, {" -z \t\tEnable suspend\n", 138},
{" +LINE\t\tStart at line number LINE\n", 137}, {" +LINE\t\tStart at line number LINE\n", 139},
{" nano version %s by Chris Allegretta (compiled %s, %s)\n", 138}, {" nano version %s by Chris Allegretta (compiled %s, %s)\n", 140},
{" Email: nano@nano-editor.org\tWeb: http://www.nano-editor.org", 139}, {" Email: nano@nano-editor.org\tWeb: http://www.nano-editor.org", 141},
{"\ {"\
\n\ \n\
Compiled options:", 140}, Compiled options:", 142},
{"Mark Set", 141}, {"Mark Set", 143},
{"Mark UNset", 142}, {"Mark UNset", 144},
{"check_wrap called with inptr->data=\"%s\"\n", 143}, {"check_wrap called with inptr->data=\"%s\"\n", 145},
{"current->data now = \"%s\"\n", 144}, {"current->data now = \"%s\"\n", 146},
{"After, data = \"%s\"\n", 145}, {"After, data = \"%s\"\n", 147},
{"Edit a replacement", 146}, {"Edit a replacement", 148},
{"Could not create a temporary filename: %s", 147}, {"Could not create a temporary filename: %s", 149},
{"Finished checking spelling", 148}, {"Finished checking spelling", 150},
{"Spell checking failed", 149}, {"Spell checking failed", 151},
{"Save modified buffer (ANSWERING \"No\" WILL DESTROY CHANGES) ? ", 150}, {"Save modified buffer (ANSWERING \"No\" WILL DESTROY CHANGES) ? ", 152},
{"Cannot resize top win", 151}, {"Cannot resize top win", 153},
{"Cannot move top win", 152}, {"Cannot move top win", 154},
{"Cannot resize edit win", 153}, {"Cannot resize edit win", 155},
{"Cannot move edit win", 154}, {"Cannot move edit win", 156},
{"Cannot resize bottom win", 155}, {"Cannot resize bottom win", 157},
{"Cannot move bottom win", 156}, {"Cannot move bottom win", 158},
{"Can now UnJustify!", 157}, {"Can now UnJustify!", 159},
{"%s enable/disable", 158}, {"%s enable/disable", 160},
{"enabled", 159}, {"enabled", 161},
{"disabled", 160}, {"disabled", 162},
{"Main: set up windows\n", 161}, {"Main: set up windows\n", 163},
{"Main: bottom win\n", 162}, {"Main: bottom win\n", 164},
{"Main: open file\n", 163}, {"Main: open file\n", 165},
{"I got Alt-O-%c! (%d)\n", 164}, {"I got Alt-O-%c! (%d)\n", 166},
{"I got Alt-[-1-%c! (%d)\n", 165}, {"I got Alt-[-1-%c! (%d)\n", 167},
{"I got Alt-[-2-%c! (%d)\n", 166}, {"I got Alt-[-2-%c! (%d)\n", 168},
{"I got Alt-[-%c! (%d)\n", 167}, {"I got Alt-[-%c! (%d)\n", 169},
{"I got Alt-%c! (%d)\n", 168}, {"I got Alt-%c! (%d)\n", 170},
{"Case Sensitive Regexp Search%s%s", 169}, {"Case Sensitive Regexp Search%s%s", 171},
{"Regexp Search%s%s", 170}, {"Regexp Search%s%s", 172},
{"Case Sensitive Search%s%s", 171}, {"Case Sensitive Search%s%s", 173},
{"Search%s%s", 172}, {"Search%s%s", 174},
{" (to replace)", 173}, {" (to replace)", 175},
{"Search Cancelled", 174}, {"Search Cancelled", 176},
{"\"%s...\" not found", 175}, {"\"%s...\" not found", 177},
{"Search Wrapped", 176}, {"Search Wrapped", 178},
{"Replaced %d occurences", 177}, {"Replaced %d occurences", 179},
{"Replaced 1 occurence", 178}, {"Replaced 1 occurence", 180},
{"Replace Cancelled", 179}, {"Replace Cancelled", 181},
{"Replace this instance?", 180}, {"Replace this instance?", 182},
{"Replace failed: unknown subexpression!", 181}, {"Replace failed: unknown subexpression!", 183},
{"Replace with [%s]", 182}, {"Replace with [%s]", 184},
{"Replace with", 183}, {"Replace with", 185},
{"Enter line number", 184}, {"Enter line number", 186},
{"Aborted", 185}, {"Aborted", 187},
{"Come on, be reasonable", 186}, {"Come on, be reasonable", 188},
{"Only %d lines available, skipping to last line", 187}, {"Only %d lines available, skipping to last line", 189},
{"actual_x_from_start for xplus=%d returned %d\n", 188}, {"actual_x_from_start for xplus=%d returned %d\n", 190},
{"input '%c' (%d)\n", 189}, {"input '%c' (%d)\n", 191},
{"New Buffer", 190}, {"New Buffer", 192},
{" File: ...", 191}, {" File: ...", 193},
{"Modified", 192}, {"Modified", 194},
{"Moved to (%d, %d) in edit buffer\n", 193}, {"Moved to (%d, %d) in edit buffer\n", 195},
{"current->data = \"%s\"\n", 194}, {"current->data = \"%s\"\n", 196},
{"I got \"%s\"\n", 195}, {"I got \"%s\"\n", 197},
{"Yes", 196}, {"Yes", 198},
{"All", 197}, {"All", 199},
{"No", 198}, {"No", 200},
{"do_cursorpos: linepct = %f, bytepct = %f\n", 199}, {"do_cursorpos: linepct = %f, bytepct = %f\n", 201},
{"line %d of %d (%.0f%%), character %d of %d (%.0f%%)", 200}, {"line %d of %d (%.0f%%), character %d of %d (%.0f%%)", 202},
{"Dumping file buffer to stderr...\n", 201}, {"Dumping file buffer to stderr...\n", 203},
{"Dumping cutbuffer to stderr...\n", 202}, {"Dumping cutbuffer to stderr...\n", 204},
{"Dumping a buffer to stderr...\n", 203}, {"Dumping a buffer to stderr...\n", 205},
{"The nano text editor", 204}, {"The nano text editor", 206},
{"version ", 205}, {"version ", 207},
{"Brought to you by:", 206}, {"Brought to you by:", 208},
{"Special thanks to:", 207}, {"Special thanks to:", 209},
{"The Free Software Foundation", 208}, {"The Free Software Foundation", 210},
{"Pavel Curtis, Zeyd Ben-Halim and Eric S. Raymond for ncurses", 209}, {"Pavel Curtis, Zeyd Ben-Halim and Eric S. Raymond for ncurses", 211},
{"and anyone else we forgot...", 210}, {"and anyone else we forgot...", 212},
{"Thank you for using nano!\n", 211}, {"Thank you for using nano!\n", 213},
}; };
int _msg_tbl_length = 211; int _msg_tbl_length = 213;

View File

@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2000-11-26 21:50-0500\n" "POT-Creation-Date: 2000-11-27 17:57-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -168,227 +168,235 @@ msgid "Justify the current paragraph"
msgstr "" msgstr ""
#: global.c:181 #: global.c:181
msgid "Replace text within the editor" msgid "Unjustify after a justify"
msgstr "" msgstr ""
#: global.c:182 #: global.c:182
msgid "Insert another file into the current one" msgid "Replace text within the editor"
msgstr "" msgstr ""
#: global.c:183 #: global.c:183
msgid "Search for text within the editor" msgid "Insert another file into the current one"
msgstr "" msgstr ""
#: global.c:184 #: global.c:184
msgid "Move to the previous screen" msgid "Search for text within the editor"
msgstr "" msgstr ""
#: global.c:185 #: global.c:185
msgid "Move to the next screen" msgid "Move to the previous screen"
msgstr "" msgstr ""
#: global.c:186 #: global.c:186
msgid "Cut the current line and store it in the cutbuffer" msgid "Move to the next screen"
msgstr "" msgstr ""
#: global.c:187 #: global.c:187
msgid "Uncut from the cutbuffer into the current line" msgid "Cut the current line and store it in the cutbuffer"
msgstr "" msgstr ""
#: global.c:188 #: global.c:188
msgid "Show the posititon of the cursor" msgid "Uncut from the cutbuffer into the current line"
msgstr "" msgstr ""
#: global.c:189 #: global.c:189
msgid "Invoke the spell checker (if available)" msgid "Show the posititon of the cursor"
msgstr "" msgstr ""
#: global.c:190 #: global.c:190
msgid "Move up one line" msgid "Invoke the spell checker (if available)"
msgstr "" msgstr ""
#: global.c:191 #: global.c:191
msgid "Move down one line" msgid "Move up one line"
msgstr "" msgstr ""
#: global.c:192 #: global.c:192
msgid "Move forward one character" msgid "Move down one line"
msgstr "" msgstr ""
#: global.c:193 #: global.c:193
msgid "Move back one character" msgid "Move forward one character"
msgstr "" msgstr ""
#: global.c:194 #: global.c:194
msgid "Move to the beginning of the current line" msgid "Move back one character"
msgstr "" msgstr ""
#: global.c:195 #: global.c:195
msgid "Move to the end of the current line" msgid "Move to the beginning of the current line"
msgstr "" msgstr ""
#: global.c:196 #: global.c:196
msgid "Go to the first line of the file" msgid "Move to the end of the current line"
msgstr "" msgstr ""
#: global.c:197 #: global.c:197
msgid "Go to the last line of the file" msgid "Go to the first line of the file"
msgstr "" msgstr ""
#: global.c:198 #: global.c:198
msgid "Refresh (redraw) the current screen" msgid "Go to the last line of the file"
msgstr "" msgstr ""
#: global.c:199 #: global.c:199
msgid "Mark text at the current cursor location" msgid "Refresh (redraw) the current screen"
msgstr "" msgstr ""
#: global.c:200 #: global.c:200
msgid "Mark text at the current cursor location"
msgstr ""
#: global.c:201
msgid "Delete the character under the cursor" msgid "Delete the character under the cursor"
msgstr "" msgstr ""
#: global.c:202 #: global.c:203
msgid "Delete the character to the left of the cursor" msgid "Delete the character to the left of the cursor"
msgstr "" msgstr ""
#: global.c:203 #: global.c:204
msgid "Insert a tab character" msgid "Insert a tab character"
msgstr "" msgstr ""
#: global.c:204 #: global.c:205
msgid "Insert a carriage return at the cursor position" msgid "Insert a carriage return at the cursor position"
msgstr "" msgstr ""
#: global.c:206 #: global.c:207
msgid "Make the current search or replace case (in)sensitive" msgid "Make the current search or replace case (in)sensitive"
msgstr "" msgstr ""
#: global.c:207 #: global.c:208
msgid "Cancel the current function" msgid "Cancel the current function"
msgstr "" msgstr ""
#: global.c:211 global.c:323 global.c:408 #: global.c:212 global.c:328 global.c:413
msgid "Get Help" msgid "Get Help"
msgstr "" msgstr ""
#: global.c:214 global.c:222 #: global.c:215 global.c:223
msgid "WriteOut" msgid "WriteOut"
msgstr "" msgstr ""
#: global.c:218 global.c:397 #: global.c:219 global.c:402
msgid "Exit" msgid "Exit"
msgstr "" msgstr ""
#: global.c:226 global.c:319 global.c:341 global.c:361 #: global.c:227 global.c:324 global.c:346 global.c:366
msgid "Goto Line" msgid "Goto Line"
msgstr "" msgstr ""
#: global.c:231 global.c:310 #: global.c:232 global.c:315
msgid "Justify" msgid "Justify"
msgstr "" msgstr ""
#: global.c:235 global.c:306 global.c:337 #: global.c:236 global.c:311 global.c:342
msgid "Replace" msgid "Replace"
msgstr "" msgstr ""
#: global.c:239 #: global.c:240
msgid "Read File" msgid "Read File"
msgstr "" msgstr ""
#: global.c:243 #: global.c:244
msgid "Where Is" msgid "Where Is"
msgstr "" msgstr ""
#: global.c:247 global.c:389 #: global.c:248 global.c:394
msgid "Prev Page" msgid "Prev Page"
msgstr "" msgstr ""
#: global.c:251 global.c:393 #: global.c:252 global.c:398
msgid "Next Page" msgid "Next Page"
msgstr "" msgstr ""
#: global.c:255 #: global.c:256
msgid "Cut Text" msgid "Cut Text"
msgstr "" msgstr ""
#: global.c:258 #: global.c:260
msgid "UnJustify"
msgstr ""
#: global.c:263
msgid "UnCut Txt" msgid "UnCut Txt"
msgstr "" msgstr ""
#: global.c:262 #: global.c:267
msgid "Cur Pos" msgid "Cur Pos"
msgstr "" msgstr ""
#: global.c:266 #: global.c:271
msgid "To Spell" msgid "To Spell"
msgstr "" msgstr ""
#: global.c:270 #: global.c:275
msgid "Up" msgid "Up"
msgstr "" msgstr ""
#: global.c:273 #: global.c:278
msgid "Down" msgid "Down"
msgstr "" msgstr ""
#: global.c:276 #: global.c:281
msgid "Forward" msgid "Forward"
msgstr "" msgstr ""
#: global.c:279 #: global.c:284
msgid "Back" msgid "Back"
msgstr "" msgstr ""
#: global.c:282 #: global.c:287
msgid "Home" msgid "Home"
msgstr "" msgstr ""
#: global.c:285 #: global.c:290
msgid "End" msgid "End"
msgstr "" msgstr ""
#: global.c:288 #: global.c:293
msgid "Refresh" msgid "Refresh"
msgstr "" msgstr ""
#: global.c:291 #: global.c:296
msgid "Mark Text" msgid "Mark Text"
msgstr "" msgstr ""
#: global.c:294 #: global.c:299
msgid "Delete" msgid "Delete"
msgstr "" msgstr ""
#: global.c:298 #: global.c:303
msgid "Backspace" msgid "Backspace"
msgstr "" msgstr ""
#: global.c:302 #: global.c:307
msgid "Tab" msgid "Tab"
msgstr "" msgstr ""
#: global.c:314 #: global.c:319
msgid "Enter" msgid "Enter"
msgstr "" msgstr ""
#: global.c:327 global.c:348 global.c:369 global.c:379 #: global.c:332 global.c:353 global.c:374 global.c:384
msgid "First Line" msgid "First Line"
msgstr "" msgstr ""
#: global.c:330 global.c:351 global.c:372 global.c:382 #: global.c:335 global.c:356 global.c:377 global.c:387
msgid "Last Line" msgid "Last Line"
msgstr "" msgstr ""
#: global.c:333 global.c:354 #: global.c:338 global.c:359
msgid "Case Sens" msgid "Case Sens"
msgstr "" msgstr ""
#: global.c:344 global.c:364 global.c:375 global.c:385 global.c:401 #: global.c:349 global.c:369 global.c:380 global.c:390 global.c:406
#: global.c:405 global.c:411 winio.c:1026 #: global.c:410 global.c:416 winio.c:1026
msgid "Cancel" msgid "Cancel"
msgstr "" msgstr ""
#: global.c:357 #: global.c:362
msgid "No Replace" msgid "No Replace"
msgstr "" msgstr ""
@ -683,52 +691,52 @@ msgstr ""
msgid "Can now UnJustify!" msgid "Can now UnJustify!"
msgstr "" msgstr ""
#: nano.c:1908 #: nano.c:1914
#, c-format #, c-format
msgid "%s enable/disable" msgid "%s enable/disable"
msgstr "" msgstr ""
#: nano.c:1920 #: nano.c:1926
msgid "enabled" msgid "enabled"
msgstr "" msgstr ""
#: nano.c:1921 #: nano.c:1927
msgid "disabled" msgid "disabled"
msgstr "" msgstr ""
#: nano.c:2151 #: nano.c:2157
msgid "Main: set up windows\n" msgid "Main: set up windows\n"
msgstr "" msgstr ""
#: nano.c:2164 #: nano.c:2170
msgid "Main: bottom win\n" msgid "Main: bottom win\n"
msgstr "" msgstr ""
#: nano.c:2170 #: nano.c:2176
msgid "Main: open file\n" msgid "Main: open file\n"
msgstr "" msgstr ""
#: nano.c:2207 #: nano.c:2213
#, c-format #, c-format
msgid "I got Alt-O-%c! (%d)\n" msgid "I got Alt-O-%c! (%d)\n"
msgstr "" msgstr ""
#: nano.c:2229 #: nano.c:2235
#, c-format #, c-format
msgid "I got Alt-[-1-%c! (%d)\n" msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "" msgstr ""
#: nano.c:2262 #: nano.c:2268
#, c-format #, c-format
msgid "I got Alt-[-2-%c! (%d)\n" msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "" msgstr ""
#: nano.c:2310 #: nano.c:2316
#, c-format #, c-format
msgid "I got Alt-[-%c! (%d)\n" msgid "I got Alt-[-%c! (%d)\n"
msgstr "" msgstr ""
#: nano.c:2336 #: nano.c:2342
#, c-format #, c-format
msgid "I got Alt-%c! (%d)\n" msgid "I got Alt-%c! (%d)\n"
msgstr "" msgstr ""

View File

@ -92,7 +92,7 @@ int check_wildcard_match(const char *text, const char *pattern);
char *input_tab(char *buf, int place, int *lastWasTab, int *newplace); char *input_tab(char *buf, int place, int *lastWasTab, int *newplace);
char *real_dir_from_tilde(char *buf); char *real_dir_from_tilde(char *buf);
void shortcut_init(void); void shortcut_init(int unjustify);
void lowercase(char *src); void lowercase(char *src);
void blank_bottombars(void); void blank_bottombars(void);
void check_wrap(filestruct * inptr, char ch); void check_wrap(filestruct * inptr, char ch);