Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Commit 3f67819

Browse files
authored
Merge pull request #41 from element-hq/t3chguy/wat/230.1
2 parents ad94c39 + e6404da commit 3f67819

File tree

48 files changed

+121
-107
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+121
-107
lines changed

res/css/views/auth/_AuthBody.pcss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Please see LICENSE files in the repository root for full details.
1616
padding: 25px 60px;
1717
box-sizing: border-box;
1818

19-
b {
19+
strong {
2020
font-weight: var(--cpd-font-weight-semibold);
2121
}
2222

src/IdentityAuthClient.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export default class IdentityAuthClient {
141141
"terms|identity_server_no_terms_description_1",
142142
{},
143143
{
144-
server: () => <b>{abbreviateUrl(identityServerUrl)}</b>,
144+
server: () => <strong>{abbreviateUrl(identityServerUrl)}</strong>,
145145
},
146146
)}
147147
</p>

src/RoomInvite.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export function showAnyInviteErrors(
145145
"invite|room_failed_partial",
146146
{},
147147
{
148-
RoomName: () => <b>{room.name}</b>,
148+
RoomName: () => <strong>{room.name}</strong>,
149149
},
150150
)}
151151
</h4>

src/components/structures/auth/forgot-password/CheckEmail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const CheckEmail: React.FC<CheckEmailProps> = ({
4646
<EMailPromptIcon className="mx_AuthBody_emailPromptIcon--shifted" />
4747
<h1>{_t("auth|uia|email_auth_header")}</h1>
4848
<div className="mx_AuthBody_text">
49-
<p>{_t("auth|check_email_explainer", { email: email }, { b: (t) => <b>{t}</b> })}</p>
49+
<p>{_t("auth|check_email_explainer", { email: email }, { b: (t) => <strong>{t}</strong> })}</p>
5050
<div className="mx_AuthBody_did-not-receive">
5151
<span className="mx_VerifyEMailDialog_text-light">{_t("auth|check_email_wrong_email_prompt")}</span>
5252
<AccessibleButton className="mx_AuthBody_resend-button" kind="link" onClick={onReEnterEmailClick}>

src/components/structures/auth/forgot-password/EnterEmail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const EnterEmail: React.FC<EnterEmailProps> = ({
5757
<EmailIcon className="mx_AuthBody_icon" />
5858
<h1>{_t("auth|enter_email_heading")}</h1>
5959
<p className="mx_AuthBody_text">
60-
{_t("auth|enter_email_explainer", { homeserver }, { b: (t) => <b>{t}</b> })}
60+
{_t("auth|enter_email_explainer", { homeserver }, { b: (t) => <strong>{t}</strong> })}
6161
</p>
6262
<form onSubmit={onSubmit}>
6363
<fieldset disabled={loading}>

src/components/structures/auth/forgot-password/VerifyEmailModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const VerifyEmailModal: React.FC<Props> = ({
5050
email,
5151
},
5252
{
53-
b: (sub) => <b>{sub}</b>,
53+
b: (sub) => <strong>{sub}</strong>,
5454
},
5555
)}
5656
</p>

src/components/views/auth/InteractiveAuthEntryComponents.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ export class EmailIdentityAuthEntry extends React.Component<
468468
/>
469469
<p>
470470
{_t("auth|uia|email", {
471-
emailAddress: <b>{this.props.inputs.emailAddress}</b>,
471+
emailAddress: <strong>{this.props.inputs.emailAddress}</strong>,
472472
})}
473473
</p>
474474
{this.state.requesting ? (

src/components/views/auth/LoginWithQRFlow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ export default class LoginWithQRFlow extends React.Component<XOR<Props, MSC3906P
293293
</li>
294294
<li>
295295
{_t("auth|qr_code_login|select_qr_code", {
296-
scanQRCode: <b>{_t("auth|qr_code_login|scan_qr_code")}</b>,
296+
scanQRCode: <strong>{_t("auth|qr_code_login|scan_qr_code")}</strong>,
297297
})}
298298
</li>
299299
<li>{_t("auth|qr_code_login|point_the_camera")}</li>

src/components/views/dialogs/AnalyticsLearnMoreDialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ export const AnalyticsLearnMoreDialog: React.FC<IProps> = ({
7272
{_t("analytics|pseudonymous_usage_data", { analyticsOwner })}
7373
</div>
7474
<ul className="mx_AnalyticsLearnMore_bullets">
75-
<li>{_t("analytics|bullet_1", {}, { Bold: (sub) => <b>{sub}</b> })}</li>
76-
<li>{_t("analytics|bullet_2", {}, { Bold: (sub) => <b>{sub}</b> })}</li>
75+
<li>{_t("analytics|bullet_1", {}, { Bold: (sub) => <strong>{sub}</strong> })}</li>
76+
<li>{_t("analytics|bullet_2", {}, { Bold: (sub) => <strong>{sub}</strong> })}</li>
7777
<li>{_t("analytics|disable_prompt")}</li>
7878
</ul>
7979
{privacyPolicyLink}

src/components/views/dialogs/BugReportDialog.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export default class BugReportDialog extends React.Component<IProps, IState> {
205205
) {
206206
warning = (
207207
<p>
208-
<b>{_t("bug_reporting|unsupported_browser")}</b>
208+
<strong>{_t("bug_reporting|unsupported_browser")}</strong>
209209
</p>
210210
);
211211
}
@@ -221,7 +221,7 @@ export default class BugReportDialog extends React.Component<IProps, IState> {
221221
{warning}
222222
<p>{_t("bug_reporting|description")}</p>
223223
<p>
224-
<b>
224+
<strong>
225225
{_t(
226226
"bug_reporting|before_submitting",
227227
{},
@@ -237,7 +237,7 @@ export default class BugReportDialog extends React.Component<IProps, IState> {
237237
),
238238
},
239239
)}
240-
</b>
240+
</strong>
241241
</p>
242242

243243
<div className="mx_BugReportDialog_download">

0 commit comments

Comments
 (0)