Skip to content

Commit

Permalink
chore(core): rename "seed" to "backup"
Browse files Browse the repository at this point in the history
  • Loading branch information
ibz committed Apr 30, 2024
1 parent c54ccdb commit 14ef89c
Show file tree
Hide file tree
Showing 15 changed files with 118 additions and 118 deletions.
8 changes: 4 additions & 4 deletions core/embed/rust/librust_qstr.h
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ static void _librust_qstrs(void) {
MP_QSTR_recovery__enter_share_from_diff_group;
MP_QSTR_recovery__group_num_template;
MP_QSTR_recovery__group_threshold_reached;
MP_QSTR_recovery__invalid_seed_entered;
MP_QSTR_recovery__invalid_share_entered;
MP_QSTR_recovery__invalid_wallet_backup_entered;
MP_QSTR_recovery__more_shares_needed;
MP_QSTR_recovery__num_of_words;
MP_QSTR_recovery__only_first_n_letters;
Expand Down Expand Up @@ -393,14 +393,14 @@ static void _librust_qstrs(void) {
MP_QSTR_reset__by_continuing;
MP_QSTR_reset__check_backup_title;
MP_QSTR_reset__check_group_share_title_template;
MP_QSTR_reset__check_seed_title;
MP_QSTR_reset__check_share_title_template;
MP_QSTR_reset__check_wallet_backup_title;
MP_QSTR_reset__continue_with_next_share;
MP_QSTR_reset__continue_with_share_template;
MP_QSTR_reset__create_x_of_y_shamir_backup_template;
MP_QSTR_reset__finished_verifying_group_template;
MP_QSTR_reset__finished_verifying_seed;
MP_QSTR_reset__finished_verifying_shares;
MP_QSTR_reset__finished_verifying_wallet_backup;
MP_QSTR_reset__group_description;
MP_QSTR_reset__group_info;
MP_QSTR_reset__group_share_checked_successfully_template;
Expand All @@ -418,8 +418,8 @@ static void _librust_qstrs(void) {
MP_QSTR_reset__number_of_shares_info;
MP_QSTR_reset__one_share;
MP_QSTR_reset__only_one_share_will_be_created;
MP_QSTR_reset__recovery_seed_title;
MP_QSTR_reset__recovery_share_title_template;
MP_QSTR_reset__recovery_wallet_backup_title;
MP_QSTR_reset__required_number_of_groups;
MP_QSTR_reset__select_correct_word;
MP_QSTR_reset__select_word_template;
Expand Down
36 changes: 18 additions & 18 deletions core/embed/rust/src/translations/generated/translated_string.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions core/mocks/trezortranslate_keys.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,8 @@ class TR:
recovery__cancel_dry_run: str = "Cancel backup check"
recovery__check_dry_run: str = "Check your backup?"
recovery__cursor_will_change: str = "Position of the cursor will change between entries for enhanced security."
recovery__dry_run_bip39_valid_match: str = "The entered recovery seed is valid and matches the one in the device."
recovery__dry_run_bip39_valid_mismatch: str = "The entered recovery seed is valid but does not match the one in the device."
recovery__dry_run_bip39_valid_match: str = "The entered recovery wallet backup is valid and matches the one in the device."
recovery__dry_run_bip39_valid_mismatch: str = "The entered wallet backup is valid but does not match the one in the device."
recovery__dry_run_slip39_valid_match: str = "The entered recovery shares are valid and match what is currently in the device."
recovery__dry_run_slip39_valid_mismatch: str = "The entered recovery shares are valid but do not match what is currently in the device."
recovery__enter_any_share: str = "Enter any share"
Expand All @@ -519,8 +519,8 @@ class TR:
recovery__enter_share_from_diff_group: str = "Enter share from a different group."
recovery__group_num_template: str = "Group {0}"
recovery__group_threshold_reached: str = "Group threshold reached."
recovery__invalid_seed_entered: str = "Invalid recovery seed entered."
recovery__invalid_share_entered: str = "Invalid recovery share entered."
recovery__invalid_wallet_backup_entered: str = "Invalid wallet backup entered."
recovery__more_shares_needed: str = "More shares needed"
recovery__num_of_words: str = "Select the number of words in your backup."
recovery__only_first_n_letters: str = "You'll only have to select the first 2-4 letters of each word."
Expand Down Expand Up @@ -553,14 +553,14 @@ class TR:
reset__by_continuing: str = "By continuing you agree to Trezor Company's terms and conditions."
reset__check_backup_title: str = "CHECK BACKUP"
reset__check_group_share_title_template: str = "CHECK G{0} - SHARE {1}"
reset__check_seed_title: str = "CHECK SEED"
reset__check_share_title_template: str = "CHECK SHARE #{0}"
reset__check_wallet_backup_title: str = "CHECK WALLET BACKUP"
reset__continue_with_next_share: str = "Continue with the next share."
reset__continue_with_share_template: str = "Continue with share #{0}."
reset__create_x_of_y_shamir_backup_template: str = "Do you want to create a {0} of {1} Shamir backup?"
reset__finished_verifying_group_template: str = "You have finished verifying your recovery shares for group {0}."
reset__finished_verifying_seed: str = "You have finished verifying your recovery seed."
reset__finished_verifying_shares: str = "You have finished verifying your recovery shares."
reset__finished_verifying_wallet_backup: str = "You have finished verifying your wallet backup."
reset__group_description: str = "A group is made up of recovery shares."
reset__group_info: str = "Each group has a set number of shares and its own threshold. In the next steps you will set the numbers of shares and the thresholds."
reset__group_share_checked_successfully_template: str = "Group {0} - Share {1} checked successfully."
Expand All @@ -570,16 +570,16 @@ class TR:
reset__need_any_share_template: str = "For recovery you need any {0} of the shares."
reset__needed_to_form_a_group: str = "needed to form a group. "
reset__needed_to_recover_your_wallet: str = "needed to recover your wallet. "
reset__never_make_digital_copy: str = "Never make a digital copy of your backup or upload it online!"
reset__never_make_digital_copy: str = "Never put your backup anywhere digital."
reset__num_of_share_holders_template: str = "{0} people or locations will each hold one share."
reset__num_of_shares_advanced_info_template: str = "Each recovery share is a sequence of 20 words. Next you will choose the threshold number of shares needed to form Group {0}."
reset__num_of_shares_basic_info: str = "Each recovery share is a sequence of 20 words. Next you will choose how many shares you need to recover your wallet."
reset__num_shares_for_group_template: str = "The required number of shares to form Group {0}."
reset__number_of_shares_info: str = "= total number of unique word lists used for wallet backup."
reset__one_share: str = "1 share"
reset__only_one_share_will_be_created: str = "Only one share will be created."
reset__recovery_seed_title: str = "RECOVERY SEED"
reset__recovery_share_title_template: str = "RECOVERY SHARE #{0}"
reset__recovery_wallet_backup_title: str = "WALLET BACKUP"
reset__required_number_of_groups: str = "The required number of groups for recovery."
reset__select_correct_word: str = "Select the correct word for each position."
reset__select_word_template: str = "SELECT {0} WORD"
Expand Down
2 changes: 1 addition & 1 deletion core/src/apps/management/recovery_device/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ async def show_invalid_mnemonic(word_count: int) -> None:
else:
await show_recovery_warning(
"warning_invalid_seed",
TR.recovery__invalid_seed_entered,
TR.recovery__invalid_wallet_backup_entered,
TR.words__please_try_again,
)

Expand Down
Loading

0 comments on commit 14ef89c

Please sign in to comment.