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

Find a way to translate the name of RTE in user settings

I never said it was a *nice* way...
This commit is contained in:
Kegan Dougal
2017-06-01 15:53:08 +01:00
parent a0c21854a9
commit ced68f2719
2 changed files with 8 additions and 5 deletions

View File

@@ -767,6 +767,7 @@ module.exports = React.createClass({
_renderLabs: function() {
// default to enabled if undefined
if (this.props.enableLabs === false) return null;
UserSettingsStore.doTranslations();
const features = UserSettingsStore.LABS_FEATURES.map((feature) => (
<div key={feature.id} className="mx_UserSettings_toggle">