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.
This commit is contained in:
Mekan1206
2025-12-21 04:13:47 +05:00
parent 88d84ac457
commit 895c5f6226
4 changed files with 13 additions and 10 deletions

View File

@@ -19,7 +19,9 @@ class ManageCards extends ManageRecords
protected function getHeaderActions(): array
{
return [
CreateAction::make(),
CreateAction::make()
->label(__('Add card'))
->createAnother(false),
];
}
}

View File

@@ -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"
}

View File

@@ -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',
],
],

View File

@@ -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ş',
],
],