From 9c5e37be8477f614b55d52cccf2e7b3f0760625b Mon Sep 17 00:00:00 2001 From: mszabeh <53317316+mszabeh@users.noreply.github.com> Date: Sat, 16 Dec 2023 23:44:13 +0330 Subject: [PATCH 1/3] missing fa translation --- resources/lang/fa/forms.php | 5 +++++ resources/lang/fa/views.php | 2 ++ 2 files changed, 7 insertions(+) diff --git a/resources/lang/fa/forms.php b/resources/lang/fa/forms.php index 0e9f6d4b..2ee435a3 100644 --- a/resources/lang/fa/forms.php +++ b/resources/lang/fa/forms.php @@ -26,4 +26,9 @@ 'curations' => [ 'button_label' => 'ساختن Curation', ], + 'multi_upload' => [ + 'action_label' => 'بارگذاری چندتایی', + 'modal_heading' => 'بارگذاری چند فایل', + 'modal_file_label' => 'فایلها', + ], ]; diff --git a/resources/lang/fa/views.php b/resources/lang/fa/views.php index 77269e32..7e7b4db2 100644 --- a/resources/lang/fa/views.php +++ b/resources/lang/fa/views.php @@ -21,6 +21,7 @@ 'edit' => 'ویرایش', 'download' => 'دانلود', 'remove' => 'حذف', + 'clear' => 'حذف همه', ], 'panel' => [ 'button' => 'افزودن مدیا', @@ -46,6 +47,7 @@ 'curation' => [ 'heading' => 'Curating', 'adjustments' => 'تنظیمات', + 'cancel' => 'لغو', 'custom' => 'سفارشی', 'key' => 'کلید', 'key_helper' => 'برای اسفاده از curation در آینده باید از این استفاده کنید', From 59d68ea3165821af54114487916467765dc4780b Mon Sep 17 00:00:00 2001 From: mszabeh <53317316+mszabeh@users.noreply.github.com> Date: Sat, 16 Dec 2023 23:54:05 +0330 Subject: [PATCH 2/3] "Cmd + Click to select multiple files" translateable --- resources/lang/en/views.php | 1 + resources/lang/fa/views.php | 1 + resources/views/components/modals/curator-panel.blade.php | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/lang/en/views.php b/resources/lang/en/views.php index 506a883b..8cf3fdda 100644 --- a/resources/lang/en/views.php +++ b/resources/lang/en/views.php @@ -22,6 +22,7 @@ 'download' => 'Download', 'remove' => 'Remove', 'clear' => 'Remove All', + 'add_multiple_file' => 'Cmd + Click to select multiple files.' ], 'panel' => [ 'button' => 'Add media', diff --git a/resources/lang/fa/views.php b/resources/lang/fa/views.php index 7e7b4db2..2c0673ea 100644 --- a/resources/lang/fa/views.php +++ b/resources/lang/fa/views.php @@ -22,6 +22,7 @@ 'download' => 'دانلود', 'remove' => 'حذف', 'clear' => 'حذف همه', + 'add_multiple' => 'استفاده کنید Cmd + Click برای انتخاب چند فایل از.' ], 'panel' => [ 'button' => 'افزودن مدیا', diff --git a/resources/views/components/modals/curator-panel.blade.php b/resources/views/components/modals/curator-panel.blade.php index f6a6d83e..af5955bb 100644 --- a/resources/views/components/modals/curator-panel.blade.php +++ b/resources/views/components/modals/curator-panel.blade.php @@ -57,7 +57,7 @@ class="curator-panel h-full absolute inset-0 flex flex-col" @endif @if ($isMultiple) -

Cmd + Click to select multiple files.

+

{{ __('curator::views.panel.add_multiple_file') }}

@endif