feat: add routes, lang, tests, stubs, docs, and docker configurations

This commit is contained in:
2026-05-21 16:05:16 +07:00
parent fad70d096b
commit 28a06315b8
3385 changed files with 177070 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
<?php
return [
'single' => [
'label' => 'Poveži',
'modal' => [
'heading' => 'Poveži :label',
'fields' => [
'record_id' => [
'label' => 'Zapis',
],
],
'actions' => [
'associate' => [
'label' => 'Poveži',
],
'associate_another' => [
'label' => 'Poveži i poveži drugi',
],
],
],
'notifications' => [
'associated' => [
'title' => 'Povezano',
],
],
],
];
+45
View File
@@ -0,0 +1,45 @@
<?php
return [
'single' => [
'label' => 'Priloži',
'modal' => [
'heading' => 'Priloži :label',
'fields' => [
'record_id' => [
'label' => 'Zapis',
],
],
'actions' => [
'attach' => [
'label' => 'Priloži',
],
'attach_another' => [
'label' => 'Priloži i dodaj još jedan',
],
],
],
'notifications' => [
'attached' => [
'title' => 'Priloženo',
],
],
],
];
+37
View File
@@ -0,0 +1,37 @@
<?php
return [
'single' => [
'label' => 'Dodaj :label',
'modal' => [
'heading' => 'Napravi :label',
'actions' => [
'create' => [
'label' => 'Napravi',
],
'create_another' => [
'label' => 'Napravi i dodaj još jedan',
],
],
],
'notifications' => [
'created' => [
'title' => 'Napravljeno',
],
],
],
];
+61
View File
@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Obriši',
'modal' => [
'heading' => 'Obriši :label',
'actions' => [
'delete' => [
'label' => 'Obriši',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Obrisano',
],
],
],
'multiple' => [
'label' => 'Obriši odabrano',
'modal' => [
'heading' => 'Obriši odabrano',
'actions' => [
'delete' => [
'label' => 'Obriši',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Obrisano',
],
],
],
];
+61
View File
@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Odvoji',
'modal' => [
'heading' => 'Odvoji :label',
'actions' => [
'detach' => [
'label' => 'Odvoji',
],
],
],
'notifications' => [
'detached' => [
'title' => 'Odvojeno',
],
],
],
'multiple' => [
'label' => 'Odvoji odabrano',
'modal' => [
'heading' => 'Odvoji odabrano :label',
'actions' => [
'detach' => [
'label' => 'Odvoji',
],
],
],
'notifications' => [
'detached' => [
'title' => 'Odvojeno',
],
],
],
];
+61
View File
@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Razdvoji',
'modal' => [
'heading' => 'Razdvoji :label',
'actions' => [
'dissociate' => [
'label' => 'Razdvoji',
],
],
],
'notifications' => [
'dissociated' => [
'title' => 'Razdvojeno',
],
],
],
'multiple' => [
'label' => 'Dissociate selected',
'modal' => [
'heading' => 'Razdvoji odabrano :label',
'actions' => [
'dissociate' => [
'label' => 'Razdvoji',
],
],
],
'notifications' => [
'dissociated' => [
'title' => 'Razdvojeno',
],
],
],
];
+33
View File
@@ -0,0 +1,33 @@
<?php
return [
'single' => [
'label' => 'Uredi',
'modal' => [
'heading' => 'Uredi :label',
'actions' => [
'save' => [
'label' => 'Spremi promjene',
],
],
],
'notifications' => [
'saved' => [
'title' => 'Spremljeno',
],
],
],
];
+76
View File
@@ -0,0 +1,76 @@
<?php
return [
'label' => 'Izvezi :label',
'modal' => [
'heading' => 'Izvezi :label',
'form' => [
'columns' => [
'label' => 'Stupci',
'form' => [
'is_enabled' => [
'label' => ':column je omogućen',
],
'label' => [
'label' => ':column oznaka',
],
],
],
],
'actions' => [
'export' => [
'label' => 'Izvoz',
],
],
],
'notifications' => [
'completed' => [
'title' => 'Izvoz podataka završen',
'actions' => [
'download_csv' => [
'label' => 'Preuzmi .csv',
],
'download_xlsx' => [
'label' => 'Preuzmi .xlsx',
],
],
],
'max_rows' => [
'title' => 'Datoteka za preuzimanje je prevelika',
'body' => '{1} Ne možeš preuzeti više od jednog reda odjednom.|[2,4] Ne možeš preuzeti više od :count reda odjednom.|[5,*] Ne možeš preuzeti više od :count redova odjednom.',
],
'started' => [
'title' => 'Izvoz datoteka je započeo',
'body' => '{1} Tvoj izvoz datoteka je započeo i jedan red će se obraditi u pozadini. Dobit ćeš obavijest kada je izrađena poveznica za preuzimanje.|[2,4] Tvoj izvoz datoteka je započeo i :count reda će se obraditi u pozadini. Dobit ćeš obavijest kada je izrađena poveznica za preuzimanje.|[5,*] Tvoj izvoz datoteka je započeo i :count redova će se obraditi u pozadini. Dobit ćeš obavijest kada je izrađena poveznica za preuzimanje.',
],
],
'file_name' => 'export-:export_id-:model',
];
+61
View File
@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Prisilno obriši',
'modal' => [
'heading' => 'Prisilno obriši :label',
'actions' => [
'delete' => [
'label' => 'Obriši',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Obrisano',
],
],
],
'multiple' => [
'label' => 'Prisilno obriši odabrano',
'modal' => [
'heading' => 'Prisilno obriši odabrano',
'actions' => [
'delete' => [
'label' => 'Obriši',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Obrisano',
],
],
],
];
+9
View File
@@ -0,0 +1,9 @@
<?php
return [
'trigger' => [
'label' => 'Akcije',
],
];
+84
View File
@@ -0,0 +1,84 @@
<?php
return [
'label' => 'Uvezi :label',
'modal' => [
'heading' => 'Uvezi :label',
'form' => [
'file' => [
'label' => 'File',
'placeholder' => 'Prenesi CSV datoteku',
// Ovdje nisam bio siguran je li moramo i to pravilo prevesti
'rules' => [
'duplicate_columns' => '{0} The file must not contain more than one empty column header.|{1,*} The file must not contain duplicate column headers: :columns.',
],
],
'columns' => [
'label' => 'Stupac',
'placeholder' => 'Odaberi stupac',
],
],
'actions' => [
'download_example' => [
'label' => 'Preuzmi primjer CSV datoteke',
],
'import' => [
'label' => 'Uvoz',
],
],
],
'notifications' => [
'completed' => [
'title' => 'Uvoz je završen',
'actions' => [
'download_failed_rows_csv' => [
'label' => 'Preuzmi informaciju o neuspjelom pokušaju preuzimanja retka|Preuzmi informaciju o neuspjelom pokušaju preuzimanja redaka',
],
],
],
'max_rows' => [
'title' => 'Poslana CSV datoteka je prevelika',
'body' => '{1} Ne možeš uvesti više od jednog reda odjednom.|[2,4] Ne možeš uvesti više od :count reda odjednom.|[5,*] Ne možeš uvesti više od :count redova odjednom.',
],
'started' => [
'title' => 'Uvoz je započeo',
'body' => '{1} Uvoz je započeo i jedan red će se obraditi u pozadini.|[2,4] Uvoz je započeo i :count reda će se obraditi u pozadini.|[5,*] Uvoz je započeo i :count redova će se obraditi u pozadini.',
],
],
'example_csv' => [
'file_name' => ':importer-example',
],
'failure_csv' => [
'file_name' => 'import-:import_id-:csv_name-failed-rows',
'error_header' => 'error',
'system_error' => 'System error, please contact support.',
'column_mapping_required_for_new_record' => 'The :attribute column was not mapped to a column in the file, but it is required for creating new records.',
],
];
+23
View File
@@ -0,0 +1,23 @@
<?php
return [
'confirmation' => 'Jesi li siguran da želiš to učiniti?',
'actions' => [
'cancel' => [
'label' => 'Odustani',
],
'confirm' => [
'label' => 'Potvrdi',
],
'submit' => [
'label' => 'Pošalji',
],
],
];
+33
View File
@@ -0,0 +1,33 @@
<?php
return [
'single' => [
'label' => 'Repliciraj',
'modal' => [
'heading' => 'Repliciraj :label',
'actions' => [
'replicate' => [
'label' => 'Repliciraj',
],
],
],
'notifications' => [
'replicated' => [
'title' => 'Replicirano',
],
],
],
];
+61
View File
@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Vrati',
'modal' => [
'heading' => 'Vrati :label',
'actions' => [
'restore' => [
'label' => 'Vrati',
],
],
],
'notifications' => [
'restored' => [
'title' => 'Vraćeno',
],
],
],
'multiple' => [
'label' => 'Vrati odabrano',
'modal' => [
'heading' => 'Vrati odabrano :label',
'actions' => [
'restore' => [
'label' => 'Vrati',
],
],
],
'notifications' => [
'restored' => [
'title' => 'Vraćeno',
],
],
],
];
+25
View File
@@ -0,0 +1,25 @@
<?php
return [
'single' => [
'label' => 'Pregledaj',
'modal' => [
'heading' => 'Pregled :label',
'actions' => [
'close' => [
'label' => 'Zatvori',
],
],
],
],
];