diff --git a/pokedex/lookup.py b/pokedex/lookup.py index 15fc0c0..d29f283 100644 --- a/pokedex/lookup.py +++ b/pokedex/lookup.py @@ -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() diff --git a/pokedex/tests/test_strings.py b/pokedex/tests/test_strings.py index 1c7978f..c2ec076 100644 --- a/pokedex/tests/test_strings.py +++ b/pokedex/tests/test_strings.py @@ -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'), ):