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' => 'Koppla',
'modal' => [
'heading' => 'Koppla :label',
'fields' => [
'record_id' => [
'label' => 'Objekt',
],
],
'actions' => [
'associate' => [
'label' => 'Koppla',
],
'associate_another' => [
'label' => 'Koppla & koppla en till',
],
],
],
'notifications' => [
'associated' => [
'title' => 'Kopplades',
],
],
],
];
+45
View File
@@ -0,0 +1,45 @@
<?php
return [
'single' => [
'label' => 'Koppla',
'modal' => [
'heading' => 'Koppla :label',
'fields' => [
'record_id' => [
'label' => 'Objekt',
],
],
'actions' => [
'attach' => [
'label' => 'Koppla',
],
'attach_another' => [
'label' => 'Koppla & koppla en till',
],
],
],
'notifications' => [
'attached' => [
'title' => 'Kopplades',
],
],
],
];
+37
View File
@@ -0,0 +1,37 @@
<?php
return [
'single' => [
'label' => 'Ny :label',
'modal' => [
'heading' => 'Skapa :label',
'actions' => [
'create' => [
'label' => 'Skapa',
],
'create_another' => [
'label' => 'Skapa & skapa en till',
],
],
],
'notifications' => [
'created' => [
'title' => 'Skapades',
],
],
],
];
+73
View File
@@ -0,0 +1,73 @@
<?php
return [
'single' => [
'label' => 'Radera',
'modal' => [
'heading' => 'Radera :label',
'actions' => [
'delete' => [
'label' => 'Radera',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Raderades',
],
],
],
'multiple' => [
'label' => 'Radera valda',
'modal' => [
'heading' => 'Radera valda :label',
'actions' => [
'delete' => [
'label' => 'Radera',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Raderades',
],
'deleted_partial' => [
'title' => 'Raderade :count av :total',
'missing_authorization_failure_message' => 'Du har inte behörighet att radera :count.',
'missing_processing_failure_message' => ':count kunde inte raderas.',
],
'deleted_none' => [
'title' => 'Misslyckades att radera',
'missing_authorization_failure_message' => 'Du har inte behörighet att radera :count.',
'missing_processing_failure_message' => ':count kunde inte raderas.',
],
],
],
];
+61
View File
@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Frånkoppla',
'modal' => [
'heading' => 'Frånkoppla :label',
'actions' => [
'detach' => [
'label' => 'Frånkoppla',
],
],
],
'notifications' => [
'detached' => [
'title' => 'Frånkopplades',
],
],
],
'multiple' => [
'label' => 'Frånkoppla valda',
'modal' => [
'heading' => 'Frånkoppla valda :label',
'actions' => [
'detach' => [
'label' => 'Frånkoppla',
],
],
],
'notifications' => [
'detached' => [
'title' => 'Frånkopplades',
],
],
],
];
+61
View File
@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Frånkoppla',
'modal' => [
'heading' => 'Frånkoppla :label',
'actions' => [
'dissociate' => [
'label' => 'Frånkoppla',
],
],
],
'notifications' => [
'dissociated' => [
'title' => 'Frånkopplades',
],
],
],
'multiple' => [
'label' => 'Frånkoppla valda',
'modal' => [
'heading' => 'Frånkoppla valda :label',
'actions' => [
'dissociate' => [
'label' => 'Frånkoppla',
],
],
],
'notifications' => [
'dissociated' => [
'title' => 'Frånkopplades',
],
],
],
];
+33
View File
@@ -0,0 +1,33 @@
<?php
return [
'single' => [
'label' => 'Redigera',
'modal' => [
'heading' => 'Redigera :label',
'actions' => [
'save' => [
'label' => 'Spara ändringar',
],
],
],
'notifications' => [
'saved' => [
'title' => 'Sparades',
],
],
],
];
+94
View File
@@ -0,0 +1,94 @@
<?php
return [
'label' => 'Exportera :label',
'modal' => [
'heading' => 'Exportera :label',
'form' => [
'columns' => [
'label' => 'Kolumner',
'actions' => [
'select_all' => [
'label' => 'Markera alla',
],
'deselect_all' => [
'label' => 'Avmarkera alla',
],
],
'form' => [
'is_enabled' => [
'label' => ':column aktiverad',
],
'label' => [
'label' => ':column namn',
],
],
],
],
'actions' => [
'export' => [
'label' => 'Exportera',
],
],
],
'notifications' => [
'completed' => [
'title' => 'Export slutförd',
'actions' => [
'download_csv' => [
'label' => 'Ladda ner .csv',
],
'download_xlsx' => [
'label' => 'Ladda ner .xlsx',
],
],
],
'max_rows' => [
'title' => 'Exporten är för stor',
'body' => 'Du kan inte exportera fler än 1 rad åt gången.|Du kan inte exportera fler än :count rader åt gången.',
],
'no_columns' => [
'title' => 'Inga kolumner valda',
'body' => 'Välj minst en kolumn att exportera.',
],
'started' => [
'title' => 'Exporten startades',
'body' => 'Din export har börjat och 1 rad kommer att bearbetas i bakgrunden. Du får en notis med en nedladdningslänk när den är slutförd.|Din export har börjat och :count rader kommer att bearbetas i bakgrunden. Du får en notis med en nedladdningslänk när den är slutförd.',
],
],
'file_name' => 'export-:export_id-:model',
];
+73
View File
@@ -0,0 +1,73 @@
<?php
return [
'single' => [
'label' => 'Tvångsradera',
'modal' => [
'heading' => 'Tvångsradera :label',
'actions' => [
'delete' => [
'label' => 'Radera',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Raderades',
],
],
],
'multiple' => [
'label' => 'Tvångsradera valda',
'modal' => [
'heading' => 'Tvångsradera valda :label',
'actions' => [
'delete' => [
'label' => 'Radera',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Raderades',
],
'deleted_partial' => [
'title' => 'Raderade :count av :total',
'missing_authorization_failure_message' => 'Du har inte behörighet att radera :count.',
'missing_processing_failure_message' => ':count kunde inte raderas.',
],
'deleted_none' => [
'title' => 'Misslyckades att radera',
'missing_authorization_failure_message' => 'Du har inte behörighet att radera :count.',
'missing_processing_failure_message' => ':count kunde inte raderas.',
],
],
],
];
+9
View File
@@ -0,0 +1,9 @@
<?php
return [
'trigger' => [
'label' => 'Åtgärder',
],
];
+85
View File
@@ -0,0 +1,85 @@
<?php
return [
'label' => 'Importera :label',
'modal' => [
'heading' => 'Importera :label',
'form' => [
'file' => [
'label' => 'Fil',
'placeholder' => 'Ladda upp en CSV-fil',
'rules' => [
'duplicate_columns' => '{0} Filen kan inte innehålla fler än en tom kolumn i rubrikraden.|{1,*} Filen kan inte innehålla identiska kolumner i rubrikraden: :columns.',
],
],
'columns' => [
'label' => 'Kolumner',
'placeholder' => 'Välj en kolumn',
],
],
'actions' => [
'download_example' => [
'label' => 'Ladda ner exempelfil (CSV)',
],
'import' => [
'label' => 'Importera',
],
],
],
'notifications' => [
'completed' => [
'title' => 'Import slutförd',
'actions' => [
'download_failed_rows_csv' => [
'label' => 'Ladda ner information om den misslyckade raden|Ladda ner information om de misslyckade raderna',
],
],
],
'max_rows' => [
'title' => 'Den uppladdade CSV-filen är för stor',
'body' => 'Du kan inte importera fler än 1 rad åt gången.|Du kan inte importera fler än :count rader åt gången.',
],
'started' => [
'title' => 'Importen startades',
'body' => 'Din import har börjat och 1 rad kommer att bearbetas i bakgrunden.|Din import har börjat och :count rader kommer att bearbetas i bakgrunden.',
],
],
'example_csv' => [
'file_name' => ':importer-example',
],
'failure_csv' => [
'file_name' => 'import-:import_id-:csv_name-misslyckade-rader',
'error_header' => 'fel',
'system_error' => 'Systemfel, vänligen kontakta support.',
'column_mapping_required_for_new_record' => 'Kolumnen :attribute är inte mappad till någon kolumn i filen, men den krävs för att skapa nya objekt.',
],
];
+23
View File
@@ -0,0 +1,23 @@
<?php
return [
'confirmation' => 'Är du säker på att du vill göra det här?',
'actions' => [
'cancel' => [
'label' => 'Avbryt',
],
'confirm' => [
'label' => 'Bekräfta',
],
'submit' => [
'label' => 'Skicka',
],
],
];
+10
View File
@@ -0,0 +1,10 @@
<?php
return [
'throttled' => [
'title' => 'För många försök',
'body' => 'Vänligen försök igen om :seconds sekunder.',
],
];
+33
View File
@@ -0,0 +1,33 @@
<?php
return [
'single' => [
'label' => 'Duplicera',
'modal' => [
'heading' => 'Duplicera :label',
'actions' => [
'replicate' => [
'label' => 'Duplicera',
],
],
],
'notifications' => [
'replicated' => [
'title' => 'Duplicerades',
],
],
],
];
+73
View File
@@ -0,0 +1,73 @@
<?php
return [
'single' => [
'label' => 'Återställ',
'modal' => [
'heading' => 'Återställ :label',
'actions' => [
'restore' => [
'label' => 'Återställ',
],
],
],
'notifications' => [
'restored' => [
'title' => 'Återställdes',
],
],
],
'multiple' => [
'label' => 'Återställ valda',
'modal' => [
'heading' => 'Återställ valda :label',
'actions' => [
'restore' => [
'label' => 'Återställ',
],
],
],
'notifications' => [
'restored' => [
'title' => 'Återställdes',
],
'restored_partial' => [
'title' => 'Återställde :count av :total',
'missing_authorization_failure_message' => 'Du har inte behörighet att återställa :count.',
'missing_processing_failure_message' => ':count kunde inte återställas.',
],
'restored_none' => [
'title' => 'Misslyckades att återställa',
'missing_authorization_failure_message' => 'Du har inte behörighet att återställa :count.',
'missing_processing_failure_message' => ':count kunde inte återställas.',
],
],
],
];
+25
View File
@@ -0,0 +1,25 @@
<?php
return [
'single' => [
'label' => 'Visa',
'modal' => [
'heading' => 'Visa :label',
'actions' => [
'close' => [
'label' => 'Stäng',
],
],
],
],
];