From 4b156678c687da4779acc5a3e5b33d9bb83bc7b4 Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Sat, 23 Dec 2006 02:49:44 +0200 Subject: [PATCH] terminal._template_.utf_8_io: Move the comment above the option and extend it. This lets xgettext attach the comment to a more appropriate msgid. --- src/config/options.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/config/options.inc b/src/config/options.inc index c2fae4c7..485474dd 100644 --- a/src/config/options.inc +++ b/src/config/options.inc @@ -885,14 +885,16 @@ static struct option_info config_options_info[] = { "and lines working at the same time. Makes sense only with linux\n" "terminal.")), + /* When CONFIG_UTF8 is defined, any code that reads the "utf_8_io" + * option should also check whether the "codepage" option is UTF-8, + * and if so, behave as if "utf_8_io" were 1. (When CONFIG_UTF8 is + * not defined, it should not be possible to set UTF-8 as "codepage"; + * please report any such possibilities as bugs.) */ INIT_OPT_BOOL("terminal._template_", N_("UTF-8 I/O"), "utf_8_io", 0, 0, N_("Enable I/O in UTF-8 for Unicode terminals. Note that currently,\n" "only the subset of UTF-8 according to terminal codepage is used.\n" "ELinks ignores this option if the terminal codepage is UTF-8.")), - /* When CONFIG_UTF8 is defined, any code that reads the "utf_8_io" - * option should also check whether the "codepage" option is UTF-8, - * and if so, behave as if "utf_8_io" were 1. */ INIT_OPT_BOOL("terminal._template_", N_("Restrict frames in cp850/852"), "restrict_852", 0, 0,