2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-05 06:48:48 +00:00

fix missing trans strings (#8128)

This commit is contained in:
Matthias Mair 2024-09-15 22:42:08 +02:00 committed by GitHub
parent 7fbc1fba72
commit df8269df2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -310,11 +310,11 @@ export default function Stock() {
icon={<InvenTreeIcon icon="stock" />} icon={<InvenTreeIcon icon="stock" />}
actions={[ actions={[
{ {
name: 'Count Stock', name: t`Count Stock`,
icon: ( icon: (
<InvenTreeIcon icon="stocktake" iconProps={{ color: 'blue' }} /> <InvenTreeIcon icon="stocktake" iconProps={{ color: 'blue' }} />
), ),
tooltip: 'Count Stock', tooltip: t`Count Stock`,
onClick: () => countStockItems.open() onClick: () => countStockItems.open()
}, },
{ {

View File

@ -464,11 +464,11 @@ export function StockItemTable({
} }
}, },
{ {
name: 'Count Stock', name: t`Count Stock`,
icon: ( icon: (
<InvenTreeIcon icon="stocktake" iconProps={{ color: 'blue' }} /> <InvenTreeIcon icon="stocktake" iconProps={{ color: 'blue' }} />
), ),
tooltip: 'Count Stock', tooltip: t`Count Stock`,
disabled: !can_add_stocktake, disabled: !can_add_stocktake,
onClick: () => { onClick: () => {
countStock.open(); countStock.open();