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
b5400ffe
Commit
b5400ffe
authored
8 years ago
by
David Lawrence Ramsey
Committed by
Benno Schulenberg
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
general: gettextize three overlooked statusbar messages
This fixes
https://savannah.gnu.org/bugs/?48622
.
parent
ac41587d
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/browser.c
+2
-2
src/browser.c
src/files.c
+1
-1
src/files.c
with
3 additions
and
3 deletions
+3
-3
src/browser.c
View file @
b5400ffe
...
...
@@ -69,7 +69,7 @@ char *do_browser(char *path)
dir
=
opendir
(
path
);
if
(
path
==
NULL
||
dir
==
NULL
)
{
statusline
(
ALERT
,
"Cannot open directory: %s"
,
strerror
(
errno
));
statusline
(
ALERT
,
_
(
"Cannot open directory: %s"
)
,
strerror
(
errno
));
/* If we don't have a file list yet, there is nothing to show. */
if
(
filelist
==
NULL
)
{
napms
(
1200
);
...
...
@@ -375,7 +375,7 @@ char *do_browse_from(const char *inpath)
if
(
path
==
NULL
)
{
free
(
currentdir
);
statusline
(
MILD
,
"The working directory has disappeared"
);
statusline
(
MILD
,
_
(
"The working directory has disappeared"
)
)
;
beep
();
napms
(
1200
);
return
NULL
;
...
...
This diff is collapsed.
Click to expand it.
src/files.c
View file @
b5400ffe
...
...
@@ -912,7 +912,7 @@ void read_file(FILE *f, int fd, const char *filename, bool undoable, bool checkw
openfile
->
placewewant
=
xplustabs
();
if
(
!
writable
)
statusline
(
ALERT
,
"File '%s' is unwritable"
,
filename
);
statusline
(
ALERT
,
_
(
"File '%s' is unwritable"
)
,
filename
);
#ifndef NANO_TINY
else
if
(
format
==
3
)
{
/* TRANSLATORS: Keep the next four messages at most 78 characters. */
...
...
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