Merge pull request #3332 from matrix-org/travis/fix-i18n

Don't double translate labs settings
This commit is contained in:
Travis Ralston 2019-08-21 09:01:40 -06:00 committed by GitHub
commit fb38787c37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ export class LabsSettingToggle extends React.Component {
};
render() {
const label = _t(SettingsStore.getDisplayName(this.props.featureId));
const label = SettingsStore.getDisplayName(this.props.featureId);
const value = SettingsStore.isFeatureEnabled(this.props.featureId);
return <LabelledToggleSwitch value={value} label={label} onChange={this._onChange} />;
}