1
0
Fork 0
forked from len0rd/rockbox

Replace list of languages with map.

- Use ISO codes as keys for voice languages instead of enumeration.
- Instead of trying to select a suitable voicefile language from the UI
  language use the ISO codes stored as UI language and match against the
  mapping.
- Always store the selected UI language. Fixes the voicefile creation
  language lookup to fail if the language used is the system language.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29207 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2011-02-04 23:28:34 +00:00
parent 3419422c23
commit 988b3083df
6 changed files with 60 additions and 56 deletions

View file

@ -755,42 +755,42 @@ name="Sansa View"
[languages]
lang1=afrikaans
lang2=bulgarian
lang3=catala
lang4=chinese-simp
lang5=chinese-trad
lang6=czech
lang7=dansk
lang8=deutsch
lang9=eesti
lang10=english
lang11=espanol
lang12=esperanto
lang13=finnish
lang14=francais
lang15=galego
lang16=greek
lang17=hebrew
lang18=islenska
lang19=italiano
lang20=japanese
lang21=korean
lang22=magyar
lang23=nederlands
lang24=norsk
lang25=norsk-nynorsk
lang26=polski
lang27=portugues
lang28=portugues-brasileiro
lang29=romaneste
lang30=russian
lang31=slovenscina
lang32=svenska
lang33=thai
lang34=turkce
lang35=wallisertitsch
lang36=hindi
lang37=tagalog
lang38=lietuviu
af=afrikaans
bg=bulgarian
ca=catala
cs=czech
da=dansk
de=deutsch
el=greek
en=english
eo=esperanto
es=espanol
et=eesti
fi=finnish
fr=francais
gl=galego
he=hebrew
hi=hindi
hu=magyar
is=islenska
it=italiano
ja=japanese
ko=korean
lt=lietuviu
nb=norsk
nl=nederlands
nn=norsk-nynorsk
pl=polski
pt=portugues
pt_BR=portugues-brasileiro
ro=romaneste
ru=russian
sk=slovenscina
sv=svenska
th=thai
tl=tagalog
tr=turkce
wa=wallisertitsch
zh_CN=chinese-simp
zh_TW=chinese-trad