On Mon, 2003-08-25 at 07:02, Luis Villa wrote: > On Mon, 2003-08-25 at 10:00, iain wrote: > > On Mon, 2003-08-25 at 14:03, Luis Villa wrote: > > > On Sun, 2003-08-24 at 18:00, Ted Gould wrote: > > > > Okay, > > > > > > > > So I've been chasing down issues with the labels in the mixer, and it > > > > turns out that there are names of the various sliders stored in GConf. > > > > This is kind of annoying for internationalization, and I can't figure > > > > out what anyone would use it for. Is there anyone out there changing > > > > the names of the sliders in the mixer? > > > > > > I do on my laptop- the default names of some of them are pretty cracked > > > out. I'm not sure that I'm a general use-case, though. [Where are those > > > gotten from in the first place, anyway? kernel-land?] > > > > Thats why I change them too. > > Once you get into using Alsa 9 in the mixer there is going to be a > > million more controls with even weirder names like "IEC958 TTL". Now I > > have no idea what that means or what its ever used for, but someone > > somewhere might need it and want a more friendly name than that :) > > > > The names come from Kernel land. For ALSA it can have any name, for OSS > > I think there's only 10 names or something dumb like that. For OSS I > > seem to remember that they're hard coded somewhere in the code. > > So basically getting them from kernel-land is also probably an i18n > nightmare? They're currently handled through a stub .h file, so then they get translated, and things work out okay. I'm thinking that the names are probably better in languages besides English because they've been translated :) But, perhaps that is the solution, actually make an en.po file with 'Human' names for stuff. Atleast for the last version of ALSA there were reasonable names - haven't looked at 0.9 though. The problem currently is that basically the mixer latches on to what ever language you use first. So then when you change languages, it doesn't change with you. Which is a bad thing. But it seems like someone might like to change the names of the various sliders (perhaps a card has more than one line out for instance, so you'd want to change it to 'Line Out to Stereo' and 'Line Out to Tape Player'). So, I guess what really needs to happen is two things: a) The default strings need to be more reasonable so that people don't have to change them regularly b) The strings need to only be saved into GConf if they are changed - and have a way to set them back to not using GConf. I'm sure I'll figure this out before the code freeze :) --Ted
Attachment:
signature.asc
Description: This is a digitally signed message part