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' => 'Yhdistä',
'modal' => [
'heading' => 'Yhdistä :label',
'fields' => [
'record_id' => [
'label' => 'Tietue',
],
],
'actions' => [
'associate' => [
'label' => 'Yhdistä',
],
'associate_another' => [
'label' => 'Yhdistä & yhdistä toinen',
],
],
],
'notifications' => [
'associated' => [
'title' => 'Yhdistetty',
],
],
],
];
+45
View File
@@ -0,0 +1,45 @@
<?php
return [
'single' => [
'label' => 'Liitä',
'modal' => [
'heading' => 'Liitä :label',
'fields' => [
'record_id' => [
'label' => 'Tietue',
],
],
'actions' => [
'attach' => [
'label' => 'Liitä',
],
'attach_another' => [
'label' => 'Liitä & liitä toinen',
],
],
],
'notifications' => [
'attached' => [
'title' => 'Liitetty',
],
],
],
];
+37
View File
@@ -0,0 +1,37 @@
<?php
return [
'single' => [
'label' => 'Uusi :label',
'modal' => [
'heading' => 'Uusi :label',
'actions' => [
'create' => [
'label' => 'Luo',
],
'create_another' => [
'label' => 'Luo & luo toinen',
],
],
],
'notifications' => [
'created' => [
'title' => 'Luotu',
],
],
],
];
+73
View File
@@ -0,0 +1,73 @@
<?php
return [
'single' => [
'label' => 'Poista',
'modal' => [
'heading' => 'Poista :label',
'actions' => [
'delete' => [
'label' => 'Poista',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Poistettu',
],
],
],
'multiple' => [
'label' => 'Poista valitut',
'modal' => [
'heading' => 'Poista valitut :label',
'actions' => [
'delete' => [
'label' => 'Poista',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Poistettu',
],
'deleted_partial' => [
'title' => 'Poistettu :count / :total',
'missing_authorization_failure_message' => 'Sinulla ei ole oikeuksia poistaa :count.',
'missing_processing_failure_message' => ':count ei voitu poistaa.',
],
'deleted_none' => [
'title' => 'Poistaminen epäonnistui',
'missing_authorization_failure_message' => 'Sinulla ei ole oikeuksia poistaa :count.',
'missing_processing_failure_message' => ':count ei voitu poistaa.',
],
],
],
];
+61
View File
@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Irrota',
'modal' => [
'heading' => 'Irrota :label',
'actions' => [
'detach' => [
'label' => 'Irrota',
],
],
],
'notifications' => [
'detached' => [
'title' => 'Irrotettu',
],
],
],
'multiple' => [
'label' => 'Irrota valitut',
'modal' => [
'heading' => 'Irrota valitut :label',
'actions' => [
'detach' => [
'label' => 'Irrota valitut',
],
],
],
'notifications' => [
'detached' => [
'title' => 'Irrotettu',
],
],
],
];
+61
View File
@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Erota',
'modal' => [
'heading' => 'Erota :label',
'actions' => [
'dissociate' => [
'label' => 'Erota',
],
],
],
'notifications' => [
'dissociated' => [
'title' => 'Erotettu',
],
],
],
'multiple' => [
'label' => 'Erota valitut',
'modal' => [
'heading' => 'Erota valitut :label',
'actions' => [
'dissociate' => [
'label' => 'Erota valitut',
],
],
],
'notifications' => [
'dissociated' => [
'title' => 'Erotettu',
],
],
],
];
+33
View File
@@ -0,0 +1,33 @@
<?php
return [
'single' => [
'label' => 'Muokkaa',
'modal' => [
'heading' => 'Muokkaa :label',
'actions' => [
'save' => [
'label' => 'Tallenna',
],
],
],
'notifications' => [
'saved' => [
'title' => 'Tallennettu',
],
],
],
];
+94
View File
@@ -0,0 +1,94 @@
<?php
return [
'label' => 'Vie :label',
'modal' => [
'heading' => 'Vie :label',
'form' => [
'columns' => [
'label' => 'Sarakkeet',
'actions' => [
'select_all' => [
'label' => 'Valitse kaikki',
],
'deselect_all' => [
'label' => 'Poista valinta kaikista',
],
],
'form' => [
'is_enabled' => [
'label' => ':column valittu',
],
'label' => [
'label' => ':column nimike',
],
],
],
],
'actions' => [
'export' => [
'label' => 'Vie',
],
],
],
'notifications' => [
'completed' => [
'title' => 'Vienti valmis',
'actions' => [
'download_csv' => [
'label' => 'Lataa .csv',
],
'download_xlsx' => [
'label' => 'Lataa .xlsx',
],
],
],
'max_rows' => [
'title' => 'Vienti on liian iso',
'body' => 'Et voi viedä kuin yhden rivin kerralla.|Et voi viedä kuin :count riviä yhdellä kerralla.',
],
'no_columns' => [
'title' => 'Sarakkeita ei ole valittu',
'body' => 'Valitse ainakin yksi sarake vientiä varten.',
],
'started' => [
'title' => 'Vienti aloitettu',
'body' => 'Vienti on aloitettu ja 1 rivi käsitellään taustalla. Saat ilmoituksen latauslinkillä kun se on valmis.|Vienti on aloitettu ja :count riviä käsitellään taustalla. Saat ilmoituksen latauslinkillä kun se on valmis.',
],
],
'file_name' => 'vienti-:export_id-:model',
];
+73
View File
@@ -0,0 +1,73 @@
<?php
return [
'single' => [
'label' => 'Poista lopullisesti',
'modal' => [
'heading' => 'Pakota poistaminen :label',
'actions' => [
'delete' => [
'label' => 'Poista',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Tietue poistettu',
],
],
],
'multiple' => [
'label' => 'Poista valitut lopullisesti',
'modal' => [
'heading' => 'Poista valitut lopullisesti :label',
'actions' => [
'delete' => [
'label' => 'Poista',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Tietueet poistettu',
],
'deleted_partial' => [
'title' => 'Poistettu :count / :total',
'missing_authorization_failure_message' => 'Sinulla ei ole oikeuksia poistaa :count.',
'missing_processing_failure_message' => ':count ei voitu poistaa.',
],
'deleted_none' => [
'title' => 'Poistaminen epäonnistui',
'missing_authorization_failure_message' => 'Sinulla ei ole oikeuksia poistaa :count.',
'missing_processing_failure_message' => ':count ei voitu poistaa.',
],
],
],
];
+9
View File
@@ -0,0 +1,9 @@
<?php
return [
'trigger' => [
'label' => 'Toimenpiteet',
],
];
+85
View File
@@ -0,0 +1,85 @@
<?php
return [
'label' => 'Tuo :label',
'modal' => [
'heading' => 'Tuo :label',
'form' => [
'file' => [
'label' => 'Tiedosto',
'placeholder' => 'Siirrä CSV tiedosto',
'rules' => [
'duplicate_columns' => '{0} Tiedostossa voi olla enimmillään yksi tyhjä sarakkeen otsake.|{1,*} Tiedostossa ei voi olla toistuvia sarakkeiden otsakkeita: :columns.',
],
],
'columns' => [
'label' => 'Sarakkeet',
'placeholder' => 'Valitse sarake',
],
],
'actions' => [
'download_example' => [
'label' => 'Lataa esimerkki CSV-tiedosto',
],
'import' => [
'label' => 'Tuonti',
],
],
],
'notifications' => [
'completed' => [
'title' => 'Tuonti valmis',
'actions' => [
'download_failed_rows_csv' => [
'label' => 'Lataa tietoja epäonnistuneesta rivistä|Lataa tietoja epäonnistuneesta riveistä',
],
],
],
'max_rows' => [
'title' => 'Siirretty CSV on liian iso',
'body' => 'Voi tuoda vain yhden rivin kerrallaan.|Voit tuoda vain :count riviä kerralla.',
],
'started' => [
'title' => 'Tuonti aloitettu',
'body' => 'Tuonti on aloitettu ja 1 rivi käsitellään taustalla.|Tuonti on aloitettu ja :count riviä käsitellään taustalla.',
],
],
'example_csv' => [
'file_name' => ':importer-esimerkki',
],
'failure_csv' => [
'file_name' => 'tuonti-:import_id-:csv_name-virheelliset-rivit',
'error_header' => 'virhe',
'system_error' => 'Järjestelmävirhe, ota yhteyttä tukeen.',
'column_mapping_required_for_new_record' => 'Otsaketta :attribute ei voitu yhdistää tiedostosta löytyvään otsakkeeseen, se on vaadittu tuontia varten.',
],
];
+23
View File
@@ -0,0 +1,23 @@
<?php
return [
'confirmation' => 'Oletko varma että haluat tehdä tämän?',
'actions' => [
'cancel' => [
'label' => 'Peruuta',
],
'confirm' => [
'label' => 'Vahvista',
],
'submit' => [
'label' => 'Lähetä',
],
],
];
+10
View File
@@ -0,0 +1,10 @@
<?php
return [
'throttled' => [
'title' => 'Liian monta yritystä',
'body' => 'Yritä uudelleen :seconds sekunnin päästä.',
],
];
+33
View File
@@ -0,0 +1,33 @@
<?php
return [
'single' => [
'label' => 'Monista',
'modal' => [
'heading' => 'Monista :label',
'actions' => [
'replicate' => [
'label' => 'Monista',
],
],
],
'notifications' => [
'replicated' => [
'title' => 'Tietue monistettu',
],
],
],
];
+73
View File
@@ -0,0 +1,73 @@
<?php
return [
'single' => [
'label' => 'Palauta',
'modal' => [
'heading' => 'Palauta :label',
'actions' => [
'restore' => [
'label' => 'Palauta',
],
],
],
'notifications' => [
'restored' => [
'title' => 'Palautettu',
],
],
],
'multiple' => [
'label' => 'Palauta valitut',
'modal' => [
'heading' => 'Palauta valitut :label',
'actions' => [
'restore' => [
'label' => 'Palauta',
],
],
],
'notifications' => [
'restored' => [
'title' => 'Palautettu',
],
'restored_partial' => [
'title' => 'Palautettu :count / :total',
'missing_authorization_failure_message' => 'Sinulla ei ole oikeuksia palauttaa :count.',
'missing_processing_failure_message' => ':count ei voitu palauttaa.',
],
'restored_none' => [
'title' => 'Palautus epäonnistui',
'missing_authorization_failure_message' => 'Sinulla ei ole oikeuksia palauttaa :count.',
'missing_processing_failure_message' => ':count ei voitu palauttaa.',
],
],
],
];
+25
View File
@@ -0,0 +1,25 @@
<?php
return [
'single' => [
'label' => 'Näytä',
'modal' => [
'heading' => 'Näytä :label',
'actions' => [
'close' => [
'label' => 'Sulje',
],
],
],
],
];