Rockbox mail archiveSubject: Re: What function loads a .lang file?
From: TP Diffenbach (rockbox_at_diffenbach.org)
Well, I'm thinking I'll do it another way anyhow.
But we do have code that assigns pointers to the language strings. For example, in settings.c, function set_time, line 1687:
I wanted to maintain arrays that were subsets of the language_strings array, and change mine whenver language_strings was changed. Instead I'm thinking of indexing directly into language_strings. Admittly, that fails if the strings in english.lang are reorderd, but it doesn't seem to be too much of a burden on maintainers to insist that like strings be kept together, and in a certain order.
Quoting Linus Nielsen Feltzing <linus_at_haxx.se>:
> TP Diffenbach wrote:
-- Archos FM needs a Rockbox!
Page was last modified "Jan 10 2012" The Rockbox Crew