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,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.',
],
];