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

@@ -22,7 +22,7 @@
loading = true
try {
if (!(await validateInstance(instance)))
throw new Error('Failed to contact instance url')
throw new Error($t('toast.failInstanceURL'))
await getClient(instance).passwordChangeAfterReset({
password: password,
@@ -31,7 +31,7 @@
})
toast({
content: 'Your password was reset.',
content: $t('toast.passwordReset'),
type: 'success',
})