Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19fa
git_rec_nano
Commits
7e6bb915
Commit
7e6bb915
authored
7 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: add a translator hint, and adjust two others
parent
7b133aa6
master
feature/match-parens
refactor/readbility
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/global.c
+3
-2
src/global.c
src/prompt.c
+1
-1
src/prompt.c
src/text.c
+1
-1
src/text.c
with
5 additions
and
4 deletions
+5
-4
src/global.c
View file @
7e6bb915
...
...
@@ -988,6 +988,7 @@ void shortcut_init(void)
N_
(
"Run Macro"
),
WITHORSANS
(
runmacro_gist
),
BLANKAFTER
,
VIEW
);
add_to_funcs
(
do_search_backward
,
MMAIN
,
/* TRANSLATORS: This starts a backward search. */
N_
(
"Where Was"
),
WITHORSANS
(
wherewas_gist
),
BLANKAFTER
,
VIEW
);
add_to_funcs
(
do_savefile
,
MMAIN
,
...
...
@@ -1406,7 +1407,7 @@ const char *flagtostr(int flag)
{
switch
(
flag
)
{
case
NO_HELP
:
/* TRANSLATORS: The next
seven
teen strings are toggle descriptions;
/* TRANSLATORS: The next
eigh
teen strings are toggle descriptions;
* they are best kept shorter than 40 characters, but may be longer. */
return
N_
(
"Help mode"
);
case
CONSTANT_SHOW
:
...
...
@@ -1444,7 +1445,7 @@ const char *flagtostr(int flag)
case
LINE_NUMBERS
:
return
N_
(
"Line numbering"
);
default:
return
"
?????
"
;
return
"
Bad toggle -- please report a bug
"
;
}
}
#endif
/* !NANO_TINY */
...
...
This diff is collapsed.
Click to expand it.
src/prompt.c
View file @
7e6bb915
...
...
@@ -673,7 +673,7 @@ int do_yesno_prompt(bool all, const char *msg)
char
*
message
=
display_string
(
msg
,
0
,
COLS
,
FALSE
);
/* TRANSLATORS: For the next three strings, if possible, specify
* the single-byte
shortcut
s for both your language and English.
* the single-byte
letter
s for both your language and English.
* For example, in French: "OoYy", for both "Oui" and "Yes". */
const
char
*
yesstr
=
_
(
"Yy"
);
const
char
*
nostr
=
_
(
"Nn"
);
...
...
This diff is collapsed.
Click to expand it.
src/text.c
View file @
7e6bb915
...
...
@@ -736,7 +736,7 @@ void do_undo(void)
openfile
->
current_x
=
u
->
begin
;
switch
(
u
->
type
)
{
case
ADD
:
/* TRANSLATORS:
Eight of t
he next
nin
e strings describe actions
/* TRANSLATORS:
T
he next
twelv
e strings describe actions
* that are undone or redone. It are all nouns, not verbs. */
undidmsg
=
_
(
"text add"
);
data
=
charalloc
(
strlen
(
f
->
data
)
-
strlen
(
u
->
strdata
)
+
1
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help