Skip to content

Commit

Permalink
Fix not translated sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluesmile82 committed Nov 24, 2022
1 parent 0b74f5b commit e6e9096
Showing 1 changed file with 11 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,18 +162,17 @@ function CountryEntryTooltipComponent({
{landTab ? landVertebrates : marVertebrates}
</span>
<span className={styles.text}>
<T
_str={
landTab
? 'land vertebrate species of which {number} are endemic'
: 'marine vertebrate species of which {number} are endemic'
}
number={
<span className={styles.endemic}>
{landTab ? endemicLand : endemicMar}
</span>
}
/>
{landTab ? (
<T
_str="land vertebrate species of which {number} are endemic"
number={<span className={styles.endemic}>{endemicLand}</span>}
/>
) : (
<T
_str="marine vertebrate species of which {number} are endemic"
number={<span className={styles.endemic}>{endemicMar}</span>}
/>
)}
</span>
</div>
<div className={styles.infoPill}>
Expand Down

0 comments on commit e6e9096

Please sign in to comment.