feat: add routes, lang, tests, stubs, docs, and docker configurations
This commit is contained in:
+45
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Associar',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Associar :label',
|
||||
|
||||
'fields' => [
|
||||
|
||||
'record_id' => [
|
||||
'label' => 'Registo',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'associate' => [
|
||||
'label' => 'Associar',
|
||||
],
|
||||
|
||||
'associate_another' => [
|
||||
'label' => 'Associar e associar outro',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'associated' => [
|
||||
'title' => 'Associado',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Vincular',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Vincular :label',
|
||||
|
||||
'fields' => [
|
||||
|
||||
'record_id' => [
|
||||
'label' => 'Registo',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'attach' => [
|
||||
'label' => 'Vincular',
|
||||
],
|
||||
|
||||
'attach_another' => [
|
||||
'label' => 'Vincular e vincular outro',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'attached' => [
|
||||
'title' => 'Vinculado',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Criar :label',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Criar :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'create' => [
|
||||
'label' => 'Criar',
|
||||
],
|
||||
|
||||
'create_another' => [
|
||||
'label' => 'Criar e criar novo',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'created' => [
|
||||
'title' => 'Criado',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Eliminar',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Eliminar :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Eliminar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'Eliminado',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Eliminar seleccionados',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Eliminar :label seleccionados',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Eliminar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'Eliminado',
|
||||
],
|
||||
|
||||
'deleted_partial' => [
|
||||
'title' => 'Eliminados :count de :total',
|
||||
'missing_authorization_failure_message' => 'Não tem permissão para eliminar :count.',
|
||||
'missing_processing_failure_message' => ':count não puderam ser eliminados.',
|
||||
],
|
||||
|
||||
'deleted_none' => [
|
||||
'title' => 'Falha ao eliminar',
|
||||
'missing_authorization_failure_message' => 'Não tem permissão para eliminar :count.',
|
||||
'missing_processing_failure_message' => ':count não puderam ser eliminados.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Desvincular',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Desvincular :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'detach' => [
|
||||
'label' => 'Desvincular',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'detached' => [
|
||||
'title' => 'Desvinculado',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Desvincular seleccionados',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Desvincular :label seleccionados',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'detach' => [
|
||||
'label' => 'Desvincular',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'detached' => [
|
||||
'title' => 'Desvinculado',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Desassociar',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Desassociar :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'dissociate' => [
|
||||
'label' => 'Desassociar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'dissociated' => [
|
||||
'title' => 'Desassociado',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Desassociar seleccionados',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Desassociar :label seleccionados',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'dissociate' => [
|
||||
'label' => 'Desassociar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'dissociated' => [
|
||||
'title' => 'Desassociado',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Editar',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Editar :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'save' => [
|
||||
'label' => 'Guardar alterações',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'saved' => [
|
||||
'title' => 'Guardado',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+77
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Exportar :label',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Exportar :label',
|
||||
|
||||
'form' => [
|
||||
|
||||
'columns' => [
|
||||
|
||||
'label' => 'Colunas',
|
||||
|
||||
'form' => [
|
||||
|
||||
'is_enabled' => [
|
||||
'label' => ':column activa',
|
||||
],
|
||||
|
||||
'label' => [
|
||||
'label' => 'etiqueta para :column',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'export' => [
|
||||
'label' => 'Exportar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'completed' => [
|
||||
|
||||
'title' => 'Exportação terminada',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'download_csv' => [
|
||||
'label' => 'Descarregar .csv',
|
||||
],
|
||||
|
||||
'download_xlsx' => [
|
||||
'label' => 'Descarregar .xlsx',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'max_rows' => [
|
||||
'title' => 'A exportação é demasiado grande',
|
||||
'body' => 'Não é possível exportar mais de um registo de uma só vez.|Não é possível exportar mais de :count registos de uma só vez.',
|
||||
],
|
||||
|
||||
'started' => [
|
||||
'title' => 'Exportação iniciada',
|
||||
'body' => 'A exportação foi iniciada e 1 registo será processado em segundo plano.|A exportação foi iniciada e :count registos serão processados em segundo plano.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'file_name' => 'export-:export_id-:model',
|
||||
|
||||
];
|
||||
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Eliminar permanentemente',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Eliminar permanentemente :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Eliminar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'Eliminado',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Eliminar permanentemente seleccionados',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Eliminar permanentemente :label seleccionados',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Eliminar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'Eliminado',
|
||||
],
|
||||
|
||||
'deleted_partial' => [
|
||||
'title' => 'Eliminados :count de :total',
|
||||
'missing_authorization_failure_message' => 'Não tem permissão para eliminar :count.',
|
||||
'missing_processing_failure_message' => ':count não puderam ser eliminados.',
|
||||
],
|
||||
|
||||
'deleted_none' => [
|
||||
'title' => 'Falha ao eliminar',
|
||||
'missing_authorization_failure_message' => 'Não tem permissão para eliminar :count.',
|
||||
'missing_processing_failure_message' => ':count não puderam ser eliminados.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'trigger' => [
|
||||
'label' => 'Acções',
|
||||
],
|
||||
|
||||
];
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Importar :label',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Importar :label',
|
||||
|
||||
'form' => [
|
||||
|
||||
'file' => [
|
||||
'label' => 'Ficheiro',
|
||||
'placeholder' => 'Carregar um ficheiro CSV',
|
||||
'rules' => [
|
||||
'duplicate_columns' => '{0} O ficheiro não pode conter, em falta, mais de um cabeçalho.|{1,*} O ficheiro não pode conter cabeçalhos em duplicado: :columns.',
|
||||
],
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
'label' => 'Colunas',
|
||||
'placeholder' => 'Seleccione uma coluna',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'download_example' => [
|
||||
'label' => 'Descarregar um ficheiro CSV de exemplo',
|
||||
],
|
||||
|
||||
'import' => [
|
||||
'label' => 'Importar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'completed' => [
|
||||
|
||||
'title' => 'Importação completa',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'download_failed_rows_csv' => [
|
||||
'label' => 'Descarregar informação sobre a falha na linha|Descarregar informação sobre as falhas nas linhas',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'max_rows' => [
|
||||
'title' => 'O ficheiro CSV carregado é demasiado grande',
|
||||
'body' => 'Não é possível importar mais de uma linha de uma só vez.|Não é possível importar mais de :count linhas de uma só vez.',
|
||||
],
|
||||
|
||||
'started' => [
|
||||
'title' => 'Importação iniciada',
|
||||
'body' => 'A importação foi iniciada e 1 linha será processada em segundo plano.|A importação foi iniciada e :count linhas serão processadas em segundo plano.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'example_csv' => [
|
||||
'file_name' => ':importer-example',
|
||||
],
|
||||
|
||||
'failure_csv' => [
|
||||
'file_name' => 'import-:import_id-:csv_name-failed-rows',
|
||||
'error_header' => 'erro',
|
||||
'system_error' => 'Erro de sistema, por favor, contacte o suporte técnico.',
|
||||
'column_mapping_required_for_new_record' => 'A coluna :attribute não foi mapeada a uma coluna no ficheiro, no entanto é necessária para a criação de novos registos.',
|
||||
],
|
||||
|
||||
];
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'confirmation' => 'Tem a certeza que deseja prosseguir?',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'cancel' => [
|
||||
'label' => 'Cancelar',
|
||||
],
|
||||
|
||||
'confirm' => [
|
||||
'label' => 'Confirmar',
|
||||
],
|
||||
|
||||
'submit' => [
|
||||
'label' => 'Submeter',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'throttled' => [
|
||||
'title' => 'Demasiadas tentativas',
|
||||
'body' => 'Tente novamente em :seconds segundos.',
|
||||
],
|
||||
|
||||
];
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Replicar',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Replicar :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'replicate' => [
|
||||
'label' => 'Replicar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'replicated' => [
|
||||
'title' => 'Replicado',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Restaurar',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Restaurar :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'restore' => [
|
||||
'label' => 'Restaurar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'restored' => [
|
||||
'title' => 'Restaurado',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Restaurar seleccionados',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Restaurar :label seleccionados',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'restore' => [
|
||||
'label' => 'Restaurar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'restored' => [
|
||||
'title' => 'Restaurado',
|
||||
],
|
||||
|
||||
'restored_partial' => [
|
||||
'title' => 'Restaurados :count de :total',
|
||||
'missing_authorization_failure_message' => 'Não tem permissão para restaurar :count.',
|
||||
'missing_processing_failure_message' => ':count não puderam ser restaurados.',
|
||||
],
|
||||
|
||||
'restored_none' => [
|
||||
'title' => 'Falha ao restaurar',
|
||||
'missing_authorization_failure_message' => 'Não tem permissão para restaurar :count.',
|
||||
'missing_processing_failure_message' => ':count não puderam ser restaurados.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Visualizar',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Visualizar :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'close' => [
|
||||
'label' => 'Fechar',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user