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

Commit ac7f692

Browse files
authored
Remove duplicate translated string (#10139)
1 parent 986b7cb commit ac7f692

File tree

7 files changed

+9
-10
lines changed

7 files changed

+9
-10
lines changed

src/SlashCommands.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ export const Commands = [
10421042
throw newTranslatableError("Session already verified!");
10431043
} else {
10441044
throw newTranslatableError(
1045-
"WARNING: Session already verified, but keys do NOT MATCH!",
1045+
"WARNING: session already verified, but keys do NOT MATCH!",
10461046
);
10471047
}
10481048
}

src/async-components/views/dialogs/security/CreateKeyBackupDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ export default class CreateKeyBackupDialog extends React.PureComponent<IProps, I
239239
<form onSubmit={this.onPassPhraseNextClick}>
240240
<p>
241241
{_t(
242-
"<b>Warning</b>: You should only set up key backup from a trusted computer.",
242+
"<b>Warning</b>: you should only set up key backup from a trusted computer.",
243243
{},
244244
{ b: (sub) => <b>{sub}</b> },
245245
)}

src/components/structures/auth/SoftLogout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ export default class SoftLogout extends React.Component<IProps, IState> {
339339
<h2>{_t("Clear personal data")}</h2>
340340
<p>
341341
{_t(
342-
"Warning: Your personal data (including encryption keys) is still stored " +
342+
"Warning: your personal data (including encryption keys) is still stored " +
343343
"in this session. Clear it if you're finished using this session, or want to sign " +
344344
"in to another account.",
345345
)}

src/components/views/dialogs/security/RestoreKeyBackupDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ export default class RestoreKeyBackupDialog extends React.PureComponent<IProps,
480480
<div>
481481
<p>
482482
{_t(
483-
"<b>Warning</b>: You should only set up key backup " + "from a trusted computer.",
483+
"<b>Warning</b>: you should only set up key backup " + "from a trusted computer.",
484484
{},
485485
{ b: (sub) => <b>{sub}</b> },
486486
)}

src/components/views/rooms/RoomUpgradeWarningBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export default class RoomUpgradeWarningBar extends React.PureComponent<IProps, I
8181
</p>
8282
<p>
8383
{_t(
84-
"<b>Warning</b>: Upgrading a room will <i>not automatically migrate room members " +
84+
"<b>Warning</b>: upgrading a room will <i>not automatically migrate room members " +
8585
"to the new version of the room.</i> We'll post a link to the new room in the old " +
8686
"version of the room - room members will have to click this link to join the new room.",
8787
{},

src/components/views/settings/tabs/room/AdvancedRoomSettingsTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export default class AdvancedRoomSettingsTab extends React.Component<IProps, ISt
113113
<div>
114114
<p className="mx_SettingsTab_warningText">
115115
{_t(
116-
"<b>Warning</b>: Upgrading a room will <i>not automatically migrate room members " +
116+
"<b>Warning</b>: upgrading a room will <i>not automatically migrate room members " +
117117
"to the new version of the room.</i> We'll post a link to the new room in the old " +
118118
"version of the room - room members will have to click this link to join the new room.",
119119
{},

src/i18n/strings/en_EN.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@
458458
"Verifies a user, session, and pubkey tuple": "Verifies a user, session, and pubkey tuple",
459459
"Unknown (user, session) pair: (%(userId)s, %(deviceId)s)": "Unknown (user, session) pair: (%(userId)s, %(deviceId)s)",
460460
"Session already verified!": "Session already verified!",
461-
"WARNING: Session already verified, but keys do NOT MATCH!": "WARNING: Session already verified, but keys do NOT MATCH!",
461+
"WARNING: session already verified, but keys do NOT MATCH!": "WARNING: session already verified, but keys do NOT MATCH!",
462462
"WARNING: KEY VERIFICATION FAILED! The signing key for %(userId)s and session %(deviceId)s is \"%(fprint)s\" which does not match the provided key \"%(fingerprint)s\". This could mean your communications are being intercepted!": "WARNING: KEY VERIFICATION FAILED! The signing key for %(userId)s and session %(deviceId)s is \"%(fprint)s\" which does not match the provided key \"%(fingerprint)s\". This could mean your communications are being intercepted!",
463463
"Verified key": "Verified key",
464464
"The signing key you provided matches the signing key you received from %(userId)s's session %(deviceId)s. Session marked as verified.": "The signing key you provided matches the signing key you received from %(userId)s's session %(deviceId)s. Session marked as verified.",
@@ -1669,7 +1669,7 @@
16691669
"Voice processing": "Voice processing",
16701670
"Connection": "Connection",
16711671
"This room is not accessible by remote Matrix servers": "This room is not accessible by remote Matrix servers",
1672-
"<b>Warning</b>: Upgrading a room will <i>not automatically migrate room members to the new version of the room.</i> We'll post a link to the new room in the old version of the room - room members will have to click this link to join the new room.": "<b>Warning</b>: Upgrading a room will <i>not automatically migrate room members to the new version of the room.</i> We'll post a link to the new room in the old version of the room - room members will have to click this link to join the new room.",
1672+
"<b>Warning</b>: upgrading a room will <i>not automatically migrate room members to the new version of the room.</i> We'll post a link to the new room in the old version of the room - room members will have to click this link to join the new room.": "<b>Warning</b>: upgrading a room will <i>not automatically migrate room members to the new version of the room.</i> We'll post a link to the new room in the old version of the room - room members will have to click this link to join the new room.",
16731673
"Upgrade this space to the recommended room version": "Upgrade this space to the recommended room version",
16741674
"Upgrade this room to the recommended room version": "Upgrade this room to the recommended room version",
16751675
"View older version of %(spaceName)s.": "View older version of %(spaceName)s.",
@@ -3141,7 +3141,6 @@
31413141
"Enter Security Key": "Enter Security Key",
31423142
"This looks like a valid Security Key!": "This looks like a valid Security Key!",
31433143
"Not a valid Security Key": "Not a valid Security Key",
3144-
"<b>Warning</b>: You should only set up key backup from a trusted computer.": "<b>Warning</b>: You should only set up key backup from a trusted computer.",
31453144
"Access your secure message history and set up secure messaging by entering your Security Key.": "Access your secure message history and set up secure messaging by entering your Security Key.",
31463145
"If you've forgotten your Security Key you can <button>set up new recovery options</button>": "If you've forgotten your Security Key you can <button>set up new recovery options</button>",
31473146
"There are no active polls in this room": "There are no active polls in this room",
@@ -3571,7 +3570,7 @@
35713570
"You cannot sign in to your account. Please contact your homeserver admin for more information.": "You cannot sign in to your account. Please contact your homeserver admin for more information.",
35723571
"You're signed out": "You're signed out",
35733572
"Clear personal data": "Clear personal data",
3574-
"Warning: Your personal data (including encryption keys) is still stored in this session. Clear it if you're finished using this session, or want to sign in to another account.": "Warning: Your personal data (including encryption keys) is still stored in this session. Clear it if you're finished using this session, or want to sign in to another account.",
3573+
"Warning: your personal data (including encryption keys) is still stored in this session. Clear it if you're finished using this session, or want to sign in to another account.": "Warning: your personal data (including encryption keys) is still stored in this session. Clear it if you're finished using this session, or want to sign in to another account.",
35753574
"Follow the instructions sent to <b>%(email)s</b>": "Follow the instructions sent to <b>%(email)s</b>",
35763575
"Wrong email address?": "Wrong email address?",
35773576
"Re-enter email address": "Re-enter email address",

0 commit comments

Comments
 (0)