diff --git a/public/app.js b/public/app.js index 9b055cd..84a674d 100644 --- a/public/app.js +++ b/public/app.js @@ -165,11 +165,9 @@ document.addEventListener('alpine:init', () => { clearInterval(pollInterval); Alpine.store('global').oauthProgress.active = false; - const actionKey = reAuthEmail ? 'reauthenticated' : 'added'; - const action = Alpine.store('global').t(actionKey); - const successfully = Alpine.store('global').t('successfully'); + const actionKey = reAuthEmail ? 'accountReauthSuccess' : 'accountAddedSuccess'; Alpine.store('global').showToast( - `${Alpine.store('global').t('accounts')} ${action} ${successfully}`, + Alpine.store('global').t(actionKey), 'success' ); document.getElementById('add_account_modal')?.close(); diff --git a/public/index.html b/public/index.html index 06b750a..12d8de7 100644 --- a/public/index.html +++ b/public/index.html @@ -257,7 +257,7 @@