feat: add routes, lang, tests, stubs, docs, and docker configurations
This commit is contained in:
+45
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Kaitkan',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Kaitkan :label',
|
||||
|
||||
'fields' => [
|
||||
|
||||
'record_id' => [
|
||||
'label' => 'Data',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'associate' => [
|
||||
'label' => 'Kaitkan',
|
||||
],
|
||||
|
||||
'associate_another' => [
|
||||
'label' => 'Kaitkan & kaitkan lainnya',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'associated' => [
|
||||
'title' => 'Data berhasil dikaitkan',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Lampirkan',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Lampirkan :label',
|
||||
|
||||
'fields' => [
|
||||
|
||||
'record_id' => [
|
||||
'label' => 'Data',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'attach' => [
|
||||
'label' => 'Lampirkan',
|
||||
],
|
||||
|
||||
'attach_another' => [
|
||||
'label' => 'Lampirkan & lampirkan lainnya',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'attached' => [
|
||||
'title' => 'Data berhasil dilampirkan',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Buat :label',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Buat :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'create' => [
|
||||
'label' => 'Buat',
|
||||
],
|
||||
|
||||
'create_another' => [
|
||||
'label' => 'Buat & buat lainnya',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'created' => [
|
||||
'title' => 'Data berhasil dibuat',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Hapus',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Hapus :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Hapus',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'Data berhasil dihapus',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Hapus yang dipilih',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Hapus :label yang dipilih',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Hapus',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'Data berhasil dihapus',
|
||||
],
|
||||
|
||||
'deleted_partial' => [
|
||||
'title' => 'Menghapus :count dari :total',
|
||||
'missing_authorization_failure_message' => 'Anda tidak mempunyai akses untuk menghapus :count.',
|
||||
'missing_processing_failure_message' => ':count tidak dapat dihapus.',
|
||||
],
|
||||
|
||||
'deleted_none' => [
|
||||
'title' => 'Gagal menghapus',
|
||||
'missing_authorization_failure_message' => 'Anda tidak mempunyai akses untuk menghapus :count.',
|
||||
'missing_processing_failure_message' => ':count tidak dapat dihapus.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Lepaskan lampiran',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Lepaskan lampiran :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'detach' => [
|
||||
'label' => 'Lepaskan lampiran',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'detached' => [
|
||||
'title' => 'Lampiran berhasil dilepaskan',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Lepaskan lampiran yang dipilih',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Lepaskan lampiran :label yang dipilih',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'detach' => [
|
||||
'label' => 'Lepaskan lampiran yang dipilih',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'detached' => [
|
||||
'title' => 'Lampiran berhasil dilepaskan',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Pisahkan',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Pisahkan :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'dissociate' => [
|
||||
'label' => 'Pisahkan',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'dissociated' => [
|
||||
'title' => 'Data berhasil dipisahkan',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Pisahkan yang dipilih',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Pisahkan :label yang dipilih',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'dissociate' => [
|
||||
'label' => 'Pisahkan yang dipilih',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'dissociated' => [
|
||||
'title' => 'Data berhasil dipisahkan',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Ubah',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Ubah :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'save' => [
|
||||
'label' => 'Simpan',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'saved' => [
|
||||
'title' => 'Data berhasil disimpan',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+77
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Ekspor :label',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Ekspor :label',
|
||||
|
||||
'form' => [
|
||||
|
||||
'columns' => [
|
||||
|
||||
'label' => 'Kolom',
|
||||
|
||||
'form' => [
|
||||
|
||||
'is_enabled' => [
|
||||
'label' => ':column diaktifkan',
|
||||
],
|
||||
|
||||
'label' => [
|
||||
'label' => 'Label :column',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'export' => [
|
||||
'label' => 'Ekspor',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'completed' => [
|
||||
|
||||
'title' => 'Ekspor selesai',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'download_csv' => [
|
||||
'label' => 'Unduh .csv',
|
||||
],
|
||||
|
||||
'download_xlsx' => [
|
||||
'label' => 'Unduh .xlsx',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'max_rows' => [
|
||||
'title' => 'Ekspor terlalu besar',
|
||||
'body' => 'Anda tidak dapat mengekspor lebih dari :count sekaligus.',
|
||||
],
|
||||
|
||||
'started' => [
|
||||
'title' => 'Ekspor dimulai',
|
||||
'body' => 'Mulai mengekspor :count baris dan proses akan berjalan di belakang layar.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'file_name' => 'ekspor-:export_id-:model',
|
||||
|
||||
];
|
||||
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Hapus selamanya',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Hapus selamanya :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Hapus',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'Data berhasil dihapus',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Hapus selamanya data yang dipilih',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Hapus selamanya :label yang dipilih',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'Hapus',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'Data berhasil dihapus',
|
||||
],
|
||||
|
||||
'deleted_partial' => [
|
||||
'title' => 'Menghapus :count dari :total',
|
||||
'missing_authorization_failure_message' => 'Anda tidak mempunyai akses untuk menghapus :count.',
|
||||
'missing_processing_failure_message' => ':count tidak dapat dihapus.',
|
||||
],
|
||||
|
||||
'deleted_none' => [
|
||||
'title' => 'Gagal menghapus',
|
||||
'missing_authorization_failure_message' => 'Anda tidak mempunyai akses untuk menghapus :count.',
|
||||
'missing_processing_failure_message' => ':count tidak dapat dihapus.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'trigger' => [
|
||||
'label' => 'Tindakan',
|
||||
],
|
||||
|
||||
];
|
||||
+85
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'Impor :label',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Impor :label',
|
||||
|
||||
'form' => [
|
||||
|
||||
'file' => [
|
||||
|
||||
'label' => 'Berkas',
|
||||
|
||||
'placeholder' => 'Unggah berkas CSV',
|
||||
|
||||
'rules' => [
|
||||
'duplicate_columns' => '{0} Berkas tidak boleh memiliki lebih dari satu kolom header yang kosong.|{1,*} Berkas tidak boleh memiliki kolom header yang duplikat: :columns.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
'label' => 'Kolom',
|
||||
'placeholder' => 'Pilih kolom',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'download_example' => [
|
||||
'label' => 'Unduh contoh berkas CSV',
|
||||
],
|
||||
|
||||
'import' => [
|
||||
'label' => 'Impor',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'completed' => [
|
||||
|
||||
'title' => 'Impor selesai',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'download_failed_rows_csv' => [
|
||||
'label' => 'Unduh informasi baris yang gagal diimpor',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'max_rows' => [
|
||||
'title' => 'Ukuran berkas CSV terlalu besar',
|
||||
'body' => 'Anda tidak dapat mengimpor lebih dari :count baris sekaligus.',
|
||||
],
|
||||
|
||||
'started' => [
|
||||
'title' => 'Impor dimulai',
|
||||
'body' => 'Mulai mengimpor :count baris dan proses akan berjalan di belakang layar.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'example_csv' => [
|
||||
'file_name' => 'contoh-:importer',
|
||||
],
|
||||
|
||||
'failure_csv' => [
|
||||
'file_name' => 'impor-:import_id-:csv_name-gagal',
|
||||
'error_header' => 'kesalahan',
|
||||
'system_error' => 'Terjadi kesalahan sistem, harap hubungi tim support.',
|
||||
'column_mapping_required_for_new_record' => 'Kolom :attribute tidak dipetakan ke kolom dalam berkas, tetapi diperlukan untuk membuat data baru.',
|
||||
],
|
||||
|
||||
];
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'confirmation' => 'Apakah Anda yakin ingin melakukan ini?',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'cancel' => [
|
||||
'label' => 'Batal',
|
||||
],
|
||||
|
||||
'confirm' => [
|
||||
'label' => 'Konfirmasi',
|
||||
],
|
||||
|
||||
'submit' => [
|
||||
'label' => 'Kirim',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'throttled' => [
|
||||
'title' => 'Terlalu banyak permintaan',
|
||||
'body' => 'Silakan coba lagi dalam :seconds detik.',
|
||||
],
|
||||
|
||||
];
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Duplikat data',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Duplikat :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'replicate' => [
|
||||
'label' => 'Duplikat data',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'replicated' => [
|
||||
'title' => 'Data berhasil diduplikat',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Pulihkan data',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Pulihkan :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'restore' => [
|
||||
'label' => 'Pulihkan',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'restored' => [
|
||||
'title' => 'Data berhasil dipulihkan',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'Pulihkan data yang dipilih',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Pulihkan :label yang dipilih',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'restore' => [
|
||||
'label' => 'Pulihkan',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'restored' => [
|
||||
'title' => 'Data berhasil dipulihkan',
|
||||
],
|
||||
|
||||
'restored_partial' => [
|
||||
'title' => 'Pulihkan :count dari :total',
|
||||
'missing_authorization_failure_message' => 'Anda tidak punya akses untuk memulihkan :count.',
|
||||
'missing_processing_failure_message' => ':count tidak dapat dipulihkan.',
|
||||
],
|
||||
|
||||
'restored_none' => [
|
||||
'title' => 'Gagal memulihkan',
|
||||
'missing_authorization_failure_message' => 'Anda tidak punya akses untuk memulihkan :count.',
|
||||
'missing_processing_failure_message' => ':count tidak dapat dipulihkan.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'Lihat',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'Lihat :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'close' => [
|
||||
'label' => 'Tutup',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user