Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UX issues: Change buttons I lost my recovery code I want a new one #509

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ index cf7506c..dca86c3 100644
}

diff --git a/node_modules/matrix-react-sdk/src/components/views/settings/SecureBackupPanel.tsx b/node_modules/matrix-react-sdk/src/components/views/settings/SecureBackupPanel.tsx
index 7ab2273..9106928 100644
index 7ab2273..9bc08c5 100644
--- a/node_modules/matrix-react-sdk/src/components/views/settings/SecureBackupPanel.tsx
+++ b/node_modules/matrix-react-sdk/src/components/views/settings/SecureBackupPanel.tsx
@@ -31,6 +31,7 @@ import AccessibleButton from "../elements/AccessibleButton";
Expand Down Expand Up @@ -192,7 +192,7 @@ index 7ab2273..9106928 100644
<AccessibleButton key="reset" kind="danger" onClick={this.resetSecretStorage}>
- {_t("Reset")}
+ {/* :TCHAP: change {_t("Reset")} into */}
+ {_t("Lost code?")}
+ {_t("Generate a new code")}
+ {/* end :TCHAP */}
</AccessibleButton>,
);
Expand Down
4 changes: 4 additions & 0 deletions src/i18n/strings/tchap_translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -806,5 +806,9 @@
"Tchap keys:": {
"fr": "Clés Tchap :",
"en": "Tchap keys:"
},
"Generate a new code": {
"fr": "Générer un nouveau code",
"en": "Generate a new code"
}
}