Re: Bug#309667: marked as done (cdebconf: tolerate templates with mismatched Choices and Indices)
On Wed, Jun 01, 2005 at 01:32:44AM -0500, Christian Perrier wrote:
> (CC to Colin privately just to get attention...answer to -boot)
>
> > - Log a warning and fall back to displaying an unsorted list if a
> > template's Indices don't match its Choices, namely too few indices or
> > an index out of range (closes: #309667).
>
> Colin, yet another incredibly valuable contribution...:-)
>
> Have you been able to track down what was currently triggering this in
> choose-mirror? I'm slowly recovering back from my Chile days so I may
> have missed things in -boot yet.
Yep; it looks like what Frans said in #311021. I changed choose-mirror
to use country codes as the untranslated choices and to add
Choices-en.UTF-8 and Indices-en.UTF-8 automatically generated from
iso_3166.tab. The code is a little hairy because it needs to calculate
the inverse of iso_3166.tab and apply that as a mapping to all the
msgids in iso-codes .po files, but it works ...
Cheers,
--
Colin Watson [cjwatson@debian.org]
Reply to: