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' => 'Associar',
'modal' => [
'heading' => 'Associar :label',
'fields' => [
'record_id' => [
'label' => 'Registre',
],
],
'actions' => [
'associate' => [
'label' => 'Associar',
],
'associate_another' => [
'label' => 'Associar i associar un altre',
],
],
],
'notifications' => [
'associated' => [
'title' => 'Associat',
],
],
],
];
+45
View File
@@ -0,0 +1,45 @@
<?php
return [
'single' => [
'label' => 'Vincular',
'modal' => [
'heading' => 'Vincular :label',
'fields' => [
'record_id' => [
'label' => 'Registre',
],
],
'actions' => [
'attach' => [
'label' => 'Vincular',
],
'attach_another' => [
'label' => 'Vincular i vincular un altre',
],
],
],
'notifications' => [
'attached' => [
'title' => 'Vinculats',
],
],
],
];
+37
View File
@@ -0,0 +1,37 @@
<?php
return [
'single' => [
'label' => 'Crear :label',
'modal' => [
'heading' => 'Crear :label',
'actions' => [
'create' => [
'label' => 'Crear',
],
'create_another' => [
'label' => 'Crear i crear un altre',
],
],
],
'notifications' => [
'created' => [
'title' => 'Creat',
],
],
],
];
+73
View File
@@ -0,0 +1,73 @@
<?php
return [
'single' => [
'label' => 'Esborrar',
'modal' => [
'heading' => 'Esborrar :label',
'actions' => [
'delete' => [
'label' => 'Esborrar',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Esborrat',
],
],
],
'multiple' => [
'label' => 'Esborrar seleccionats',
'modal' => [
'heading' => 'Esborrar :label seleccionats',
'actions' => [
'delete' => [
'label' => 'Esborrar',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Esborrats',
],
'deleted_partial' => [
'title' => 'Esborrats :count de :total',
'missing_authorization_failure_message' => 'No tens permís per eliminar :count.',
'missing_processing_failure_message' => ':count no s\'han pogut eliminar.',
],
'deleted_none' => [
'title' => 'No s\'ha pogut eliminar',
'missing_authorization_failure_message' => 'No tens permís per eliminar :count.',
'missing_processing_failure_message' => ':count no s\'han pogut eliminar.',
],
],
],
];
+61
View File
@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Desvincular',
'modal' => [
'heading' => 'Desvincular :label',
'actions' => [
'detach' => [
'label' => 'Desvincular',
],
],
],
'notifications' => [
'detached' => [
'title' => 'Desvinculat',
],
],
],
'multiple' => [
'label' => 'Desvincular seleccionats',
'modal' => [
'heading' => 'Desvincular :label seleccionats',
'actions' => [
'detach' => [
'label' => 'Desvincular seleccionats',
],
],
],
'notifications' => [
'detached' => [
'title' => 'Desvinculats',
],
],
],
];
+61
View File
@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Dissociar',
'modal' => [
'heading' => 'Dissociar :label',
'actions' => [
'dissociate' => [
'label' => 'Dissociar',
],
],
],
'notifications' => [
'dissociated' => [
'title' => 'Dissociat',
],
],
],
'multiple' => [
'label' => 'Dissociar seleccionats',
'modal' => [
'heading' => 'Dissociar :label seleccionats',
'actions' => [
'dissociate' => [
'label' => 'Dissociar',
],
],
],
'notifications' => [
'dissociated' => [
'title' => 'Dissociats',
],
],
],
];
+33
View File
@@ -0,0 +1,33 @@
<?php
return [
'single' => [
'label' => 'Editar',
'modal' => [
'heading' => 'Editar :label',
'actions' => [
'save' => [
'label' => 'Desar canvis',
],
],
],
'notifications' => [
'saved' => [
'title' => 'Desat',
],
],
],
];
+94
View File
@@ -0,0 +1,94 @@
<?php
return [
'label' => 'Exportar :label',
'modal' => [
'heading' => 'Exportar :label',
'form' => [
'columns' => [
'label' => 'Columnes',
'actions' => [
'select_all' => [
'label' => 'Seleccionar tot',
],
'deselect_all' => [
'label' => 'Deseleccionar tot',
],
],
'form' => [
'is_enabled' => [
'label' => ':column activada',
],
'label' => [
'label' => 'etiqueta per a :column',
],
],
],
],
'actions' => [
'export' => [
'label' => 'Exportar',
],
],
],
'notifications' => [
'completed' => [
'title' => 'Exportació completada',
'actions' => [
'download_csv' => [
'label' => 'Descarregar .csv',
],
'download_xlsx' => [
'label' => 'Descarregar .xlsx',
],
],
],
'max_rows' => [
'title' => 'L\'exportació és massa gran',
'body' => 'No es pot exportar més d\'una fila alhora.|No es poden exportar més de :count files alhora.',
],
'no_columns' => [
'title' => 'No s\'ha seleccionat cap columna',
'body' => 'Si us plau, selecciona almenys una columna per exportar.',
],
'started' => [
'title' => 'Exportació iniciada',
'body' => 'L\'exportació ha començat i es processarà una fila en segon pla.|L\'exportació ha començat i es processaran :count files en segon pla.',
],
],
'file_name' => 'export-:export_id-:model',
];
+73
View File
@@ -0,0 +1,73 @@
<?php
return [
'single' => [
'label' => 'Forçar l\'esborrat',
'modal' => [
'heading' => 'Forçar l\'esborrat de :label',
'actions' => [
'delete' => [
'label' => 'Esborrar',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Registre esborrat',
],
],
],
'multiple' => [
'label' => 'Forçar l\'esborrat dels elements seleccionats',
'modal' => [
'heading' => 'Forçar l\'esborrat dels :label seleccionats',
'actions' => [
'delete' => [
'label' => 'Esborrar',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Registres esborrats',
],
'deleted_partial' => [
'title' => 'Esborrats :count de :total',
'missing_authorization_failure_message' => 'No tens permís per esborrar :count.',
'missing_processing_failure_message' => ':count no s\'han pogut esborrar.',
],
'deleted_none' => [
'title' => 'No s\'ha pogut esborrar',
'missing_authorization_failure_message' => 'No tens permís per esborrar :count.',
'missing_processing_failure_message' => ':count no s\'han pogut esborrar.',
],
],
],
];
+9
View File
@@ -0,0 +1,9 @@
<?php
return [
'trigger' => [
'label' => 'Accions',
],
];
+81
View File
@@ -0,0 +1,81 @@
<?php
return [
'label' => 'Importar :label',
'modal' => [
'heading' => 'Importar :label',
'form' => [
'file' => [
'label' => 'Arxiu',
'placeholder' => 'Carregar un arxiu CSV',
'rules' => [
'duplicate_columns' => '{0} El fitxer no ha de contenir més d\'un encapçalament de columna buit.|{1,*} El fitxer no ha de contenir encapçalaments de columna duplicats: :columns.',
],
],
'columns' => [
'label' => 'Columnes',
'placeholder' => 'Seleccionar una columna',
],
],
'actions' => [
'download_example' => [
'label' => 'Descarregar arxiu CSV d\'exemple',
],
'import' => [
'label' => 'Importar',
],
],
],
'notifications' => [
'completed' => [
'title' => 'Importació completada',
'actions' => [
'download_failed_rows_csv' => [
'label' => 'Descarregar informació de la fila fallida|Descarregar informació de les files fallides',
],
],
],
'max_rows' => [
'title' => 'L\'arxiu CSV carregat és massa gran',
'body' => 'No es pot importar més d\'una fila alhora.|No es poden importar més de :count files alhora.',
],
'started' => [
'title' => 'Importació iniciada',
'body' => 'La vostra importació ha començat i es processarà 1 fila en segon pla.|La vostra importació ha començat i es processaran :count files en segon pla.',
],
],
'example_csv' => [
'file_name' => ':importer-example',
],
'failure_csv' => [
'file_name' => 'import-:import_id-:csv_name-failed-rows',
'error_header' => 'error',
'system_error' => 'Error del sistema, poseu-vos en contacte amb el servei d\'assistència.',
'column_mapping_required_for_new_record' => 'La columna :attribute no s\'ha assignat a cap columna del fitxer, però és necessària per crear nous registres.',
],
];
+23
View File
@@ -0,0 +1,23 @@
<?php
return [
'confirmation' => 'Està segur/a de fer això?',
'actions' => [
'cancel' => [
'label' => 'Cancel·lar',
],
'confirm' => [
'label' => 'Confirmar',
],
'submit' => [
'label' => 'Enviar',
],
],
];
+10
View File
@@ -0,0 +1,10 @@
<?php
return [
'throttled' => [
'title' => 'Massa intents',
'body' => 'Si us plau, torna-ho a provar en :seconds segons.',
],
];
+33
View File
@@ -0,0 +1,33 @@
<?php
return [
'single' => [
'label' => 'Replicar',
'modal' => [
'heading' => 'Replicar :label',
'actions' => [
'replicate' => [
'label' => 'Replicar',
],
],
],
'notifications' => [
'replicated' => [
'title' => 'Registre replicat',
],
],
],
];
+73
View File
@@ -0,0 +1,73 @@
<?php
return [
'single' => [
'label' => 'Restaurar',
'modal' => [
'heading' => 'Restaurar :label',
'actions' => [
'restore' => [
'label' => 'Restaurar',
],
],
],
'notifications' => [
'restored' => [
'title' => 'Registre restaurat',
],
],
],
'multiple' => [
'label' => 'Restaurar seleccionats',
'modal' => [
'heading' => 'Restaurar els :label seleccionats',
'actions' => [
'restore' => [
'label' => 'Restaurar',
],
],
],
'notifications' => [
'restored' => [
'title' => 'Registres restaurats',
],
'restored_partial' => [
'title' => 'Restaurats :count de :total',
'missing_authorization_failure_message' => 'No tens permís per restaurar :count.',
'missing_processing_failure_message' => ':count no s\'han pogut restaurar.',
],
'restored_none' => [
'title' => 'Cap registre restaurat',
'missing_authorization_failure_message' => 'No tens permís per restaurar :count.',
'missing_processing_failure_message' => ':count no s\'han pogut restaurar.',
],
],
],
];
+25
View File
@@ -0,0 +1,25 @@
<?php
return [
'single' => [
'label' => 'Vista',
'modal' => [
'heading' => 'Vista de :label',
'actions' => [
'close' => [
'label' => 'Tancar',
],
],
],
],
];