mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Fix references to "ja" (which is now ja-Hrkt)
This commit is contained in:
parent
edb8162e47
commit
2af13f4f15
2 changed files with 2 additions and 2 deletions
|
@ -225,7 +225,7 @@ class PokedexLookup(object):
|
|||
# Add generated Roomaji too
|
||||
# XXX this should be a first-class concept, not
|
||||
# piggybacking on Japanese
|
||||
if language.identifier == 'ja':
|
||||
if language.identifier == 'ja-Hrkt':
|
||||
add(romanize(name), language.identifier, language.iso639, language.iso3166)
|
||||
|
||||
writer.commit()
|
||||
|
|
|
@ -21,7 +21,7 @@ def test_languages(session):
|
|||
pkmn = q.one()
|
||||
for lang, name in (
|
||||
('en', u'Mightyena'),
|
||||
('ja', u'グラエナ'),
|
||||
('ja-Hrkt', u'グラエナ'),
|
||||
('roomaji', u'Guraena'),
|
||||
('fr', u'Grahyèna'),
|
||||
):
|
||||
|
|
Loading…
Reference in a new issue