Skip to content

Commit 24658f2

Browse files
ovitrifclaude
andcommitted
feat: localize migration restart toast
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 26f0f75 commit 24658f2

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

app/src/main/java/to/bitkit/viewmodels/AppViewModel.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,8 @@ class AppViewModel @Inject constructor(
448448
delay(MIGRATION_AUTH_RESET_DELAY_MS)
449449
resetIsAuthenticatedStateInternal()
450450
toaster.error(
451-
title = ToastText("Migration Warning"),
452-
body = ToastText("Migration completed but node restart failed. Please restart the app.")
451+
title = ToastText(R.string.wallet__migration_restart_failed_title),
452+
body = ToastText(R.string.wallet__migration_restart_failed_body),
453453
)
454454
}
455455

app/src/main/res/values/strings.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,6 +1115,8 @@
11151115
<string name="wallet__max_possible_fee_rate_msg">Lower the custom fee and try again.</string>
11161116
<string name="wallet__migration_error_body">Please restore your wallet manually using your recovery phrase</string>
11171117
<string name="wallet__migration_error_title">Migration Failed</string>
1118+
<string name="wallet__migration_restart_failed_body">Migration completed but node restart failed. Please restart the app.</string>
1119+
<string name="wallet__migration_restart_failed_title">Migration Warning</string>
11181120
<string name="wallet__min_possible_fee_rate">Fee Below Minimum Limit</string>
11191121
<string name="wallet__min_possible_fee_rate_msg">Increase the custom fee and try again.</string>
11201122
<string name="wallet__minimum">MINIMUM</string>

0 commit comments

Comments
 (0)