per Benno Schulenberg's patch with a few tweaks by me, add various

clarifications to translated strings


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3828 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2006-07-31 01:30:31 +00:00
parent e517613c01
commit 7b0531aa0b
6 changed files with 17 additions and 13 deletions

View File

@ -52,6 +52,10 @@ CVS code -
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

View File

@ -899,7 +899,7 @@ void do_insertfile_void(void)
{
#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(

View File

@ -422,9 +422,9 @@ void shortcut_init(bool unjustify)
#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");
@ -1297,7 +1297,7 @@ void toggle_init(void)
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,

View File

@ -355,7 +355,7 @@ void help_init(void)
#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. "
@ -370,7 +370,7 @@ void help_init(void)
"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 "

View File

@ -520,7 +520,7 @@ void free_openfilestruct(openfilestruct *src)
/* 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. */
@ -767,7 +767,7 @@ void usage(void)
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"));
@ -777,7 +777,7 @@ void usage(void)
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
@ -789,7 +789,7 @@ void usage(void)
#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",
@ -812,7 +812,7 @@ void usage(void)
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>"),
@ -820,7 +820,7 @@ void usage(void)
#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

View File

@ -55,7 +55,7 @@ void do_mark(void)
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();