🐛 Fix pull request issues

This commit is contained in:
Meier Lukas
2023-06-11 13:54:15 +02:00
parent 40618cfda4
commit e29ba6455e
2 changed files with 3 additions and 6 deletions

View File

@@ -26,8 +26,7 @@
"select": "Select {{city}}, {{countryCode}}" "select": "Select {{city}}, {{countryCode}}"
}, },
"population": { "population": {
"fallback": "Unknown", "fallback": "Unknown"
"count": "{{count}} people"
} }
} }
} }

View File

@@ -196,9 +196,7 @@ const CitySelectModal = ({ opened, closeModal, query, onCitySelected }: CitySele
</td> </td>
<td> <td>
{city.population ? ( {city.population ? (
<Text style={{ whiteSpace: 'nowrap' }}> <Text style={{ whiteSpace: 'nowrap' }}>{city.population}</Text>
{t('modal.table.population.count', { count: city.population })}
</Text>
) : ( ) : (
<Text color="dimmed"> {t('modal.table.population.fallback')}</Text> <Text color="dimmed"> {t('modal.table.population.fallback')}</Text>
)} )}