i18n: localize toasts

This commit is contained in:
Xylight committed 2024-06-04 13:02:05 -07:00
1 parent b57baa3769
commit e89d2aaddb
35 files changed
+169 -177

No files matched your search

+2 -2
View File
@@ -19,7 +19,7 @@
async function addGuest() {
form.loading = true
if (!(await validateInstance(form.instance))) {
toast({ content: 'Failed to contact that instance URL.', type: 'error' })
toast({ content: $t('toast.failInstanceURL'), type: 'error' })
form.loading = false
return
}
@@ -44,7 +44,7 @@
}
})
toast({ content: 'Added that account.', type: 'success' })
toast({ content: $t('toast.addAccount'), type: 'success' })
goto('/')