Skip to content

Commit

Permalink
Merge pull request #3 from gergo85/2.x
Browse files Browse the repository at this point in the history
Create Hungarian language
  • Loading branch information
cklei-carly authored Sep 11, 2023
2 parents 9e2610c + 3e0919e commit 6832059
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/lang/en/filament-firewall.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
'table.column.prefix_size' => 'Prefix',
'table.column.blocked' => 'Blocked?',
'table.column.is_allow' => 'Allow / Deny',
'table.column.created_at' => 'Created at',
'table.column.updated_at' => 'Updated at',

'form.field.ip' => 'IP',
'form.field.prefix_size' => 'Prefix',
Expand Down
29 changes: 29 additions & 0 deletions resources/lang/hu/filament-firewall.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

return [
'filament.resource.ip.navigationLabel' => 'IP tűzfal',
'filament.resource.ip.getNavigationGroup' => 'Rendszer',
'filament.resource.ip.label' => 'IP cím',
'filament.resource.ip.modalLabel' => 'IP cím',
'filament.resource.ip.pluralLabel' => 'IP cím',
'filament.resource.ip.pluralModelLabel' => 'IP tűzfal',

'table.column.ip' => 'IP cím',
'table.column.prefix_size' => 'Előtag',
'table.column.blocked' => 'Blokkolva?',
'table.column.is_allow' => 'Művelet',
'table.column.created_at' => 'Létrehozva',
'table.column.updated_at' => 'Módosítva',

'form.field.ip' => 'IP cím',
'form.field.prefix_size' => 'Előtag',
'form.field.blocked' => 'Blokkolva?',
'form.field.is_allow' => 'Művelet',

'action.addMyIp' => 'IP címem hozzáadása',
'action.addMyIp.alreadyAdded' => 'Sikeresen hozzáadva.',
'action.fillMyIp' => 'IP címem kitöltése',

'labels.allow' => 'Engedélyezés',
'labels.deny' => 'Tiltás',
];
2 changes: 2 additions & 0 deletions src/Filament/Resources/FirewallIpResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ public static function table(Table $table): Table
->trueIcon('heroicon-o-x-circle')
->trueColor('danger'),
Tables\Columns\TextColumn::make('created_at')
->label(__('filament-firewall::filament-firewall.table.column.created_at'))
->sortable(),
Tables\Columns\TextColumn::make('updated_at')
->label(__('filament-firewall::filament-firewall.table.column.updated_at'))
->sortable(),
])
->filters([
Expand Down

0 comments on commit 6832059

Please sign in to comment.