Skip to content

Commit

Permalink
Translate Table button text and add Hungarian translate (#58)
Browse files Browse the repository at this point in the history
* Add Hungarian translate

* Translate Table button text
  • Loading branch information
gergo85 authored Feb 23, 2024
1 parent 700ab54 commit ed833ac
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions resources/lang/hu/action.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

return [
'label' => 'Átjelentkezés',
];
6 changes: 6 additions & 0 deletions resources/lang/hu/banner.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

return [
'impersonating' => 'Belépve mint:',
'leave' => 'Visszajelentkezés',
];
1 change: 1 addition & 0 deletions src/Tables/Actions/Impersonate.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ protected function setUp(): void
parent::setUp();

$this
->label(__('filament-impersonate::action.label'))
->iconButton()
->icon('impersonate-icon')
->action(fn ($record) => $this->impersonate($record))
Expand Down

0 comments on commit ed833ac

Please sign in to comment.