Skip to content

Commit

Permalink
Translate rarity text. (#2474)
Browse files Browse the repository at this point in the history
Fixed bug with rarity text without translation
  • Loading branch information
koh001 authored and sebastienvercammen committed Feb 2, 2018
1 parent 71ce394 commit 3da4666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ function pokemonLabel(item) {
const pokemonRarity = getPokemonRarity(item['pokemon_id'])

var name = item['pokemon_name']
var rarityDisplay = pokemonRarity ? '(' + pokemonRarity + ')' : ''
var rarityDisplay = pokemonRarity ? '(' + i8ln(pokemonRarity) + ')' : ''
var types = item['pokemon_types']
var typesDisplay = ''
var encounterId = item['encounter_id']
Expand Down

0 comments on commit 3da4666

Please sign in to comment.