fixup: more i18n

This commit is contained in:
Bruno Windels 2020-04-02 12:54:14 +02:00
parent a4f448d4ca
commit ccf6c9efdc
3 changed files with 21 additions and 7 deletions

View file

@ -30,11 +30,15 @@ limitations under the License.
right: 14px;
}
.mx_VerificationPanel_verified_section .mx_E2EIcon {
// Override general user info margin
margin: 0 auto !important;
.mx_VerificationPanel_verified_section,
.mx_VerificationPanel_reciprocate_section {
.mx_E2EIcon {
// Override general user info margin
margin: 20px auto !important;
}
}
.mx_VerificationPanel_qrCode {
padding: 4px 4px 0 4px;
background: white;
@ -51,6 +55,16 @@ limitations under the License.
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

View file

@ -156,13 +156,13 @@ export default class VerificationPanel extends React.PureComponent {
displayName: member.displayName || member.name || member.userId,
})}</p>
<E2EIcon isUser={true} status="verified" size={128} hideTooltip={true} />
<p><FormButton label={_t("No")} kind="danger" onClick={this.state.reciprocateQREvent.cancel} /></p>
<p><FormButton label={_t("Yes")} onClick={this.state.reciprocateQREvent.confirm} /></p>
<FormButton label={_t("No")} kind="danger" onClick={this.state.reciprocateQREvent.cancel} />
<FormButton label={_t("Yes")} onClick={this.state.reciprocateQREvent.confirm} />
</React.Fragment>;
} else {
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>
{ body }
</div>;

View file

@ -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.",
"Verify by comparing unique emoji.": "Verify by comparing unique 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",
"Yes": "Yes",
"Verify all users in a room to ensure it's secure.": "Verify all users in a room to ensure it's secure.",