mirror of https://github.com/vector-im/riot-web
Merge pull request #3675 from aaronraimist/labs-explain
Add a link to the labs feature documentationpull/21833/head
commit
5aad914c25
|
@ -49,6 +49,17 @@ export default class LabsUserSettingsTab extends React.Component {
|
||||||
return (
|
return (
|
||||||
<div className="mx_SettingsTab">
|
<div className="mx_SettingsTab">
|
||||||
<div className="mx_SettingsTab_heading">{_t("Labs")}</div>
|
<div className="mx_SettingsTab_heading">{_t("Labs")}</div>
|
||||||
|
<div className='mx_SettingsTab_subsectionText'>
|
||||||
|
{
|
||||||
|
_t('Customise your experience with experimental labs features. ' +
|
||||||
|
'<a>Learn more</a>.', {}, {
|
||||||
|
'a': (sub) => {
|
||||||
|
return <a href="https://github.com/vector-im/riot-web/blob/develop/docs/labs.md"
|
||||||
|
rel='noopener' target='_blank'>{sub}</a>;
|
||||||
|
},
|
||||||
|
})
|
||||||
|
}
|
||||||
|
</div>
|
||||||
<div className="mx_SettingsTab_section">
|
<div className="mx_SettingsTab_section">
|
||||||
{flags}
|
{flags}
|
||||||
<SettingsFlag name={"enableWidgetScreenshots"} level={SettingLevel.ACCOUNT} />
|
<SettingsFlag name={"enableWidgetScreenshots"} level={SettingLevel.ACCOUNT} />
|
||||||
|
|
|
@ -645,6 +645,7 @@
|
||||||
"Access Token:": "Access Token:",
|
"Access Token:": "Access Token:",
|
||||||
"click to reveal": "click to reveal",
|
"click to reveal": "click to reveal",
|
||||||
"Labs": "Labs",
|
"Labs": "Labs",
|
||||||
|
"Customise your experience with experimental labs features. <a>Learn more</a>.": "Customise your experience with experimental labs features. <a>Learn more</a>.",
|
||||||
"Ignored/Blocked": "Ignored/Blocked",
|
"Ignored/Blocked": "Ignored/Blocked",
|
||||||
"Error adding ignored user/server": "Error adding ignored user/server",
|
"Error adding ignored user/server": "Error adding ignored user/server",
|
||||||
"Something went wrong. Please try again or view your console for hints.": "Something went wrong. Please try again or view your console for hints.",
|
"Something went wrong. Please try again or view your console for hints.": "Something went wrong. Please try again or view your console for hints.",
|
||||||
|
|
Loading…
Reference in New Issue