web/translations: handle error contexts

This commit is contained in:
wukko
2024-08-24 16:15:48 +06:00
parent 7041d61d80
commit c0284fac13
2 changed files with 3 additions and 1 deletions

View File

@ -77,7 +77,7 @@
return createDialog({
...defaultErrorPopup,
bodyText: $t(response.error.code),
bodyText: $t(response.error.code, response?.error?.context),
});
}