Fix references to "ja" (which is now ja-Hrkt)

This commit is contained in:
Eevee (Lexy Munroe) 2017-06-18 00:15:05 -07:00
parent edb8162e47
commit 2af13f4f15
2 changed files with 2 additions and 2 deletions

View file

@ -225,7 +225,7 @@ class PokedexLookup(object):
# Add generated Roomaji too # Add generated Roomaji too
# XXX this should be a first-class concept, not # XXX this should be a first-class concept, not
# piggybacking on Japanese # piggybacking on Japanese
if language.identifier == 'ja': if language.identifier == 'ja-Hrkt':
add(romanize(name), language.identifier, language.iso639, language.iso3166) add(romanize(name), language.identifier, language.iso639, language.iso3166)
writer.commit() writer.commit()

View file

@ -21,7 +21,7 @@ def test_languages(session):
pkmn = q.one() pkmn = q.one()
for lang, name in ( for lang, name in (
('en', u'Mightyena'), ('en', u'Mightyena'),
('ja', u'グラエナ'), ('ja-Hrkt', u'グラエナ'),
('roomaji', u'Guraena'), ('roomaji', u'Guraena'),
('fr', u'Grahyèna'), ('fr', u'Grahyèna'),
): ):