mirror of
https://code.gri.mw/GUI/grim.git
synced 2026-07-18 20:59:23 +00:00
i18n: move confirmation word
This commit is contained in:
@@ -201,7 +201,7 @@ impl Content {
|
||||
/// Show exit confirmation [`Modal`].
|
||||
pub fn show_exit_modal() {
|
||||
Modal::new(Self::EXIT_CONFIRMATION_MODAL)
|
||||
.title(t!("modal.confirmation"))
|
||||
.title(t!("confirmation"))
|
||||
.show();
|
||||
}
|
||||
|
||||
|
||||
@@ -212,7 +212,7 @@ fn reset_settings_ui(ui: &mut egui::Ui) {
|
||||
// Show modal to confirm settings reset.
|
||||
Modal::new(RESET_SETTINGS_MODAL)
|
||||
.position(ModalPosition::Center)
|
||||
.title(t!("modal.confirmation"))
|
||||
.title(t!("confirmation"))
|
||||
.show();
|
||||
});
|
||||
|
||||
|
||||
@@ -127,7 +127,7 @@ impl RecoverySettings {
|
||||
View::colored_text_button(ui, delete_text, Colors::red(), Colors::button(), || {
|
||||
Modal::new(DELETE_CONFIRMATION_MODAL)
|
||||
.position(ModalPosition::Center)
|
||||
.title(t!("modal.confirmation"))
|
||||
.title(t!("confirmation"))
|
||||
.show();
|
||||
});
|
||||
ui.add_space(8.0);
|
||||
|
||||
@@ -223,7 +223,7 @@ impl WalletTransactions {
|
||||
// Show transaction cancellation confirmation modal.
|
||||
Modal::new(CANCEL_TX_CONFIRMATION_MODAL)
|
||||
.position(ModalPosition::Center)
|
||||
.title(t!("modal.confirmation"))
|
||||
.title(t!("confirmation"))
|
||||
.show();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user