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
173bbe11
Commit
173bbe11
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: add a few translator hints
parent
7531b71f
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/files.c
+5
-6
src/files.c
src/text.c
+1
-0
src/text.c
with
6 additions
and
6 deletions
+6
-6
src/files.c
View file @
173bbe11
...
...
@@ -2221,6 +2221,7 @@ int do_writeout(bool exiting)
* it allows reading from or writing to files not specified on
* the command line. */
if
(
openfile
->
mark_set
&&
!
exiting
&&
!
ISSET
(
RESTRICTED
))
/* TRANSLATORS: The next six strings are prompts. */
msg
=
(
method
==
PREPEND
)
?
_
(
"Prepend Selection to File"
)
:
(
method
==
APPEND
)
?
_
(
"Append Selection to File"
)
:
_
(
"Write Selection to File"
);
...
...
@@ -2359,13 +2360,11 @@ int do_writeout(bool exiting)
free
(
full_answer
);
if
(
do_warning
)
{
/* If we're using restricted mode, we aren't allowed
* to overwrite an existing file with the current
* file. We also aren't allowed to change the name
* of the current file if it has one, because that
* would allow reading from or writing to files not
* specified on the command line. */
/* When in restricted mode, we aren't allowed to overwrite
* an existing file with the current buffer, nor to change
* the name of the current file if it already has one. */
if
(
ISSET
(
RESTRICTED
))
{
/* TRANSLATORS: Restricted mode forbids overwriting. */
warn_and_shortly_pause
(
_
(
"File exists -- "
"cannot overwrite"
));
continue
;
...
...
This diff is collapsed.
Click to expand it.
src/text.c
View file @
173bbe11
...
...
@@ -3850,6 +3850,7 @@ void complete_a_word(void)
statusline
(
ALERT
,
_
(
"No further matches"
));
refresh_needed
=
TRUE
;
}
else
/* TRANSLATORS: Shown when there are zero possible completions. */
statusline
(
ALERT
,
_
(
"No matches"
));
free
(
shard
);
...
...
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