Allow country names to be translated

Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
Aaron Raimist 2020-11-08 22:33:12 -06:00
parent a7e6d8e7f0
commit d121f8a357
No known key found for this signature in database
GPG key ID: 37419210002890EF
3 changed files with 501 additions and 250 deletions

View file

@ -123,7 +123,7 @@ export default class CountryDropdown extends React.Component {
const options = displayedCountries.map((country) => {
return <div className="mx_CountryDropdown_option" key={country.iso2}>
{ this._flagImgForIso2(country.iso2) }
{ country.name } (+{ country.prefix })
{ _t(country.name) } (+{ country.prefix })
</div>;
});