mirror of
https://github.com/anna-sara/filament_inventory
synced 2025-10-27 00:07:13 +01:00
Updated word
This commit is contained in:
parent
c662cce149
commit
8c72ad9993
2 changed files with 4 additions and 3 deletions
|
|
@ -154,7 +154,7 @@ class ItemResource extends Resource
|
|||
'loading' => 'lazy'
|
||||
]),
|
||||
IconColumn::make('can_be_loaned')
|
||||
->label('Can be loaned')
|
||||
->label('Loanable')
|
||||
->translateLabel()
|
||||
->sortable()
|
||||
->trueIcon('heroicon-o-check-badge')
|
||||
|
|
@ -163,6 +163,7 @@ class ItemResource extends Resource
|
|||
->falseColor('danger'),
|
||||
IconColumn::make('reserved')
|
||||
->label('Available')
|
||||
->sortable()
|
||||
->translateLabel()
|
||||
->falseIcon('heroicon-o-check-badge')
|
||||
->trueIcon('heroicon-o-x-mark')
|
||||
|
|
@ -192,7 +193,7 @@ class ItemResource extends Resource
|
|||
->columnSpanFull()
|
||||
->toggle(),
|
||||
Filter::make('can_be_loaned')
|
||||
->label('Can be loaned')
|
||||
->label('Loanable')
|
||||
->translateLabel()
|
||||
->query(fn (Builder $query): Builder => $query->where('can_be_loaned', true))
|
||||
->columnSpanFull()
|
||||
|
|
|
|||
2
lang/vendor/filament-panels/sv.json
vendored
2
lang/vendor/filament-panels/sv.json
vendored
|
|
@ -15,7 +15,7 @@
|
|||
"Age": "Ålder",
|
||||
"Players": "Spelare",
|
||||
"Play time": "Speltid",
|
||||
"Can be loaned": "Kan bli utlånad",
|
||||
"Loanable": "Utlåningsbar",
|
||||
"Available": "Tillgänglig",
|
||||
"More info": "Mer info",
|
||||
"Reserve": "Reservera",
|
||||
|
|
|
|||
Loading…
Reference in a new issue