From c0c30731c4281645a1b00a6f8b8ce00745c46b7f Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensberg@justemail.net> Date: Fri, 24 Jun 2016 09:19:23 +0200 Subject: [PATCH] browser: don't use a term that is not explained in the documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also, other messages that are about --operatingdir don't use the term "confined" either. Suggested-by: Mario Blättermann <mario.blaettermann@gmail.com> --- src/browser.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/browser.c b/src/browser.c index 3c049dd3..9f4e971f 100644 --- 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 -- GitLab