Re: [locales] Solving the "debconf is not a registry" issue
- To: barbier@linuxfr.org (Denis Barbier)
- Cc: debian-glibc@lists.debian.org
- Subject: Re: [locales] Solving the "debconf is not a registry" issue
- From: GOTO Masanori <gotom@debian.or.jp>
- Date: Fri, 02 May 2003 19:40:41 +0900
- Message-id: <[🔎] 80ade5y6l2.wl@oris.opensource.jp>
- In-reply-to: <20030430204840.GA6591@zobe.linuxfr.org>
- References: <80r87r24l8.wl@oris.opensource.jp> <20030424185349.GC12603@dragon.kitenet.net> <80u1cjzs5x.wl@oris.opensource.jp> <20030427211359.GA25621@zobe.linuxfr.org> <20030427212534.GA30883@zobe.linuxfr.org> <80r87nz1a7.wl@oris.opensource.jp> <20030428081155.GA21670@zobe.linuxfr.org> <801xzlzp7m.wl@oris.opensource.jp> <20030429085930.GA32762@zobe.linuxfr.org> <80u1cgx95j.wl@oris.opensource.jp> <20030430204840.GA6591@zobe.linuxfr.org>
At Wed, 30 Apr 2003 22:48:40 +0200,
Denis Barbier wrote:
>
> On Thu, May 01, 2003 at 01:06:00AM +0900, GOTO Masanori wrote:
> [...]
> > > > ex)
> > > > char=`tail -1 /etc/locale.gen`
> > > > if [ -n "$char" ]; then
> > > > echo
> > > > fi
> > >
> > > No, an EOL has to be added if last line is not empty but does not contain
> > > an EOL.
> >
> > Hmm, why?
> >
> > At least I think it's fine compared with an empty line is inserted one
> > by one. Or am I missing?
>
> No, that's me, I misunderstood your test.
> But your solution will also add an empty line one by one, we need a flag
> to insert it only once, here is a patch.
Thanks for your patch, but I've committed another way. In the first
checking for /etc/locale.gen, we look at the end of file, and if it
has any strings then put the new line.
> [...]
> > So I think my proposal is fine to present the locale name and its
> > language readable name at the same time. User does not need to refer
> > the another document.
>
> Then please implement it, but do not generate the list automatically,
> otherwise translating will be impossible.
OK, I care this for #174190.
> BTW I forgot to ask you to run debconf-updatepo in debian/po/ in order
> to update PO files.
Indeed. I've just run debconf-updatepo, thanks for your notification!
Regards,
-- gotom
Reply to: