Skip to content

Commit

Permalink
Merge pull request #278 from ClawOfDead/patch-4
Browse files Browse the repository at this point in the history
Added i18n for translation
  • Loading branch information
wraythex authored Sep 5, 2023
2 parents 2b72ce8 + 50aaf90 commit cdf1678
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions static/js/map/map.nest.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ function nestLabel(nest) {
</div>
<div class='nest-container-right'>
<div class='title'>
<strong>${getPokemonName(nest.pokemon_id)} Nest</strong>
<strong>${getPokemonName(nest.pokemon_id)} ${i18n('Nest')}</strong>
</div>
<div class='info-container'>
<div>
Park name: <strong>${nest.name}</strong>
${i18n('Park name')}: <strong>${i18n(nest.name)}</strong>
</div>
<div>
Spawns per hour: <strong>${nest.pokemon_avg}</strong>
${i18n('Spawns per hour')}: <strong>${nest.pokemon_avg}</strong>
</div>
<div>
Last updated: <strong>${timestampToDateTime(nest.last_updated)}</strong>
${i18n('Last updated')}: <strong>${timestampToDateTime(nest.last_updated)}</strong>
</div>
</div>
<div>
Expand Down

0 comments on commit cdf1678

Please sign in to comment.