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>
master
Benno Schulenberg 2016-06-24 09:19:23 +02:00
parent 49eaa7c465
commit c0c30731c4
1 changed files with 6 additions and 6 deletions

View File

@ -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