fix(i18n): correct svelte-i18n interpolation format
svelte-i18n requires { values: { key: value } } format for variable
interpolation, not { key: value } directly. Fixed across all toast
and greeting calls.
This commit is contained in:
1 parent
764e55d1e8
commit
55d383c431
5 files changed
+25
-25
No files matched your search
@@ -1681,7 +1681,7 @@
|
||||
notifyDownloadSettingsChanged();
|
||||
} catch (err) {
|
||||
console.error('Failed to repair downloads:', err);
|
||||
showToast($t('toast.failedRepairOffline', { error: String(err) }), 'error');
|
||||
showToast($t('toast.failedRepairOffline', { values: { error: String(err) } }), 'error');
|
||||
} finally {
|
||||
isRepairingDownloads = false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user