Review comments

This commit is contained in:
Kegan Dougal 2017-06-08 14:45:59 +01:00
parent e3ac78bd28
commit f2efdf8a4f
4 changed files with 7 additions and 7 deletions

View file

@ -96,8 +96,8 @@ module.exports = React.createClass({
else {
joinText = (<span>
{_tJsx(
"Join as <a>voice</a> or <a>video</a>.",
[/<a>(.*?)<\/a>/, /<a>(.*?)<\/a>/],
"Join as <voiceText>voice</voiceText> or <videoText>video</videoText>.",
[/<voiceText>(.*?)<\/voiceText>/, /<videoText>(.*?)<\/videoText>/],
[
(sub) => <a onClick={(event)=>{ this.onConferenceNotificationClick(event, 'voice');}} href="#">{sub}</a>,
(sub) => <a onClick={(event)=>{ this.onConferenceNotificationClick(event, 'video');}} href="#">{sub}</a>,

View file

@ -138,8 +138,8 @@ module.exports = React.createClass({
</div>
<div className="mx_RoomPreviewBar_join_text">
{ _tJsx(
'Would you like to <a>accept</a> or <a>decline</a> this invitation?',
[/<a>(.*?)<\/a>/, /<a>(.*?)<\/a>/],
'Would you like to <acceptText>accept</acceptText> or <declineText>decline</declineText> this invitation?',
[/<acceptText>(.*?)<\/acceptText>/, /<declineText>(.*?)<\/declineText>/],
[
(sub) => <a onClick={ this.props.onJoinClick }>{sub}</a>,
(sub) => <a onClick={ this.props.onRejectClick }>{sub}</a>

View file

@ -754,7 +754,7 @@ module.exports = React.createClass({
if (this.state.join_rule === "public" && aliasCount == 0) {
addressWarning =
<div className="mx_RoomSettings_warning">
{ _tJsx(
{ _tJsx(
'To link to a room it must have <a>an address</a>.',
/<a>(.*?)<\/a>/,
(sub) => <a href="#addresses">{sub}</a>

View file

@ -365,7 +365,7 @@
"'%(alias)s' is not a valid format for an alias": "'%(alias)s' is not a valid format for an alias",
"%(displayName)s is typing": "%(displayName)s is typing",
"Sign in with": "Sign in with",
"Join as <a>voice</a> or <a>video</a>.": "Join as <a>voice</a> or <a>video</a>.",
"Join as <voiceText>voice</voiceText> or <videoText>video</videoText>.": "Join as <voiceText>voice</voiceText> or <videoText>video</videoText>.",
"Join Room": "Join Room",
"joined and left": "joined and left",
"joined": "joined",
@ -647,7 +647,7 @@
"Who would you like to communicate with?": "Who would you like to communicate with?",
"Searching known users": "Searching known users",
"%(senderName)s withdrew %(targetName)s's invitation.": "%(senderName)s withdrew %(targetName)s's invitation.",
"Would you like to <a>accept</a> or <a>decline</a> this invitation?": "Would you like to <a>accept</a> or <a>decline</a> this invitation?",
"Would you like to <acceptText>accept</acceptText> or <declineText>decline</declineText> this invitation?": "Would you like to <acceptText>accept</acceptText> or <declineText>decline</declineText> this invitation?",
"You already have existing direct chats with this user:": "You already have existing direct chats with this user:",
"You are already in a call.": "You are already in a call.",
"You're not in any rooms yet! Press": "You're not in any rooms yet! Press",