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:
vicrodh committed 2026-02-02 16:24:52 -06:00
1 parent 764e55d1e8
commit 55d383c431
5 files changed
+25 -25

No files matched your search

+1 -1
View File
@@ -133,7 +133,7 @@
if (info.type === 'custom') {
return info.text;
}
return $t(info.key, { name: info.name });
return $t(info.key, { values: { name: info.name } });
});