Merge pull request #990 from matrix-org/kegan/translation-marmoset

Translation fixes for everything but src/components
This commit is contained in:
Matthew Hodgson 2017-06-01 21:22:00 +01:00 committed by GitHub
commit 6c56fa3381
20 changed files with 208 additions and 47 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">