From 895c5f62263fc086fca0259ceaa7587f75c3dd6f Mon Sep 17 00:00:00 2001 From: Mekan1206 Date: Sun, 21 Dec 2025 04:13:47 +0500 Subject: [PATCH] Update ManageCards page and localization for card creation - Added a label for the 'Add card' action in the ManageCards page. - Updated Turkish translations for card creation actions and notifications to improve clarity and consistency. --- app/Filament/Clusters/Cards/Cards/Pages/ManageCards.php | 4 +++- lang/tk.json | 3 ++- lang/vendor/filament-actions/tk/create.php | 8 ++++---- lang/vendor/filament-forms/tk/components.php | 8 ++++---- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/app/Filament/Clusters/Cards/Cards/Pages/ManageCards.php b/app/Filament/Clusters/Cards/Cards/Pages/ManageCards.php index d3949bd..5a4ec53 100644 --- a/app/Filament/Clusters/Cards/Cards/Pages/ManageCards.php +++ b/app/Filament/Clusters/Cards/Cards/Pages/ManageCards.php @@ -19,7 +19,9 @@ class ManageCards extends ManageRecords protected function getHeaderActions(): array { return [ - CreateAction::make(), + CreateAction::make() + ->label(__('Add card')) + ->createAnother(false), ]; } } diff --git a/lang/tk.json b/lang/tk.json index 5f11978..b900493 100644 --- a/lang/tk.json +++ b/lang/tk.json @@ -730,5 +730,6 @@ "Total": "Jemi", "Data": "Maglumatlar", "Watch Full": "Giňişleýin", - "Order ID": "Sargyt belgisi" + "Order ID": "Sargyt belgisi", + "Add card": "Kart goşmak" } diff --git a/lang/vendor/filament-actions/tk/create.php b/lang/vendor/filament-actions/tk/create.php index a1cefd3..ee5ba93 100644 --- a/lang/vendor/filament-actions/tk/create.php +++ b/lang/vendor/filament-actions/tk/create.php @@ -8,16 +8,16 @@ return [ 'modal' => [ - 'heading' => ':label döret', + 'heading' => ':label goşmak', 'actions' => [ 'create' => [ - 'label' => 'Döret', + 'label' => 'Goşmak', ], 'create_another' => [ - 'label' => 'Döret we başgasyny döret', + 'label' => 'Goşmak we başgasyny goşmak', ], ], @@ -27,7 +27,7 @@ return [ 'notifications' => [ 'created' => [ - 'title' => 'Döredildi', + 'title' => 'Goşuldy', ], ], diff --git a/lang/vendor/filament-forms/tk/components.php b/lang/vendor/filament-forms/tk/components.php index 51a3cbf..a8115ce 100644 --- a/lang/vendor/filament-forms/tk/components.php +++ b/lang/vendor/filament-forms/tk/components.php @@ -625,20 +625,20 @@ return [ 'create_option' => [ - 'label' => 'Döret', + 'label' => 'Goş', 'modal' => [ - 'heading' => 'Döret', + 'heading' => 'Goş', 'actions' => [ 'create' => [ - 'label' => 'Döret', + 'label' => 'Goş', ], 'create_another' => [ - 'label' => 'Döret we başgasyny döret', + 'label' => 'Goş we başgasyny goş', ], ],