mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
Add useful placeholder for the long description textarea
This commit is contained in:
parent
36cd22663a
commit
137f1311b3
@ -867,6 +867,16 @@ export default React.createClass({
|
||||
<h3> { _t("Long Description (HTML)") } </h3>
|
||||
<textarea
|
||||
value={this.state.profileForm.long_description}
|
||||
placeholder={_t(
|
||||
'<h1>HTML for your community\'s page</h1>\n' +
|
||||
'<p>\n' +
|
||||
' Use the Long Description to introduce ' +
|
||||
'new members to the community, or distribute ' +
|
||||
'some important <a href="https://about.riot.im">links</a>.\n' +
|
||||
'</p> \n' +
|
||||
'<p> \n' +
|
||||
' You can even use "img" tags, but only for images reachable from MXC URLs.\n' +
|
||||
'</p>\n')}
|
||||
onChange={this._onLongDescChange}
|
||||
tabIndex="4"
|
||||
key="editLongDesc"
|
||||
|
@ -703,6 +703,7 @@
|
||||
"Community Member Settings": "Community Member Settings",
|
||||
"Publish this community on your profile": "Publish this community on your profile",
|
||||
"Long Description (HTML)": "Long Description (HTML)",
|
||||
"<h1>HTML for your community's page</h1>\n<p>\n Use the Long Description to introduce new members to the community, or distribute some important <a href=\"https://about.riot.im\">links</a>.\n</p> \n<p> \n You can even use \"img\" tags, but only for images reachable from MXC URLs.\n</p>\n": "<h1>HTML for your community's page</h1>\n<p>\n Use the Long Description to introduce new members to the community, or distribute some important <a href=\"https://about.riot.im\">links</a>.\n</p> \n<p> \n You can even use \"img\" tags, but only for images reachable from MXC URLs.\n</p>\n",
|
||||
"Description": "Description",
|
||||
"Community %(groupId)s not found": "Community %(groupId)s not found",
|
||||
"This Home server does not support communities": "This Home server does not support communities",
|
||||
|
Loading…
Reference in New Issue
Block a user