1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Translate 'email' threepid label

This commit is contained in:
David Baker
2017-05-26 17:56:51 +01:00
parent 40680d55e0
commit 23fbce66a2
2 changed files with 2 additions and 0 deletions

View File

@@ -826,6 +826,7 @@ module.exports = React.createClass({
nameForMedium: function(medium) {
if (medium === 'msisdn') return _t('Phone');
if (medium === 'email') return _t('Email');
return medium[0].toUpperCase() + medium.slice(1);
},