nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit c0c30731c4281645a1b00a6f8b8ce00745c46b7f
parent 49eaa7c4653db2f9747d3094e3f1b0f167fde747
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Fri, 24 Jun 2016 09:19:23 +0200

browser: don't use a term that is not explained in the documentation

Also, other messages that are about --operatingdir don't use the term
"confined" either.

Suggested-by: Mario Blättermann <mario.blaettermann@gmail.com>

Diffstat:
Msrc/browser.c | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/browser.c b/src/browser.c @@ -268,10 +268,10 @@ char *do_browser(char *path) #ifndef DISABLE_OPERATINGDIR if (check_operating_dir(new_path, FALSE)) { - /* TRANSLATORS: This refers to the option --operatingdir, - * not to --restricted. */ - statusline(ALERT, _("Can't go outside of %s " - "in confined mode"), full_operating_dir); + /* TRANSLATORS: This refers to the confining effect of the + * option --operatingdir, not of --restricted. */ + statusline(ALERT, _("Can't go outside of %s"), + full_operating_dir); free(new_path); continue; } @@ -322,8 +322,8 @@ char *do_browser(char *path) * directory if it's ".." or if it's a symlink to a * directory outside the operating directory. */ if (check_operating_dir(filelist[selected], FALSE)) { - statusline(ALERT, _("Can't go outside of %s " - "in confined mode"), full_operating_dir); + statusline(ALERT, _("Can't go outside of %s"), + full_operating_dir); continue; } #endif