feat: add routes, lang, tests, stubs, docs, and docker configurations
This commit is contained in:
+45
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'ارتباط',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'ارتباط :label',
|
||||
|
||||
'fields' => [
|
||||
|
||||
'record_id' => [
|
||||
'label' => 'رکورد',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'associate' => [
|
||||
'label' => 'ارتباط',
|
||||
],
|
||||
|
||||
'associate_another' => [
|
||||
'label' => 'ارتباط و ارتباط دیگر',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'associated' => [
|
||||
'title' => 'مرتبط شد',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'افزودن',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'افزودن :label',
|
||||
|
||||
'fields' => [
|
||||
|
||||
'record_id' => [
|
||||
'label' => 'رکورد',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'attach' => [
|
||||
'label' => 'افزودن',
|
||||
],
|
||||
|
||||
'attach_another' => [
|
||||
'label' => 'افزودن و افزودن یکی دیگر',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'attached' => [
|
||||
'title' => 'افزوده شد',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'ایجاد :label',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'ایجاد :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'create' => [
|
||||
'label' => 'ایجاد',
|
||||
],
|
||||
|
||||
'create_another' => [
|
||||
'label' => 'ایجاد و ایجاد یکی دیگر',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'created' => [
|
||||
'title' => 'ایجاد شد',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'حذف',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'حذف :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'حذف',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'حذف شد',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'حذف انتخاب شده',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'حذف :label انتخاب شده',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'حذف انتخاب شده',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'حذف شد',
|
||||
],
|
||||
'deleted_partial' => [
|
||||
'title' => ':count از :total حذف شد',
|
||||
'missing_authorization_failure_message' => 'شما اجازه حذف :count را ندارید.',
|
||||
'missing_processing_failure_message' => ':count نتوانست حذف شود.',
|
||||
],
|
||||
|
||||
'deleted_none' => [
|
||||
'title' => 'حذف انجام نشد',
|
||||
'missing_authorization_failure_message' => 'شما اجازه حذف :count را ندارید.',
|
||||
'missing_processing_failure_message' => ':count نتوانست حذف شود.',
|
||||
],
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'جدا کردن',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'جدا کردن :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'detach' => [
|
||||
'label' => 'جدا کردن',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'detached' => [
|
||||
'title' => 'جدا شد',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'جدا کردن انتخاب شده',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'جدا کردن :label انتخاب شده',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'detach' => [
|
||||
'label' => 'جدا کردن انتخاب شده',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'detached' => [
|
||||
'title' => 'جدا شد',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'جداکردن',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'جداکردن :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'dissociate' => [
|
||||
'label' => 'جداکردن',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'dissociated' => [
|
||||
'title' => 'جداکردن',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'جداکردن انتخاب شده',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'جداکردن :label انتخاب شده',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'dissociate' => [
|
||||
'label' => 'جداکردن انتخاب شده',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'dissociated' => [
|
||||
'title' => 'جدا شد',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'ویرایش',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'ویرایش :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'save' => [
|
||||
'label' => 'ذخیره',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'saved' => [
|
||||
'title' => 'ذخیره شد',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+77
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'اکسپورت :label',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'اکسپورت :label',
|
||||
|
||||
'form' => [
|
||||
|
||||
'columns' => [
|
||||
|
||||
'label' => 'ستون ها',
|
||||
|
||||
'form' => [
|
||||
|
||||
'is_enabled' => [
|
||||
'label' => ':ستون فعال است',
|
||||
],
|
||||
|
||||
'label' => [
|
||||
'label' => ':برچسب ستونی',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'export' => [
|
||||
'label' => 'اکسپورت',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'completed' => [
|
||||
|
||||
'title' => 'اکسپورت انجام شد',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'download_csv' => [
|
||||
'label' => 'دانلود csv.',
|
||||
],
|
||||
|
||||
'download_xlsx' => [
|
||||
'label' => 'دانلود xlsx.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'max_rows' => [
|
||||
'title' => 'اکسپورت خیلی بزرگ است',
|
||||
'body' => 'شما نمی توانید بیش از 1 ردیف را به طور همزمان صادر کنید.|شما نمی توانید بیش از :count ردیف را به طور همزمان صادر کنید.',
|
||||
],
|
||||
|
||||
'started' => [
|
||||
'title' => 'اکسپورت آغاز شد',
|
||||
'body' => 'اکسپورت شما آغاز شده است و 1 ردیف در پسزمینه پردازش میشود.|اکسپورت شما آغاز شده است و :count ردیف در پسزمینه پردازش میشوند.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'file_name' => 'export-:export_id-:model',
|
||||
|
||||
];
|
||||
@@ -0,0 +1,72 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'حذف دائمی',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'حذف دائمی :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'حذف',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'رکورد حذف شد',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'حذف دائمی انتخاب شده',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'حذف دائمی :label انتخاب شده',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'delete' => [
|
||||
'label' => 'حذف',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'deleted' => [
|
||||
'title' => 'رکوردها حذف شدند',
|
||||
],
|
||||
|
||||
'deleted_partial' => [
|
||||
'title' => ':count از :total حذف شد',
|
||||
'missing_authorization_failure_message' => 'شما اجازه حذف :count را ندارید.',
|
||||
'missing_processing_failure_message' => ':count نتوانست حذف شود.',
|
||||
],
|
||||
|
||||
'deleted_none' => [
|
||||
'title' => 'حذف انجام نشد',
|
||||
'missing_authorization_failure_message' => 'شما اجازه حذف :count را ندارید.',
|
||||
'missing_processing_failure_message' => ':count نتوانست حذف شود.',
|
||||
],
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'trigger' => [
|
||||
'label' => 'عملیات',
|
||||
],
|
||||
|
||||
];
|
||||
+85
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'label' => 'ایمپورت :label',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'ایمپورت :label',
|
||||
|
||||
'form' => [
|
||||
|
||||
'file' => [
|
||||
|
||||
'label' => 'پرونده',
|
||||
|
||||
'placeholder' => 'آپلود یک فایل CSV',
|
||||
|
||||
'rules' => [
|
||||
'duplicate_columns' => '{0} فایل نباید بیش از یک ستون با هدر خالی داشته باشد.|{1,*} فایل نباید شامل ستونهای با هدر تکراری باشد: :columns.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'columns' => [
|
||||
'label' => 'ستون ها',
|
||||
'placeholder' => 'یک ستون را انتخاب کنید',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
|
||||
'download_example' => [
|
||||
'label' => 'دانلود نمونه فایل CSV',
|
||||
],
|
||||
|
||||
'import' => [
|
||||
'label' => 'ایمپورت',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'completed' => [
|
||||
|
||||
'title' => 'ایمپورت تکمیل شد',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'download_failed_rows_csv' => [
|
||||
'label' => 'دانلود اطلاعات در مورد ردیف ناموفق|دانلود اطلاعات در مورد ردیف های ناموفق',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'max_rows' => [
|
||||
'title' => 'فایل CSV آپلود شده خیلی بزرگ است',
|
||||
'body' => 'شما نمی توانید بیش از 1 ردیف را به طور همزمان وارد کنید.|شما نمی توانید بیش از :count ردیف را در یک زمان وارد کنید.',
|
||||
],
|
||||
|
||||
'started' => [
|
||||
'title' => 'ایمپورت آغاز شد',
|
||||
'body' => 'ایمپورت شما شروع شده است و 1 ردیف در پسزمینه پردازش میشود.|ایمپورت شما آغاز شده است و :count ردیف در پسزمینه پردازش میشوند.',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'example_csv' => [
|
||||
'file_name' => ':importer-example',
|
||||
],
|
||||
|
||||
'failure_csv' => [
|
||||
'file_name' => 'import-:import_id-:csv_name-failed-rows',
|
||||
'error_header' => 'خطا',
|
||||
'system_error' => 'خطای سیستمی، لطفا با پشتیبانی تماس بگیرید.',
|
||||
'column_mapping_required_for_new_record' => 'ستون :attribute به هیچ ستونی در فایل نگاشت نشد، ولی وجود آن برای ایجاد رکوردهای جدید لازم است.',
|
||||
],
|
||||
|
||||
];
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'confirmation' => 'آیا برای انجام این کار مطمئن هستید؟',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'cancel' => [
|
||||
'label' => 'لغو',
|
||||
],
|
||||
|
||||
'confirm' => [
|
||||
'label' => 'تایید',
|
||||
],
|
||||
|
||||
'submit' => [
|
||||
'label' => 'ثبت',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'throttled' => [
|
||||
'title' => 'تلاش بیش از حد مجاز',
|
||||
'body' => 'لطفا بعد از :seconds ثانیه دوباره تلاش کنید.',
|
||||
],
|
||||
|
||||
];
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'تکثیر',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'تکثیر :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'replicate' => [
|
||||
'label' => 'تکثیر',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'replicated' => [
|
||||
'title' => 'رکورد تکثیر شد',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+72
@@ -0,0 +1,72 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'بازگردانی',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'بازگردانی :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'restore' => [
|
||||
'label' => 'بازگردانی',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'restored' => [
|
||||
'title' => 'رکورد بازگردانی شد',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'multiple' => [
|
||||
|
||||
'label' => 'بازگردانی انتخاب شده',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'بازگردانی :label انتخاب شده',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'restore' => [
|
||||
'label' => 'بازگردانی',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'notifications' => [
|
||||
|
||||
'restored' => [
|
||||
'title' => 'رکوردها بازگردانی شدند',
|
||||
],
|
||||
|
||||
'restored_partial' => [
|
||||
'title' => ':count از :total بازگردانی شد',
|
||||
'missing_authorization_failure_message' => 'شما اجازه بازگردانی :count را ندارید.',
|
||||
'missing_processing_failure_message' => ':count نتوانست بازگردانی شود.',
|
||||
],
|
||||
|
||||
'restored_none' => [
|
||||
'title' => 'بازگردانی نشد',
|
||||
'missing_authorization_failure_message' => 'شما اجازه بازگردانی :count را ندارید.',
|
||||
'missing_processing_failure_message' => ':count نتوانست بازگردانی شود.',
|
||||
],
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'single' => [
|
||||
|
||||
'label' => 'نمایش',
|
||||
|
||||
'modal' => [
|
||||
|
||||
'heading' => 'نمایش :label',
|
||||
|
||||
'actions' => [
|
||||
|
||||
'close' => [
|
||||
'label' => 'بستن',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user