Add HR resource labels and helper methods for various resources; update locale handling in user model and department factory

This commit is contained in:
Mekan1206
2026-07-31 23:40:35 +05:00
parent 581cb8241c
commit 20d032c4cc
83 changed files with 4386 additions and 39 deletions

View File

@@ -0,0 +1,45 @@
<?php
return [
'single' => [
'label' => 'Bagla',
'modal' => [
'heading' => ':label bagla',
'fields' => [
'record_id' => [
'label' => 'Ýazgy',
],
],
'actions' => [
'associate' => [
'label' => 'Bagla',
],
'associate_another' => [
'label' => 'Bagla we ýene bagla',
],
],
],
'notifications' => [
'associated' => [
'title' => 'Baglandy',
],
],
],
];

View File

@@ -0,0 +1,45 @@
<?php
return [
'single' => [
'label' => 'Goş',
'modal' => [
'heading' => ':label goş',
'fields' => [
'record_id' => [
'label' => 'Ýazgy',
],
],
'actions' => [
'attach' => [
'label' => 'Goş',
],
'attach_another' => [
'label' => 'Goş we ýene goş',
],
],
],
'notifications' => [
'attached' => [
'title' => 'Goşuldy',
],
],
],
];

View File

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

View File

@@ -0,0 +1,73 @@
<?php
return [
'single' => [
'label' => 'Poz',
'modal' => [
'heading' => ':label poz',
'actions' => [
'delete' => [
'label' => 'Poz',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Pozuldy',
],
],
],
'multiple' => [
'label' => 'Saýlanany poz',
'modal' => [
'heading' => 'Saýlanan :label poz',
'actions' => [
'delete' => [
'label' => 'Poz',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Pozuldy',
],
'deleted_partial' => [
'title' => ':total-dan :count pozuldy',
'missing_authorization_failure_message' => ':count pozmak üçin ygtyýaryňyz ýok.',
'missing_processing_failure_message' => ':count pozup bolmady.',
],
'deleted_none' => [
'title' => 'Pozmak şowsuz boldy',
'missing_authorization_failure_message' => ':count pozmak üçin ygtyýaryňyz ýok.',
'missing_processing_failure_message' => ':count pozup bolmady.',
],
],
],
];

View File

@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Aýyr',
'modal' => [
'heading' => ':label aýyr',
'actions' => [
'detach' => [
'label' => 'Aýyr',
],
],
],
'notifications' => [
'detached' => [
'title' => 'Aýryldy',
],
],
],
'multiple' => [
'label' => 'Saýlanany aýyr',
'modal' => [
'heading' => 'Saýlanan :label aýyr',
'actions' => [
'detach' => [
'label' => 'Aýyr',
],
],
],
'notifications' => [
'detached' => [
'title' => 'Aýryldy',
],
],
],
];

View File

@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Baglanyşygy kes',
'modal' => [
'heading' => ':label baglanyşygy kes',
'actions' => [
'dissociate' => [
'label' => 'Baglanyşygy kes',
],
],
],
'notifications' => [
'dissociated' => [
'title' => 'Baglanyşyk kesildi',
],
],
],
'multiple' => [
'label' => 'Saýlananyň baglanyşygyny kes',
'modal' => [
'heading' => 'Saýlanan :label baglanyşygy kes',
'actions' => [
'dissociate' => [
'label' => 'Baglanyşygy kes',
],
],
],
'notifications' => [
'dissociated' => [
'title' => 'Baglanyşyk kesildi',
],
],
],
];

View File

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

View File

@@ -0,0 +1,94 @@
<?php
return [
'label' => ':label eksport',
'modal' => [
'heading' => ':label eksport',
'form' => [
'columns' => [
'label' => 'Sütünler',
'actions' => [
'select_all' => [
'label' => 'Hemmesini saýla',
],
'deselect_all' => [
'label' => 'Hemmesini aýyr',
],
],
'form' => [
'is_enabled' => [
'label' => ':column açyk',
],
'label' => [
'label' => ':column ýazgysy',
],
],
],
],
'actions' => [
'export' => [
'label' => 'Eksport',
],
],
],
'notifications' => [
'completed' => [
'title' => 'Eksport tamamlandy',
'actions' => [
'download_csv' => [
'label' => '.csv göçürip al',
],
'download_xlsx' => [
'label' => '.xlsx göçürip al',
],
],
],
'max_rows' => [
'title' => 'Eksport gaty uly',
'body' => 'Bir gezekde 1-den köp setir eksport edip bolmaýar.|Bir gezekde :count-dan köp setir eksport edip bolmaýar.',
],
'no_columns' => [
'title' => 'Sütün saýlanmady',
'body' => 'Eksport etmek üçin azyndan bir sütün saýlaň.',
],
'started' => [
'title' => 'Eksport başlandy',
'body' => 'Eksportyňyz başlandy we 1 setir fon režiminde işlener. Tamamlananda göçürip almak baglanyşygy bilen bildiriş alarsyňyz.|Eksportyňyz başlandy we :count setir fon režiminde işlener. Tamamlananda göçürip almak baglanyşygy bilen bildiriş alarsyňyz.',
],
],
'file_name' => 'export-:export_id-:model',
];

View File

@@ -0,0 +1,73 @@
<?php
return [
'single' => [
'label' => 'Görkezmesiz poz',
'modal' => [
'heading' => ':label görkezmesiz poz',
'actions' => [
'delete' => [
'label' => 'Poz',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Pozuldy',
],
],
],
'multiple' => [
'label' => 'Saýlanany görkezmesiz poz',
'modal' => [
'heading' => 'Saýlanan :label görkezmesiz poz',
'actions' => [
'delete' => [
'label' => 'Poz',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Pozuldy',
],
'deleted_partial' => [
'title' => ':total-dan :count pozuldy',
'missing_authorization_failure_message' => ':count pozmak üçin ygtyýaryňyz ýok.',
'missing_processing_failure_message' => ':count pozup bolmady.',
],
'deleted_none' => [
'title' => 'Pozmak şowsuz boldy',
'missing_authorization_failure_message' => ':count pozmak üçin ygtyýaryňyz ýok.',
'missing_processing_failure_message' => ':count pozup bolmady.',
],
],
],
];

View File

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

View File

@@ -0,0 +1,85 @@
<?php
return [
'label' => ':label import',
'modal' => [
'heading' => ':label import',
'form' => [
'file' => [
'label' => 'Faýl',
'placeholder' => 'CSV faýl ýükle',
'rules' => [
'duplicate_columns' => '{0} Faýlda bir sütünden köp boş sütün başlygy bolmaly däl.|{1,*} Faýlda dublikat sütün başlyklary bolmaly däl: :columns.',
],
],
'columns' => [
'label' => 'Sütünler',
'placeholder' => 'Sütün saýla',
],
],
'actions' => [
'download_example' => [
'label' => 'Mysal CSV faýly göçürip al',
],
'import' => [
'label' => 'Import',
],
],
],
'notifications' => [
'completed' => [
'title' => 'Import tamamlandy',
'actions' => [
'download_failed_rows_csv' => [
'label' => 'Şowsuz setir barada maglumaty göçürip al|Şowsuz setirler barada maglumaty göçürip al',
],
],
],
'max_rows' => [
'title' => 'Ýüklenen CSV faýl gaty uly',
'body' => 'Bir gezekde 1-den köp setir import edip bolmaýar.|Bir gezekde :count-dan köp setir import edip bolmaýar.',
],
'started' => [
'title' => 'Import başlandy',
'body' => 'Importyňyz başlandy we 1 setir fon režiminde işlener.|Importyňyz başlandy we :count setir fon režiminde işlener.',
],
],
'example_csv' => [
'file_name' => ':importer-example',
],
'failure_csv' => [
'file_name' => 'import-:import_id-:csv_name-failed-rows',
'error_header' => 'ýalňyşlyk',
'system_error' => 'Ulgam ýalňyşlygy, goldaw bilen habarlaşyň.',
'column_mapping_required_for_new_record' => ':attribute sütüni faýldaky sütün bilen deňleşdirilmedi, ýöne täze ýazgylar döretmek üçin zerur.',
],
];

View File

@@ -0,0 +1,23 @@
<?php
return [
'confirmation' => 'Muny hakykatdanam etmek isleýärsiňizmi?',
'actions' => [
'cancel' => [
'label' => 'Ýatyr',
],
'confirm' => [
'label' => 'Tassykla',
],
'submit' => [
'label' => 'Iber',
],
],
];

View File

@@ -0,0 +1,10 @@
<?php
return [
'throttled' => [
'title' => 'Gaty köp synanyşyk',
'body' => ':seconds sekuntdan soň gaýtadan synanyşyň.',
],
];

View File

@@ -0,0 +1,33 @@
<?php
return [
'single' => [
'label' => 'Köpelt',
'modal' => [
'heading' => ':label köpelt',
'actions' => [
'replicate' => [
'label' => 'Köpelt',
],
],
],
'notifications' => [
'replicated' => [
'title' => 'Köpeldildi',
],
],
],
];

View File

@@ -0,0 +1,73 @@
<?php
return [
'single' => [
'label' => 'Dikelt',
'modal' => [
'heading' => ':label dikelt',
'actions' => [
'restore' => [
'label' => 'Dikelt',
],
],
],
'notifications' => [
'restored' => [
'title' => 'Dikeldildi',
],
],
],
'multiple' => [
'label' => 'Saýlanany dikelt',
'modal' => [
'heading' => 'Saýlanan :label dikelt',
'actions' => [
'restore' => [
'label' => 'Dikelt',
],
],
],
'notifications' => [
'restored' => [
'title' => 'Dikeldildi',
],
'restored_partial' => [
'title' => ':total-dan :count dikeldildi',
'missing_authorization_failure_message' => ':count dikeltmek üçin ygtyýaryňyz ýok.',
'missing_processing_failure_message' => ':count dikeldip bolmady.',
],
'restored_none' => [
'title' => 'Dikeltmek şowsuz boldy',
'missing_authorization_failure_message' => ':count dikeltmek üçin ygtyýaryňyz ýok.',
'missing_processing_failure_message' => ':count dikeldip bolmady.',
],
],
],
];

View File

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