fix translatable string (#7999)

* fix translatable string

* do not translate key
This commit is contained in:
Matthias Mair 2024-08-27 01:03:12 +02:00 committed by GitHub
parent 7b750dd04f
commit bcbbae0a18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ export const InvenTreeQRCode = ({
return (
<Stack>
{mdl_prop.hash ? (
<Alert variant="outline" color="red" title={t`Custom bascode`}>
<Alert variant="outline" color="red" title={t`Custom barcode`}>
<Trans>
A custom barcode is registered for this item. The shown code is not
that custom barcode.

View File

@ -32,7 +32,7 @@ export function TableHoverCard({
return (
<Stack gap="xs">
{extra.map((item, idx) => (
<div key={t`item-${idx}`}>{item}</div>
<div key={`item-${idx}`}>{item}</div>
))}
</Stack>
);