[增添]添加了datasource的setting数据库以及默认值

This commit is contained in:
makotocc0107
2024-08-27 09:57:44 +08:00
parent d111dfaea4
commit 72eb990970
10955 changed files with 978898 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
<?php
return [
'single' => [
'label' => 'Associate',
'modal' => [
'heading' => 'Associate :label',
'fields' => [
'record_id' => [
'label' => 'Record',
],
],
'actions' => [
'associate' => [
'label' => 'Associate',
],
'associate_another' => [
'label' => 'Associate & associate another',
],
],
],
'notifications' => [
'associated' => [
'title' => 'Associated',
],
],
],
];

View File

@@ -0,0 +1,45 @@
<?php
return [
'single' => [
'label' => 'Attach',
'modal' => [
'heading' => 'Attach :label',
'fields' => [
'record_id' => [
'label' => 'Record',
],
],
'actions' => [
'attach' => [
'label' => 'Attach',
],
'attach_another' => [
'label' => 'Attach & attach another',
],
],
],
'notifications' => [
'attached' => [
'title' => 'Attached',
],
],
],
];

View File

@@ -0,0 +1,37 @@
<?php
return [
'single' => [
'label' => 'New :label',
'modal' => [
'heading' => 'Create :label',
'actions' => [
'create' => [
'label' => 'Create',
],
'create_another' => [
'label' => 'Create & create another',
],
],
],
'notifications' => [
'created' => [
'title' => 'Created',
],
],
],
];

View File

@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Delete',
'modal' => [
'heading' => 'Delete :label',
'actions' => [
'delete' => [
'label' => 'Delete',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Deleted',
],
],
],
'multiple' => [
'label' => 'Delete selected',
'modal' => [
'heading' => 'Delete selected :label',
'actions' => [
'delete' => [
'label' => 'Delete',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Deleted',
],
],
],
];

View File

@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Detach',
'modal' => [
'heading' => 'Detach :label',
'actions' => [
'detach' => [
'label' => 'Detach',
],
],
],
'notifications' => [
'detached' => [
'title' => 'Detached',
],
],
],
'multiple' => [
'label' => 'Detach selected',
'modal' => [
'heading' => 'Detach selected :label',
'actions' => [
'detach' => [
'label' => 'Detach',
],
],
],
'notifications' => [
'detached' => [
'title' => 'Detached',
],
],
],
];

View File

@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Dissociate',
'modal' => [
'heading' => 'Dissociate :label',
'actions' => [
'dissociate' => [
'label' => 'Dissociate',
],
],
],
'notifications' => [
'dissociated' => [
'title' => 'Dissociated',
],
],
],
'multiple' => [
'label' => 'Dissociate selected',
'modal' => [
'heading' => 'Dissociate selected :label',
'actions' => [
'dissociate' => [
'label' => 'Dissociate',
],
],
],
'notifications' => [
'dissociated' => [
'title' => 'Dissociated',
],
],
],
];

View File

@@ -0,0 +1,33 @@
<?php
return [
'single' => [
'label' => 'Edit',
'modal' => [
'heading' => 'Edit :label',
'actions' => [
'save' => [
'label' => 'Save changes',
],
],
],
'notifications' => [
'saved' => [
'title' => 'Saved',
],
],
],
];

View File

@@ -0,0 +1,77 @@
<?php
return [
'label' => 'Export :label',
'modal' => [
'heading' => 'Export :label',
'form' => [
'columns' => [
'label' => 'Columns',
'form' => [
'is_enabled' => [
'label' => ':column enabled',
],
'label' => [
'label' => ':column label',
],
],
],
],
'actions' => [
'export' => [
'label' => 'Export',
],
],
],
'notifications' => [
'completed' => [
'title' => 'Export completed',
'actions' => [
'download_csv' => [
'label' => 'Download .csv',
],
'download_xlsx' => [
'label' => 'Download .xlsx',
],
],
],
'max_rows' => [
'title' => 'Export is too large',
'body' => 'You may not export more than 1 row at once.|You may not export more than :count rows at once.',
],
'started' => [
'title' => 'Export started',
'body' => 'Your export has begun and 1 row will be processed in the background. You will receive a notification with the download link when it is complete.|Your export has begun and :count rows will be processed in the background. You will receive a notification with the download link when it is complete.',
],
],
'file_name' => 'export-:export_id-:model',
];

View File

@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Force delete',
'modal' => [
'heading' => 'Force delete :label',
'actions' => [
'delete' => [
'label' => 'Delete',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Deleted',
],
],
],
'multiple' => [
'label' => 'Force delete selected',
'modal' => [
'heading' => 'Force delete selected :label',
'actions' => [
'delete' => [
'label' => 'Delete',
],
],
],
'notifications' => [
'deleted' => [
'title' => 'Deleted',
],
],
],
];

View File

@@ -0,0 +1,9 @@
<?php
return [
'trigger' => [
'label' => 'Actions',
],
];

View File

@@ -0,0 +1,84 @@
<?php
return [
'label' => 'Import :label',
'modal' => [
'heading' => 'Import :label',
'form' => [
'file' => [
'label' => 'File',
'placeholder' => 'Upload a CSV file',
'rules' => [
'duplicate_columns' => '{0} The file must not contain more than one empty column header.|{1,*} The file must not contain duplicate column headers: :columns.',
],
],
'columns' => [
'label' => 'Columns',
'placeholder' => 'Select a column',
],
],
'actions' => [
'download_example' => [
'label' => 'Download example CSV file',
],
'import' => [
'label' => 'Import',
],
],
],
'notifications' => [
'completed' => [
'title' => 'Import completed',
'actions' => [
'download_failed_rows_csv' => [
'label' => 'Download information about the failed row|Download information about the failed rows',
],
],
],
'max_rows' => [
'title' => 'Uploaded CSV file is too large',
'body' => 'You may not import more than 1 row at once.|You may not import more than :count rows at once.',
],
'started' => [
'title' => 'Import started',
'body' => 'Your import has begun and 1 row will be processed in the background.|Your import has begun and :count rows will be processed in the background.',
],
],
'example_csv' => [
'file_name' => ':importer-example',
],
'failure_csv' => [
'file_name' => 'import-:import_id-:csv_name-failed-rows',
'error_header' => 'error',
'system_error' => 'System error, please contact support.',
],
];

View File

@@ -0,0 +1,23 @@
<?php
return [
'confirmation' => 'Are you sure you would like to do this?',
'actions' => [
'cancel' => [
'label' => 'Cancel',
],
'confirm' => [
'label' => 'Confirm',
],
'submit' => [
'label' => 'Submit',
],
],
];

View File

@@ -0,0 +1,33 @@
<?php
return [
'single' => [
'label' => 'Replicate',
'modal' => [
'heading' => 'Replicate :label',
'actions' => [
'replicate' => [
'label' => 'Replicate',
],
],
],
'notifications' => [
'replicated' => [
'title' => 'Replicated',
],
],
],
];

View File

@@ -0,0 +1,61 @@
<?php
return [
'single' => [
'label' => 'Restore',
'modal' => [
'heading' => 'Restore :label',
'actions' => [
'restore' => [
'label' => 'Restore',
],
],
],
'notifications' => [
'restored' => [
'title' => 'Restored',
],
],
],
'multiple' => [
'label' => 'Restore selected',
'modal' => [
'heading' => 'Restore selected :label',
'actions' => [
'restore' => [
'label' => 'Restore',
],
],
],
'notifications' => [
'restored' => [
'title' => 'Restored',
],
],
],
];

View File

@@ -0,0 +1,25 @@
<?php
return [
'single' => [
'label' => 'View',
'modal' => [
'heading' => 'View :label',
'actions' => [
'close' => [
'label' => 'Close',
],
],
],
],
];