fixup: more i18n
This commit is contained in:
parent
a4f448d4ca
commit
ccf6c9efdc
3 changed files with 21 additions and 7 deletions
|
@ -30,10 +30,14 @@ limitations under the License.
|
||||||
right: 14px;
|
right: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_VerificationPanel_verified_section .mx_E2EIcon {
|
.mx_VerificationPanel_verified_section,
|
||||||
|
.mx_VerificationPanel_reciprocate_section {
|
||||||
|
.mx_E2EIcon {
|
||||||
// Override general user info margin
|
// Override general user info margin
|
||||||
margin: 0 auto !important;
|
margin: 20px auto !important;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.mx_VerificationPanel_qrCode {
|
.mx_VerificationPanel_qrCode {
|
||||||
padding: 4px 4px 0 4px;
|
padding: 4px 4px 0 4px;
|
||||||
|
@ -51,6 +55,16 @@ limitations under the License.
|
||||||
max-width: 240px;
|
max-width: 240px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mx_VerificationPanel_reciprocate_section {
|
||||||
|
.mx_FormButton {
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 10px;
|
||||||
|
display: block;
|
||||||
|
margin: 10px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Special case styling for EncryptionPanel in a Modal dialog
|
// Special case styling for EncryptionPanel in a Modal dialog
|
||||||
|
|
|
@ -156,13 +156,13 @@ export default class VerificationPanel extends React.PureComponent {
|
||||||
displayName: member.displayName || member.name || member.userId,
|
displayName: member.displayName || member.name || member.userId,
|
||||||
})}</p>
|
})}</p>
|
||||||
<E2EIcon isUser={true} status="verified" size={128} hideTooltip={true} />
|
<E2EIcon isUser={true} status="verified" size={128} hideTooltip={true} />
|
||||||
<p><FormButton label={_t("No")} kind="danger" onClick={this.state.reciprocateQREvent.cancel} /></p>
|
<FormButton label={_t("No")} kind="danger" onClick={this.state.reciprocateQREvent.cancel} />
|
||||||
<p><FormButton label={_t("Yes")} onClick={this.state.reciprocateQREvent.confirm} /></p>
|
<FormButton label={_t("Yes")} onClick={this.state.reciprocateQREvent.confirm} />
|
||||||
</React.Fragment>;
|
</React.Fragment>;
|
||||||
} else {
|
} else {
|
||||||
body = <p><Spinner/></p>;
|
body = <p><Spinner/></p>;
|
||||||
}
|
}
|
||||||
return <div className="mx_UserInfo_container mx_VerificationPanel_verified_section">
|
return <div className="mx_UserInfo_container mx_VerificationPanel_reciprocate_section">
|
||||||
<h3>{_t("Verify by scanning")}</h3>
|
<h3>{_t("Verify by scanning")}</h3>
|
||||||
{ body }
|
{ body }
|
||||||
</div>;
|
</div>;
|
||||||
|
|
|
@ -1252,7 +1252,7 @@
|
||||||
"If you can't scan the code above, verify by comparing unique emoji.": "If you can't scan the code above, verify by comparing unique emoji.",
|
"If you can't scan the code above, verify by comparing unique emoji.": "If you can't scan the code above, verify by comparing unique emoji.",
|
||||||
"Verify by comparing unique emoji.": "Verify by comparing unique emoji.",
|
"Verify by comparing unique emoji.": "Verify by comparing unique emoji.",
|
||||||
"Verify by emoji": "Verify by emoji",
|
"Verify by emoji": "Verify by emoji",
|
||||||
"Almost there! Is %(displayName)s show the same shield?": "Almost there! Is %(displayName)s show the same shield?",
|
"Almost there! Is %(displayName)s showing the same shield?": "Almost there! Is %(displayName)s showing the same shield?",
|
||||||
"No": "No",
|
"No": "No",
|
||||||
"Yes": "Yes",
|
"Yes": "Yes",
|
||||||
"Verify all users in a room to ensure it's secure.": "Verify all users in a room to ensure it's secure.",
|
"Verify all users in a room to ensure it's secure.": "Verify all users in a room to ensure it's secure.",
|
||||||
|
|
Loading…
Reference in a new issue