Commit b5400ffe authored by David Lawrence Ramsey's avatar David Lawrence Ramsey Committed by Benno Schulenberg
Browse files

general: gettextize three overlooked statusbar messages

This fixes https://savannah.gnu.org/bugs/?48622.
Showing with 3 additions and 3 deletions
+3 -3
...@@ -69,7 +69,7 @@ char *do_browser(char *path) ...@@ -69,7 +69,7 @@ char *do_browser(char *path)
dir = opendir(path); dir = opendir(path);
if (path == NULL || dir == NULL) { 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 we don't have a file list yet, there is nothing to show. */
if (filelist == NULL) { if (filelist == NULL) {
napms(1200); napms(1200);
...@@ -375,7 +375,7 @@ char *do_browse_from(const char *inpath) ...@@ -375,7 +375,7 @@ char *do_browse_from(const char *inpath)
if (path == NULL) { if (path == NULL) {
free(currentdir); free(currentdir);
statusline(MILD, "The working directory has disappeared"); statusline(MILD, _("The working directory has disappeared"));
beep(); beep();
napms(1200); napms(1200);
return NULL; return NULL;
......
...@@ -912,7 +912,7 @@ void read_file(FILE *f, int fd, const char *filename, bool undoable, bool checkw ...@@ -912,7 +912,7 @@ void read_file(FILE *f, int fd, const char *filename, bool undoable, bool checkw
openfile->placewewant = xplustabs(); openfile->placewewant = xplustabs();
if (!writable) if (!writable)
statusline(ALERT, "File '%s' is unwritable", filename); statusline(ALERT, _("File '%s' is unwritable"), filename);
#ifndef NANO_TINY #ifndef NANO_TINY
else if (format == 3) { else if (format == 3) {
/* TRANSLATORS: Keep the next four messages at most 78 characters. */ /* TRANSLATORS: Keep the next four messages at most 78 characters. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment