documentation. (Benno Schulenberg and DLR)
- Make bad_mbchar a static const char* const in chars.c, as its
value doesn't change. (DLR)
+ - Add various clarifications to translated strings. Changes to
+ do_insertfile_void(), shortcut_init(), toggle_init(),
+ help_init(), print_view_warning(), usage(), and do_mark().
+ (Benno Schulenberg, minor tweaks by DLR)
- browser.c:
do_browser()
- Refactor the mouse support, modeling it after do_mouse() for
{
#ifdef ENABLE_MULTIBUFFER
if (ISSET(VIEW_MODE) && !ISSET(MULTIBUFFER))
- statusbar(_("Key illegal in non-multibuffer mode"));
+ statusbar(_("Key invalid in non-multibuffer mode"));
else
#endif
do_insertfile(
#endif
#ifndef NANO_TINY
const char *nano_prev_history_msg =
- N_("Edit the previous search/replace string");
+ N_("Recall the previous search/replace string");
const char *nano_next_history_msg =
- N_("Edit the next search/replace string");
+ N_("Recall the next search/replace string");
#endif
#ifndef DISABLE_BROWSER
const char *nano_tofiles_msg = N_("Go to file browser");
CONST_UPDATE));
toggle_init_one(TOGGLE_MORESPACE_KEY,
- IFTHELP(N_("Use of more space for editing"), FALSE,
+ IFTHELP(N_("Use of one more line for editing"), FALSE,
MORE_SPACE));
toggle_init_one(TOGGLE_SMOOTH_KEY,
#endif /* !NANO_TINY */
else {
/* Default to the main help list. */
- htx[0] = N_(" nano help text\n\n "
+ htx[0] = N_("Main nano help text\n\n "
"The nano editor is designed to emulate the "
"functionality and ease-of-use of the UW Pico text "
"editor. There are four main sections of the editor. "
"Control-key sequences are notated with a caret (^) "
"symbol and can be entered either by using the Control "
"(Ctrl) key or pressing the Escape (Esc) key twice. "
- "Escape-key sequences are notated with the Meta (M) "
+ "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. ");
htx[2] = N_("Also, pressing Esc twice and then typing a "
/* Display a warning about a key disabled in view mode. */
void print_view_warning(void)
{
- statusbar(_("Key illegal in VIEW mode"));
+ statusbar(_("Key invalid in view mode"));
}
/* What we do when we're all set to exit. */
print_opt("-N", "--noconvert",
N_("Don't convert files from DOS/Mac format"));
#endif
- print_opt("-O", "--morespace", N_("Use more space for editing"));
+ print_opt("-O", "--morespace", N_("Use one more line for editing"));
#ifndef DISABLE_JUSTIFY
print_opt(_("-Q <str>"), _("--quotestr=<str>"),
N_("Quoting string"));
print_opt("-S", "--smooth", N_("Smooth scrolling"));
#endif
print_opt(_("-T <#cols>"), _("--tabsize=<#cols>"),
- N_("Set width of a tab in cols to #cols"));
+ N_("Set width of a tab to #cols columns"));
#ifndef NANO_TINY
print_opt("-U", "--quickblank", N_("Do quick statusbar blanking"));
#endif
#endif
#ifdef ENABLE_COLOR
print_opt(_("-Y <str>"), _("--syntax=<str>"),
- N_("Syntax definition to use"));
+ N_("Syntax definition to use for coloring"));
#endif
print_opt("-c", "--const", N_("Constantly show cursor position"));
print_opt("-d", "--rebinddelete",
N_("Preserve XON (^Q) and XOFF (^S) keys"));
#ifndef DISABLE_WRAPJUSTIFY
print_opt(_("-r <#cols>"), _("--fill=<#cols>"),
- N_("Set fill cols to (wrap lines at) #cols"));
+ N_("Set wrapping point at column #cols"));
#endif
#ifndef DISABLE_SPELLER
print_opt(_("-s <prog>"), _("--speller=<prog>"),
#endif
print_opt("-t", "--tempfile",
N_("Auto save on exit, don't prompt"));
- print_opt("-v", "--view", N_("View (read only) mode"));
+ print_opt("-v", "--view", N_("View mode (read-only)"));
#ifndef DISABLE_WRAPPING
print_opt("-w", "--nowrap", N_("Don't wrap long lines"));
#endif
openfile->mark_begin = openfile->current;
openfile->mark_begin_x = openfile->current_x;
} else {
- statusbar(_("Mark UNset"));
+ statusbar(_("Mark Unset"));
openfile->mark_begin = NULL;
openfile->mark_begin_x = 0;
edit_refresh();