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' => 'Registro',
],
],
'actions' => [
'associate' => [
'label' => 'Associar',
],
'associate_another' => [
'label' => 'Salvar e associar outro',
],
],
],
'notifications' => [
'associated' => [
'title' => 'Associado',
],
],
],
];
+45
View File
@@ -0,0 +1,45 @@
<?php
return [
'single' => [
'label' => 'Vincular',
'modal' => [
'heading' => 'Vincular :label',
'fields' => [
'record_id' => [
'label' => 'Registro',
],
],
'actions' => [
'attach' => [
'label' => 'Vincular',
],
'attach_another' => [
'label' => 'Salvar e vincular outro',
],
],
],
'notifications' => [
'attached' => [
'title' => 'Vinculado',
],
],
],
];
+37
View File
@@ -0,0 +1,37 @@
<?php
return [
'single' => [
'label' => 'Criar :label',
'modal' => [
'heading' => 'Criar :label',
'actions' => [
'create' => [
'label' => 'Criar',
],
'create_another' => [
'label' => 'Salvar e criar outro',
],
],
],
'notifications' => [
'created' => [
'title' => 'Criado',
],
],
],
];
+73
View File
@@ -0,0 +1,73 @@
<?php
return [
'single' => [
'label' => 'Excluir',
'modal' => [
'heading' => 'Excluir :label',
'actions' => [
'delete' => [
'label' => 'Excluir',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Excluído',
],
],
],
'multiple' => [
'label' => 'Excluir selecionado',
'modal' => [
'heading' => 'Excluir :label selecionado',
'actions' => [
'delete' => [
'label' => 'Excluir',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Excluído',
],
'deleted_partial' => [
'title' => 'Excluídos :count de :total',
'missing_authorization_failure_message' => 'Você não tem permissão para excluir :count.',
'missing_processing_failure_message' => ':count não pôde(m) ser excluído(s).',
],
'deleted_none' => [
'title' => 'Falha ao excluir',
'missing_authorization_failure_message' => 'Você não tem permissão para excluir :count.',
'missing_processing_failure_message' => ':count não pôde(m) ser excluído(s).',
],
],
],
];
+61
View File
@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Desvincular',
'modal' => [
'heading' => 'Desvincular :label',
'actions' => [
'detach' => [
'label' => 'Desvincular',
],
],
],
'notifications' => [
'detached' => [
'title' => 'Desvinculado',
],
],
],
'multiple' => [
'label' => 'Desvincular selecionado',
'modal' => [
'heading' => 'Desvincular :label selecionado',
'actions' => [
'detach' => [
'label' => 'Desvincular',
],
],
],
'notifications' => [
'detached' => [
'title' => 'Desvinculado',
],
],
],
];
+61
View File
@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Dissociar',
'modal' => [
'heading' => 'Dissociar :label',
'actions' => [
'dissociate' => [
'label' => 'Dissociar',
],
],
],
'notifications' => [
'dissociated' => [
'title' => 'Dissociado',
],
],
],
'multiple' => [
'label' => 'Dissociar selecionado',
'modal' => [
'heading' => 'Dissociar :label selecionado',
'actions' => [
'dissociate' => [
'label' => 'Dissociar',
],
],
],
'notifications' => [
'dissociated' => [
'title' => 'Dissociado',
],
],
],
];
+33
View File
@@ -0,0 +1,33 @@
<?php
return [
'single' => [
'label' => 'Editar',
'modal' => [
'heading' => 'Editar :label',
'actions' => [
'save' => [
'label' => 'Salvar alterações',
],
],
],
'notifications' => [
'saved' => [
'title' => 'Salvo',
],
],
],
];
+77
View File
@@ -0,0 +1,77 @@
<?php
return [
'label' => 'Exportar :label',
'modal' => [
'heading' => 'Exportar :label',
'form' => [
'columns' => [
'label' => 'Colunas',
'form' => [
'is_enabled' => [
'label' => ':column ativa',
],
'label' => [
'label' => 'Rótulo para :column',
],
],
],
],
'actions' => [
'export' => [
'label' => 'Exportar',
],
],
],
'notifications' => [
'completed' => [
'title' => 'Exportação completa',
'actions' => [
'download_csv' => [
'label' => 'Baixar .csv',
],
'download_xlsx' => [
'label' => 'Baixar .xlsx',
],
],
],
'max_rows' => [
'title' => 'A exportação é muito grande',
'body' => 'Não é possível exportar mais de 1 linha de uma vez.|Não é possível exportar mais de :count linhas de uma vez.',
],
'started' => [
'title' => 'Exportação iniciada',
'body' => 'A exportação foi iniciada e 1 linha será processada em segundo plano.|A exportação foi iniciada e :count linhas serão processadas em segundo plano.',
],
],
'file_name' => 'export-:export_id-:model',
];
+73
View File
@@ -0,0 +1,73 @@
<?php
return [
'single' => [
'label' => 'Forçar exclusão',
'modal' => [
'heading' => 'Forçar exclusão de :label',
'actions' => [
'delete' => [
'label' => 'Excluir',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Excluído',
],
],
],
'multiple' => [
'label' => 'Forçar exclusão selecionado',
'modal' => [
'heading' => 'Forçar exclusão de :label selecionado',
'actions' => [
'delete' => [
'label' => 'Excluir',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Excluído',
],
'deleted_partial' => [
'title' => 'Excluídos :count de :total',
'missing_authorization_failure_message' => 'Você não tem permissão para excluir :count.',
'missing_processing_failure_message' => ':count não pôde(m) ser excluído(s).',
],
'deleted_none' => [
'title' => 'Falha ao excluir',
'missing_authorization_failure_message' => 'Você não tem permissão para excluir :count.',
'missing_processing_failure_message' => ':count não pôde(m) ser excluído(s).',
],
],
],
];
+9
View File
@@ -0,0 +1,9 @@
<?php
return [
'trigger' => [
'label' => 'Ações',
],
];
+85
View File
@@ -0,0 +1,85 @@
<?php
return [
'label' => 'Importar :label',
'modal' => [
'heading' => 'Importar :label',
'form' => [
'file' => [
'label' => 'Arquivo',
'placeholder' => 'Enviar um arquivo CSV',
'rules' => [
'duplicate_columns' => '{0} O arquivo não deve possuir mais de uma coluna sem cabeçalho.|{1,*} O arquivo não pode conter colunas com cabeçalhos iguais: :columns.',
],
],
'columns' => [
'label' => 'Colunas',
'placeholder' => 'Selecione uma coluna',
],
],
'actions' => [
'download_example' => [
'label' => 'Baixar um arquivo CSV de exemplo',
],
'import' => [
'label' => 'Importar',
],
],
],
'notifications' => [
'completed' => [
'title' => 'Importação completa',
'actions' => [
'download_failed_rows_csv' => [
'label' => 'Baixar informações sobre a linha que falhou|Baixar informações sobre as linhas que falharam',
],
],
],
'max_rows' => [
'title' => 'O arquivo CSV enviado é muito grande',
'body' => 'Não é possível importar mais de 1 linha de uma vez.|Não é possível importar mais de :count linhas de uma 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, entre em contato com o suporte.',
'column_mapping_required_for_new_record' => 'A coluna :attribute não foi mapeada para uma coluna no arquivo, mas é necessária para criar novos registros.',
],
];
+23
View File
@@ -0,0 +1,23 @@
<?php
return [
'confirmation' => 'Você tem certeza que gostaria de fazer isso?',
'actions' => [
'cancel' => [
'label' => 'Cancelar',
],
'confirm' => [
'label' => 'Confirmar',
],
'submit' => [
'label' => 'Enviar',
],
],
];
+10
View File
@@ -0,0 +1,10 @@
<?php
return [
'throttled' => [
'title' => 'Muitas tentativas',
'body' => 'Tente novamente em :seconds segundos.',
],
];
+33
View File
@@ -0,0 +1,33 @@
<?php
return [
'single' => [
'label' => 'Replicar',
'modal' => [
'heading' => 'Replicar :label',
'actions' => [
'replicate' => [
'label' => 'Replicar',
],
],
],
'notifications' => [
'replicated' => [
'title' => 'Replicado',
],
],
],
];
+73
View File
@@ -0,0 +1,73 @@
<?php
return [
'single' => [
'label' => 'Restaurar',
'modal' => [
'heading' => 'Restaurar :label',
'actions' => [
'restore' => [
'label' => 'Restaurar',
],
],
],
'notifications' => [
'restored' => [
'title' => 'Restaurado',
],
],
],
'multiple' => [
'label' => 'Restaurar selecionado',
'modal' => [
'heading' => 'Restaurar :label selecionado',
'actions' => [
'restore' => [
'label' => 'Restaurar',
],
],
],
'notifications' => [
'restored' => [
'title' => 'Restaurado',
],
'restored_partial' => [
'title' => 'Restaurados :count de :total',
'missing_authorization_failure_message' => 'Você 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' => 'Você não tem permissão para restaurar :count.',
'missing_processing_failure_message' => ':count não puderam ser restaurados.',
],
],
],
];
+25
View File
@@ -0,0 +1,25 @@
<?php
return [
'single' => [
'label' => 'Visualizar',
'modal' => [
'heading' => 'Visualizar :label',
'actions' => [
'close' => [
'label' => 'Fechar',
],
],
],
],
];