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
@@ -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 } });
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user