[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cdebconf http backend and choice/choice-description independence



On Mon, Dec 23, 2002 at 10:28:44AM +0100, Tollef Fog Heen wrote:
[...]
> Index: src/template.c
> @@ -507,6 +517,25 @@
>  		}
>  		else if (strstr(p, "Choices: ") == p && t != 0)
>  			template_lset(t, NULL, "choices", p+9);
> +		else if (strstr(p, "Choices-Description: ") == p && t != 0)
> +			template_lset(t, NULL, "choices_description", p+21);
> +		else if (strstr(p, "Choices-Description-: ") == p && t != 0)

   		else if (strstr(p, "Choices-Description-") == p && t != 0)

Could you tell how it is used by main-menu?
IMO adding this new field won't help, you could instead use templates
with predefined names, e.g. debian-installer/main-menu/<package>,
to build the list of main-menu items.
Both ways require extra work to display localized fields.

Denis



Reply to: