Commit 4eb7aa04 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

Okay, don't define nano_small_msg or nano_disabled_msg id not needed

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@356 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 35 additions and 28 deletions
+35 -28
...@@ -50,6 +50,9 @@ CVS code - ...@@ -50,6 +50,9 @@ CVS code -
version() version()
- Took out huge check for the various --disabled macros, - Took out huge check for the various --disabled macros,
eventually there will be too many to reasonably check for. eventually there will be too many to reasonably check for.
nano_small_msg(), nano_disabled_msg()
- Added checks for disabled functions to see whether or not to
declare them.
- search.c: - search.c:
do_replace_hilight() do_replace_hilight()
- New function, displays the currently selected word as hilighted - New function, displays the currently selected word as hilighted
......
...@@ -499,15 +499,19 @@ int no_help(void) ...@@ -499,15 +499,19 @@ int no_help(void)
return 0; return 0;
} }
#ifdef NANO_SMALL
void nano_small_msg(void) void nano_small_msg(void)
{ {
statusbar("Sorry, this function not available with nano-tiny option"); statusbar("Sorry, this function not available with nano-tiny option");
} }
#endif
#if defined(DISABLE_JUSTIFY) || defined(DISABLE_SPELL)
void nano_disabled_msg(void) void nano_disabled_msg(void)
{ {
statusbar("Sorry, support for this function has been disabled"); statusbar("Sorry, support for this function has been disabled");
} }
#endif
/* The user typed a printable character; add it to the edit buffer */ /* The user typed a printable character; add it to the edit buffer */
void do_char(char ch) void do_char(char ch)
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2000-12-01 13:36-0500\n" "POT-Creation-Date: 2000-12-01 13:55-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"
...@@ -55,7 +55,7 @@ msgstr "" ...@@ -55,7 +55,7 @@ msgstr ""
msgid "File to insert [from ./] " msgid "File to insert [from ./] "
msgstr "" msgstr ""
#: files.c:284 files.c:309 files.c:517 nano.c:1393 #: files.c:284 files.c:309 files.c:517 nano.c:1397
msgid "Cancelled" msgid "Cancelled"
msgstr "" msgstr ""
...@@ -627,116 +627,116 @@ msgstr "" ...@@ -627,116 +627,116 @@ msgstr ""
msgid "Mark UNset" msgid "Mark UNset"
msgstr "" msgstr ""
#: nano.c:914 #: nano.c:918
#, c-format #, c-format
msgid "check_wrap called with inptr->data=\"%s\"\n" msgid "check_wrap called with inptr->data=\"%s\"\n"
msgstr "" msgstr ""
#: nano.c:965 #: nano.c:969
#, c-format #, c-format
msgid "current->data now = \"%s\"\n" msgid "current->data now = \"%s\"\n"
msgstr "" msgstr ""
#: nano.c:1018 #: nano.c:1022
#, c-format #, c-format
msgid "After, data = \"%s\"\n" msgid "After, data = \"%s\"\n"
msgstr "" msgstr ""
#: nano.c:1118 #: nano.c:1122
msgid "Edit a replacement" msgid "Edit a replacement"
msgstr "" msgstr ""
#: nano.c:1342 #: nano.c:1346
#, c-format #, c-format
msgid "Could not create a temporary filename: %s" msgid "Could not create a temporary filename: %s"
msgstr "" msgstr ""
#: nano.c:1358 #: nano.c:1362
msgid "Finished checking spelling" msgid "Finished checking spelling"
msgstr "" msgstr ""
#: nano.c:1360 #: nano.c:1364
msgid "Spell checking failed" msgid "Spell checking failed"
msgstr "" msgstr ""
#: nano.c:1380 #: nano.c:1384
msgid "Save modified buffer (ANSWERING \"No\" WILL DESTROY CHANGES) ? " msgid "Save modified buffer (ANSWERING \"No\" WILL DESTROY CHANGES) ? "
msgstr "" msgstr ""
#: nano.c:1543 #: nano.c:1547
msgid "Cannot resize top win" msgid "Cannot resize top win"
msgstr "" msgstr ""
#: nano.c:1545 #: nano.c:1549
msgid "Cannot move top win" msgid "Cannot move top win"
msgstr "" msgstr ""
#: nano.c:1547 #: nano.c:1551
msgid "Cannot resize edit win" msgid "Cannot resize edit win"
msgstr "" msgstr ""
#: nano.c:1549 #: nano.c:1553
msgid "Cannot move edit win" msgid "Cannot move edit win"
msgstr "" msgstr ""
#: nano.c:1551 #: nano.c:1555
msgid "Cannot resize bottom win" msgid "Cannot resize bottom win"
msgstr "" msgstr ""
#: nano.c:1553 #: nano.c:1557
msgid "Cannot move bottom win" msgid "Cannot move bottom win"
msgstr "" msgstr ""
#: nano.c:1841 #: nano.c:1845
msgid "Can now UnJustify!" msgid "Can now UnJustify!"
msgstr "" msgstr ""
#: nano.c:1936 #: nano.c:1940
#, c-format #, c-format
msgid "%s enable/disable" msgid "%s enable/disable"
msgstr "" msgstr ""
#: nano.c:1948 #: nano.c:1952
msgid "enabled" msgid "enabled"
msgstr "" msgstr ""
#: nano.c:1949 #: nano.c:1953
msgid "disabled" msgid "disabled"
msgstr "" msgstr ""
#: nano.c:2179 #: nano.c:2183
msgid "Main: set up windows\n" msgid "Main: set up windows\n"
msgstr "" msgstr ""
#: nano.c:2192 #: nano.c:2196
msgid "Main: bottom win\n" msgid "Main: bottom win\n"
msgstr "" msgstr ""
#: nano.c:2198 #: nano.c:2202
msgid "Main: open file\n" msgid "Main: open file\n"
msgstr "" msgstr ""
#: nano.c:2235 #: nano.c:2239
#, c-format #, c-format
msgid "I got Alt-O-%c! (%d)\n" msgid "I got Alt-O-%c! (%d)\n"
msgstr "" msgstr ""
#: nano.c:2257 #: nano.c:2261
#, c-format #, c-format
msgid "I got Alt-[-1-%c! (%d)\n" msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "" msgstr ""
#: nano.c:2290 #: nano.c:2294
#, c-format #, c-format
msgid "I got Alt-[-2-%c! (%d)\n" msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "" msgstr ""
#: nano.c:2338 #: nano.c:2342
#, c-format #, c-format
msgid "I got Alt-[-%c! (%d)\n" msgid "I got Alt-[-%c! (%d)\n"
msgstr "" msgstr ""
#: nano.c:2364 #: nano.c:2368
#, c-format #, c-format
msgid "I got Alt-%c! (%d)\n" msgid "I got Alt-%c! (%d)\n"
msgstr "" msgstr ""
......
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