Add Turkmen translations for edit and delete actions; update Pilgrim model with property annotations, and enhance PilgrimsRelationManager with localized table heading and model label.

This commit is contained in:
2025-08-31 14:18:33 +05:00
parent 6b6f358aa7
commit 34e78c5e43
21 changed files with 820 additions and 10 deletions

View File

@@ -22,6 +22,16 @@ class PilgrimsRelationManager extends RelationManager
{
protected static string $relationship = 'pilgrims';
public function getTableHeading(): string
{
return 'Zyýaratçylar';
}
public static function getModelLabel(): string
{
return 'Zyýaratçy';
}
public function form(Schema $schema): Schema
{
return $schema

View File

@@ -20,16 +20,12 @@ class PilgrimResource extends Resource
{
protected static ?string $model = Pilgrim::class;
protected static ?string $navigationLabel = 'Zyýaratçylar';
protected static ?string $pluralLabel = 'Zyýaratçylar';
protected static ?int $navigationSort = 2;
public static function getNavigationIcon(): string | BackedEnum | Htmlable | null
{
return 'icon-pilgrim-man';
}
protected static ?string $navigationLabel = 'Zyýaratçylar';
protected static string | BackedEnum | null $navigationIcon = 'icon-pilgrim-man';
protected static ?string $modelLabel = 'Zyýaratçy';
protected static ?string $pluralLabel = 'Zyýaratçylar';
public static function form(Schema $schema): Schema
{

View File

@@ -7,6 +7,18 @@ use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\HasMany;
/**
* @property int $id
* @property int $group_id
* @property string $first_name
* @property string $last_name
* @property date $birthdate
* @property string $image
* @property string $local_passport
* @property string $international_passport
* @property Carbon $created_at
* @property Carbon $updated_at
*/
class Pilgrim extends Model
{
use HasFactory;

32
config/boost.php Normal file
View File

@@ -0,0 +1,32 @@
<?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Boost Master Switch
|--------------------------------------------------------------------------
|
| This option may be used to disable all Boost functionality - which
| will prevent Boost's routes from being registered and will also
| disable Boost's browser logging functionality from operating.
|
*/
'enabled' => env('BOOST_ENABLED', true),
/*
|--------------------------------------------------------------------------
| Boost Browser Logs Watcher
|--------------------------------------------------------------------------
|
| The following option may be used to enable or disable the browser logs
| watcher feature within Laravel Boost. The log watcher will read any
| errors within the browser's console to give Boost better context.
*/
'browser_logs_watcher' => env('BOOST_BROWSER_LOGS_WATCHER', true),
];

View File

@@ -9,5 +9,7 @@
"Dashboard": "Dolandyryş paneli",
"You are logged in!": "Siz içerde!",
"Name": "Ady",
"Logout": "Çykyş"
"Logout": "Çykyş",
"Edit": "Üýtget",
"Delete": "Poz"
}

View File

@@ -0,0 +1,45 @@
<?php
return [
'single' => [
'label' => 'Goş',
'modal' => [
'heading' => ':label goş',
'fields' => [
'record_id' => [
'label' => 'Kayıt',
],
],
'actions' => [
'associate' => [
'label' => 'Goş',
],
'associate_another' => [
'label' => 'Goş we ýene goş',
],
],
],
'notifications' => [
'associated' => [
'title' => 'Goşyldy',
],
],
],
];

View File

@@ -0,0 +1,45 @@
<?php
return [
'single' => [
'label' => 'Goş',
'modal' => [
'heading' => ':label goş',
'fields' => [
'record_id' => [
'label' => 'Kayıt',
],
],
'actions' => [
'attach' => [
'label' => 'İliştir',
],
'attach_another' => [
'label' => 'İliştir ve başka bir taneye başla',
],
],
],
'notifications' => [
'attached' => [
'title' => 'İliştirildi',
],
],
],
];

View File

@@ -0,0 +1,37 @@
<?php
return [
'single' => [
'label' => ':label döret',
'modal' => [
'heading' => ':label döret',
'actions' => [
'create' => [
'label' => 'Döret',
],
'create_another' => [
'label' => 'Döret we täzesini döret',
],
],
],
'notifications' => [
'created' => [
'title' => 'Döredildi',
],
],
],
];

View File

@@ -0,0 +1,72 @@
<?php
return [
'single' => [
'label' => 'Poz',
'modal' => [
'heading' => ':label Poz',
'actions' => [
'delete' => [
'label' => 'Poz',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Pozyldy',
],
],
],
'multiple' => [
'label' => 'Saýlananlary poz',
'modal' => [
'heading' => 'Saýlananlary poz', // When ':label' is used here, the meaning is distorted.
'actions' => [
'delete' => [
'label' => 'Poz',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Pozyldy',
],
'deleted_partial' => [
'title' => ':total kayıttan :count kayıt pozydy',
'missing_authorization_failure_message' => ':count kayıt silmek için gereken izniniz yok.',
'missing_processing_failure_message' => ':count kayıt silinemedi.',
],
'deleted_none' => [
'title' => 'Kayıtlar pozynyldy',
'missing_authorization_failure_message' => ':count kayıt silmek için gereken izniniz yok.',
'missing_processing_failure_message' => ':count kayıt silinemedi.',
],
],
],
];

View File

@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Ayır',
'modal' => [
'heading' => ':label ayır',
'actions' => [
'detach' => [
'label' => 'Ayır',
],
],
],
'notifications' => [
'detached' => [
'title' => 'Ayrıldı',
],
],
],
'multiple' => [
'label' => 'Seçiliyi ayır',
'modal' => [
'heading' => ':label seçiliyi ayır ',
'actions' => [
'detach' => [
'label' => 'Seçiliyi ayır',
],
],
],
'notifications' => [
'detached' => [
'title' => 'Ayrıldı',
],
],
],
];

View File

@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Ayrıştır',
'modal' => [
'heading' => ':label ayrıştır',
'actions' => [
'dissociate' => [
'label' => 'Ayrıştır',
],
],
],
'notifications' => [
'dissociated' => [
'title' => 'Ayrıştırıldı',
],
],
],
'multiple' => [
'label' => 'Seçiliyi ayrıştır',
'modal' => [
'heading' => ':label seçiliyi ayrıştır',
'actions' => [
'dissociate' => [
'label' => 'Seçiliyi ayrıştır',
],
],
],
'notifications' => [
'dissociated' => [
'title' => 'Ayrıştırıldı',
],
],
],
];

View File

@@ -0,0 +1,33 @@
<?php
return [
'single' => [
'label' => 'Üýtget',
'modal' => [
'heading' => ':label üýtget',
'actions' => [
'save' => [
'label' => 'Kaydet',
],
],
],
'notifications' => [
'saved' => [
'title' => 'Üýtgedildi',
],
],
],
];

View File

@@ -0,0 +1,77 @@
<?php
return [
'label' => 'Dışa Aktar :label',
'modal' => [
'heading' => 'Dışa Aktar :label',
'form' => [
'columns' => [
'label' => 'Sütunlar',
'form' => [
'is_enabled' => [
'label' => ':column etkin',
],
'label' => [
'label' => ':column etiketi',
],
],
],
],
'actions' => [
'export' => [
'label' => 'Dışa Aktar',
],
],
],
'notifications' => [
'completed' => [
'title' => 'Dışa Aktarım Tamamlandı',
'actions' => [
'download_csv' => [
'label' => '.csv Olarak İndir',
],
'download_xlsx' => [
'label' => '.xlsx Olarak İndir',
],
],
],
'max_rows' => [
'title' => 'Maksimum Satır Sayısııldı',
'body' => 'Birden fazla satırı dışa aktaramazsınız.|:count satırı dışa aktaramazsınız.',
],
'started' => [
'title' => 'Dışa Aktarım Başladı',
'body' => 'Dışa aktarım başladı ve 1 satır arka planda işlenecek.|Dışa aktarım başladı ve :count satır arka planda işlenecek.',
],
],
'file_name' => 'export-:export_id-:model',
];

View File

@@ -0,0 +1,73 @@
<?php
return [
'single' => [
'label' => 'Kalıcı olarak sil',
'modal' => [
'heading' => ':label kalıcı olarak sil',
'actions' => [
'delete' => [
'label' => 'Kalıcı olarak sil',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Kayıt kalıcı olarak silindi',
],
],
],
'multiple' => [
'label' => 'Seçiliyi kalıcı olarak sil',
'modal' => [
'heading' => ':label seçiliyi kalıcı olarak sil',
'actions' => [
'delete' => [
'label' => 'Kalıcı olarak sil',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Kayıtlar kalıcı olarak silindi',
],
'deleted_partial' => [
'title' => ':total kayıttan :count kayıt kalıcı olarak silindi',
'missing_authorization_failure_message' => ':count kayıtı kalıcı olarak silmek için gereken izniniz yok.',
'missing_processing_failure_message' => ':count kayıt kalıcı olarak silinemedi.',
],
'deleted_none' => [
'title' => 'Kayıtlar kalıcı olarak silinemedi',
'missing_authorization_failure_message' => ':count kayıtı kalıcı olarak silmek için gereken izniniz yok.',
'missing_processing_failure_message' => ':count kayıt kalıcı olarak silinemedi.',
],
],
],
];

View File

@@ -0,0 +1,9 @@
<?php
return [
'trigger' => [
'label' => 'Eylemler',
],
];

View File

@@ -0,0 +1,81 @@
<?php
return [
'label' => 'İçe Aktar: :label',
'modal' => [
'heading' => 'İçe Aktar: :label',
'form' => [
'file' => [
'label' => 'Dosya',
'placeholder' => 'Bir CSV dosyası seçin',
'rules' => [
'duplicate_columns' => '{0} Dosya birden fazla boş sütun başlığı içeremez.|{1,*} Dosya tekrar eden sütun başlığı içeremez: :columns.',
],
],
'columns' => [
'label' => 'Sütunlar',
'placeholder' => 'Sütunları eşleştirin',
],
],
'actions' => [
'download_example' => [
'label' => 'Örnek CSV Dosyasını İndir',
],
'import' => [
'label' => 'İçe Aktar',
],
],
],
'notifications' => [
'completed' => [
'title' => 'İçe Aktarım Tamamlandı',
'actions' => [
'download_failed_rows_csv' => [
'label' => 'Başarısız satır hakkında bilgileri indir|Başarısız satırlar hakkında bilgileri indir',
],
],
],
'max_rows' => [
'title' => 'Yüklenen Dosya Çok Büyük',
'body' => 'Aynı anda 1\'den fazla satır içeren dosyaları içe aktaramazsınız.|Aynı anda :count\'den fazla satır içeren dosyaları içe aktaramazsınız.',
],
'started' => [
'title' => 'İçe Aktarım Başladı',
'body' => 'İçe aktarım başladı ve 1 satır arka planda işlenecek.|İçe aktarım başladı ve :count satır arka planda işlenecek.',
],
],
'example_csv' => [
'file_name' => ':importer-example',
],
'failure_csv' => [
'file_name' => 'import-:import_id-:csv_name-failed-rows',
'error_header' => 'error',
'system_error' => 'Sistem Hatası',
'column_mapping_required_for_new_record' => ':attribute sütunu dosyadaki bir sütun ile eşleştirilmedi, fakat bu sütun yeni kayıt oluşturmak için gerekli bir sütun.',
],
];

View File

@@ -0,0 +1,23 @@
<?php
return [
'confirmation' => 'Bunu yapmak istediğinizden emin misiniz?',
'actions' => [
'cancel' => [
'label' => 'İptal',
],
'confirm' => [
'label' => 'Onayla',
],
'submit' => [
'label' => 'Gönder',
],
],
];

View File

@@ -0,0 +1,10 @@
<?php
return [
'throttled' => [
'title' => 'Çok Fazla Deneme Yapıldı',
'body' => 'Çok fazla deneme yapıldı, lütfen :seconds saniye sonra tekrar deneyin.',
],
];

View File

@@ -0,0 +1,33 @@
<?php
return [
'single' => [
'label' => 'Çoğalt',
'modal' => [
'heading' => ':label çoğalt',
'actions' => [
'replicate' => [
'label' => 'Çoğalt',
],
],
],
'notifications' => [
'replicated' => [
'title' => 'Kayıt çoğaltıldı',
],
],
],
];

View File

@@ -0,0 +1,73 @@
<?php
return [
'single' => [
'label' => 'Dikelt',
'modal' => [
'heading' => ':label dikelt',
'actions' => [
'restore' => [
'label' => 'Dikelt',
],
],
],
'notifications' => [
'restored' => [
'title' => 'Ýazgy dikeldildi',
],
],
],
'multiple' => [
'label' => 'Saýlananlary dikelt',
'modal' => [
'heading' => 'Saýlanan :label dikelt',
'actions' => [
'restore' => [
'label' => 'Dikelt',
],
],
],
'notifications' => [
'restored' => [
'title' => 'Ýazgylar dikeldildi',
],
'restored_partial' => [
'title' => ':total ýazgydan :count ýazgy dikeldildi',
'missing_authorization_failure_message' => ':count ýazgyny dikeltmek üçin rugsadyňyz ýok.',
'missing_processing_failure_message' => ':count dikeldilmedi.',
],
'restored_none' => [
'title' => 'Ýazgylar dikeldilmedi',
'missing_authorization_failure_message' => ':count ýazgyny dikeltmek üçin rugsadyňyz ýok.',
'missing_processing_failure_message' => ':count dikeldilmedi.',
],
],
],
];

View File

@@ -0,0 +1,25 @@
<?php
return [
'single' => [
'label' => 'Görüntüle',
'modal' => [
'heading' => ':label görüntüle',
'actions' => [
'close' => [
'label' => 'Kapat',
],
],
],
],
];