Guiding the translators a little bit.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5607 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
5a5144b75a
commit
cca22bb10a
|
@ -3,6 +3,8 @@
|
||||||
sequences and of the screen layout, mention how to enter Unicode,
|
sequences and of the screen layout, mention how to enter Unicode,
|
||||||
and mention that regular expressions are line oriented.
|
and mention that regular expressions are line oriented.
|
||||||
* src/global.c (shortcut_init): Put four strings in standard order.
|
* src/global.c (shortcut_init): Put four strings in standard order.
|
||||||
|
* src/text.c (do_undo), src/global.c (shortcut_init): Guide the
|
||||||
|
translators a little bit.
|
||||||
|
|
||||||
2016-01-31 Benno Schulenberg <bensberg@justemail.net>
|
2016-01-31 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* src/files.c (has_valid_path): Be more specific in how a given path
|
* src/files.c (has_valid_path): Be more specific in how a given path
|
||||||
|
|
|
@ -908,6 +908,7 @@ void shortcut_init(void)
|
||||||
|
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
add_to_funcs(do_cut_prev_word, MMAIN,
|
add_to_funcs(do_cut_prev_word, MMAIN,
|
||||||
|
/* TRANSLATORS: The next two strings refer to cutting words. */
|
||||||
N_("Cut Left"), IFSCHELP(nano_cut_word_left_msg), TOGETHER, NOVIEW);
|
N_("Cut Left"), IFSCHELP(nano_cut_word_left_msg), TOGETHER, NOVIEW);
|
||||||
add_to_funcs(do_cut_next_word, MMAIN,
|
add_to_funcs(do_cut_next_word, MMAIN,
|
||||||
N_("Cut Right"), IFSCHELP(nano_cut_word_right_msg), TOGETHER, NOVIEW);
|
N_("Cut Right"), IFSCHELP(nano_cut_word_right_msg), TOGETHER, NOVIEW);
|
||||||
|
@ -1014,8 +1015,8 @@ void shortcut_init(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DISABLE_COLOR
|
#ifndef DISABLE_COLOR
|
||||||
/* TRANSLATORS: Try to keep the next two strings at most 20 characters. */
|
|
||||||
add_to_funcs(do_page_up, MLINTER,
|
add_to_funcs(do_page_up, MLINTER,
|
||||||
|
/* TRANSLATORS: Try to keep the next two strings at most 20 characters. */
|
||||||
N_("Prev Lint Msg"), IFSCHELP(nano_prevlint_msg), TOGETHER, VIEW);
|
N_("Prev Lint Msg"), IFSCHELP(nano_prevlint_msg), TOGETHER, VIEW);
|
||||||
add_to_funcs(do_page_down, MLINTER,
|
add_to_funcs(do_page_down, MLINTER,
|
||||||
N_("Next Lint Msg"), IFSCHELP(nano_nextlint_msg), TOGETHER, VIEW);
|
N_("Next Lint Msg"), IFSCHELP(nano_nextlint_msg), TOGETHER, VIEW);
|
||||||
|
|
|
@ -491,6 +491,8 @@ void do_undo(void)
|
||||||
openfile->current_x = u->begin;
|
openfile->current_x = u->begin;
|
||||||
switch (u->type) {
|
switch (u->type) {
|
||||||
case ADD:
|
case ADD:
|
||||||
|
/* TRANSLATORS: Eight of the next nine strings describe actions
|
||||||
|
* that are undone or redone. It are all nouns, not verbs. */
|
||||||
undidmsg = _("text add");
|
undidmsg = _("text add");
|
||||||
data = charalloc(strlen(f->data) - strlen(u->strdata) + 1);
|
data = charalloc(strlen(f->data) - strlen(u->strdata) + 1);
|
||||||
strncpy(data, f->data, u->begin);
|
strncpy(data, f->data, u->begin);
|
||||||
|
|
Loading…
Reference in New Issue