mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 04:41:21 +03:00
Do not set any helpline tags to empty strings;
compilation should fail if they are needed and not defined. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4738 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
e6821736aa
commit
2ff9dc7090
@ -1,8 +1,10 @@
|
||||
2014-04-06 Benno Schulenberg <bensberg@justemail.net>
|
||||
* src/global.c (shortcut_init): Limit M-T (cut-till-end) to the main
|
||||
menu, and M-J (full-justify) to the main and search menus.
|
||||
* src/global.c (shortcut_init): Limit M-T (cut-till-end-of-file) to
|
||||
the main menu, and M-J (full-justify) to the main and search menus.
|
||||
* src/proto.h: There is no need for the helpline tags to be external,
|
||||
they are only ever used in src/global.c.
|
||||
* src/global.c: Do not set any helpline tags to empty strings;
|
||||
compilation should fail if they are needed and not defined.
|
||||
|
||||
2014-04-05 Benno Schulenberg <bensberg@justemail.net>
|
||||
* src/nano.c (version): Print the correct configuration options.
|
||||
|
35
src/global.c
35
src/global.c
@ -510,52 +510,33 @@ const char *backwards_msg = N_("Backwards");
|
||||
const char *regexp_msg = N_("Regexp");
|
||||
#endif
|
||||
|
||||
/* Stuff we want to just stun out if we're in TINY mode. */
|
||||
#ifdef NANO_TINY
|
||||
const char *gototext_msg = "";
|
||||
const char *do_para_begin_msg = "";
|
||||
const char *do_para_end_msg = "";
|
||||
const char *case_sens_msg = "";
|
||||
const char *backwards_msg = "";
|
||||
const char *do_cut_till_end = "";
|
||||
const char *dos_format_msg = "";
|
||||
const char *mac_format_msg = "";
|
||||
const char *append_msg = "";
|
||||
const char *prepend_msg = "";
|
||||
const char *backup_file_msg = "";
|
||||
const char *to_files_msg = "";
|
||||
const char *first_file_msg = "";
|
||||
const char *whereis_next_msg = "";
|
||||
const char *last_file_msg = "";
|
||||
const char *new_buffer_msg = "";
|
||||
const char *goto_dir_msg;
|
||||
const char *ext_cmd_msg = "";
|
||||
|
||||
#else
|
||||
/* TRANSLATORS: Try to keep the next three strings at most 10 characters. */
|
||||
#ifndef NANO_TINY
|
||||
/* TRANSLATORS: Try to keep the next two strings at most 10 characters. */
|
||||
const char *prev_history_msg = N_("PrevHstory");
|
||||
const char *next_history_msg = N_("NextHstory");
|
||||
const char *gototext_msg = N_("Go To Text");
|
||||
/* TRANSLATORS: Try to keep the next three strings at most 12 characters. */
|
||||
/* TRANSLATORS: Try to keep the next four strings at most 12 characters. */
|
||||
const char *whereis_next_msg = N_("WhereIs Next");
|
||||
#endif
|
||||
const char *gototext_msg = N_("Go To Text");
|
||||
#ifndef DISABLE_BROWSER
|
||||
const char *first_file_msg = N_("First File");
|
||||
const char *last_file_msg = N_("Last File");
|
||||
/* TRANSLATORS: Try to keep the next nine strings at most 16 characters. */
|
||||
const char *to_files_msg = N_("To Files");
|
||||
const char *goto_dir_msg = N_("Go To Dir");
|
||||
#endif
|
||||
#ifndef NANO_TINY
|
||||
const char *dos_format_msg = N_("DOS Format");
|
||||
const char *mac_format_msg = N_("Mac Format");
|
||||
const char *append_msg = N_("Append");
|
||||
const char *prepend_msg = N_("Prepend");
|
||||
const char *backup_file_msg = N_("Backup File");
|
||||
const char *ext_cmd_msg = N_("Execute Command");
|
||||
#endif
|
||||
#ifndef DISABLE_MULTIBUFFER
|
||||
const char *new_buffer_msg = N_("New Buffer");
|
||||
#endif
|
||||
const char *goto_dir_msg = N_("Go To Dir");
|
||||
|
||||
#endif /* NANO_TINY */
|
||||
|
||||
/* Initialize all shortcut lists. If unjustify is TRUE, replace
|
||||
* the Uncut shortcut in the main shortcut list with UnJustify. */
|
||||
|
Loading…
Reference in New Issue
Block a user