From 34fcb029ece4c36361898c2f604ffe69459d28a4 Mon Sep 17 00:00:00 2001 From: Irakli Kirkitadze Date: Sat, 12 Oct 2024 15:25:13 +0400 Subject: [PATCH 01/22] add Georgian translation for panels package --- .../resources/lang/ka/global-search.php | 12 ++++ packages/panels/resources/lang/ka/layout.php | 63 +++++++++++++++++++ .../lang/ka/pages/auth/edit-profile.php | 51 +++++++++++++++ .../email-verification-prompt.php | 35 +++++++++++ .../resources/lang/ka/pages/auth/login.php | 61 ++++++++++++++++++ .../password-reset/request-password-reset.php | 42 +++++++++++++ .../auth/password-reset/reset-password.php | 43 +++++++++++++ .../resources/lang/ka/pages/auth/register.php | 56 +++++++++++++++++ .../resources/lang/ka/pages/dashboard.php | 33 ++++++++++ .../ka/pages/tenancy/edit-tenant-profile.php | 25 ++++++++ .../lang/ka/resources/pages/create-record.php | 37 +++++++++++ .../lang/ka/resources/pages/edit-record.php | 41 ++++++++++++ .../lang/ka/resources/pages/list-records.php | 7 +++ .../lang/ka/resources/pages/view-record.php | 17 +++++ .../lang/ka/unsaved-changes-alert.php | 7 +++ .../lang/ka/widgets/account-widget.php | 15 +++++ .../lang/ka/widgets/filament-info-widget.php | 17 +++++ 17 files changed, 562 insertions(+) create mode 100644 packages/panels/resources/lang/ka/global-search.php create mode 100644 packages/panels/resources/lang/ka/layout.php create mode 100644 packages/panels/resources/lang/ka/pages/auth/edit-profile.php create mode 100644 packages/panels/resources/lang/ka/pages/auth/email-verification/email-verification-prompt.php create mode 100644 packages/panels/resources/lang/ka/pages/auth/login.php create mode 100644 packages/panels/resources/lang/ka/pages/auth/password-reset/request-password-reset.php create mode 100644 packages/panels/resources/lang/ka/pages/auth/password-reset/reset-password.php create mode 100644 packages/panels/resources/lang/ka/pages/auth/register.php create mode 100644 packages/panels/resources/lang/ka/pages/dashboard.php create mode 100644 packages/panels/resources/lang/ka/pages/tenancy/edit-tenant-profile.php create mode 100644 packages/panels/resources/lang/ka/resources/pages/create-record.php create mode 100644 packages/panels/resources/lang/ka/resources/pages/edit-record.php create mode 100644 packages/panels/resources/lang/ka/resources/pages/list-records.php create mode 100644 packages/panels/resources/lang/ka/resources/pages/view-record.php create mode 100644 packages/panels/resources/lang/ka/unsaved-changes-alert.php create mode 100644 packages/panels/resources/lang/ka/widgets/account-widget.php create mode 100644 packages/panels/resources/lang/ka/widgets/filament-info-widget.php diff --git a/packages/panels/resources/lang/ka/global-search.php b/packages/panels/resources/lang/ka/global-search.php new file mode 100644 index 0000000000..dfe842cd93 --- /dev/null +++ b/packages/panels/resources/lang/ka/global-search.php @@ -0,0 +1,12 @@ + [ + 'label' => 'გლობალური ძიება', + 'placeholder' => 'ძიება', + ], + + 'no_results_message' => 'შედეგები ვერ მოიძებნა.', + +]; diff --git a/packages/panels/resources/lang/ka/layout.php b/packages/panels/resources/lang/ka/layout.php new file mode 100644 index 0000000000..3208c5bdca --- /dev/null +++ b/packages/panels/resources/lang/ka/layout.php @@ -0,0 +1,63 @@ + 'ltr', + + 'actions' => [ + + 'billing' => [ + 'label' => 'გამოწერის მართვა', + ], + + 'logout' => [ + 'label' => 'გასვლა', + ], + + 'open_database_notifications' => [ + 'label' => 'გახსენი შეტყობინებები', + ], + + 'open_user_menu' => [ + 'label' => 'მომხმარებლის მენიუ', + ], + + 'sidebar' => [ + + 'collapse' => [ + 'label' => 'გვერდითი პანელის შეკუმშვა', + ], + + 'expand' => [ + 'label' => 'გვერდითი პანელის გახსნა', + ], + + ], + + 'theme_switcher' => [ + + 'dark' => [ + 'label' => 'მუქი თემის ჩართვა', + ], + + 'light' => [ + 'label' => 'ნათელი თემის ჩართვა', + ], + + 'system' => [ + 'label' => 'სისტემის თემის ჩართვა', + ], + + ], + + ], + + 'avatar' => [ + 'alt' => ':name-ის ავატარი', + ], + + 'logo' => [ + 'alt' => ':name-ის ლოგო', + ], + +]; diff --git a/packages/panels/resources/lang/ka/pages/auth/edit-profile.php b/packages/panels/resources/lang/ka/pages/auth/edit-profile.php new file mode 100644 index 0000000000..7d03181c72 --- /dev/null +++ b/packages/panels/resources/lang/ka/pages/auth/edit-profile.php @@ -0,0 +1,51 @@ + 'პროფილი', + + 'form' => [ + + 'email' => [ + 'label' => 'ელფოსტის მისამართი', + ], + + 'name' => [ + 'label' => 'სახელი', + ], + + 'password' => [ + 'label' => 'ახალი პაროლი', + ], + + 'password_confirmation' => [ + 'label' => 'დაადასტურეთ ახალი პაროლი', + ], + + 'actions' => [ + + 'save' => [ + 'label' => 'ცვლილებების შენახვა', + ], + + ], + + ], + + 'notifications' => [ + + 'saved' => [ + 'title' => 'შენახულია', + ], + + ], + + 'actions' => [ + + 'cancel' => [ + 'label' => 'გაუქმება', + ], + + ], + +]; diff --git a/packages/panels/resources/lang/ka/pages/auth/email-verification/email-verification-prompt.php b/packages/panels/resources/lang/ka/pages/auth/email-verification/email-verification-prompt.php new file mode 100644 index 0000000000..99f519f167 --- /dev/null +++ b/packages/panels/resources/lang/ka/pages/auth/email-verification/email-verification-prompt.php @@ -0,0 +1,35 @@ + 'დაადასტურეთ თქვენი ელფოსტა', + + 'heading' => 'დაადასტურეთ თქვენი ელფოსტა', + + 'actions' => [ + + 'resend_notification' => [ + 'label' => 'ხელახლა გაგზავნა', + ], + + ], + + 'messages' => [ + 'notification_not_received' => 'არ მიგიღიათ ჩვენ მიერ გამოგზავნილი ელფოსტა?', + 'notification_sent' => 'ჩვენ გამოვაგზავნეთ ელფოსტა მისამართზე :email, რომელშიც აღწერილია ელფოსტის ვერიფიცირების ინსტრუქცია.', + ], + + 'notifications' => [ + + 'notification_resent' => [ + 'title' => 'ჩვენ ხელახლა გავგზავნეთ ელფოსტა.', + ], + + 'notification_resend_throttled' => [ + 'title' => 'ზედმეტად ბევრი ხელახლა გაგზავნის მცდელობა', + 'body' => 'გთხოვთ სცადეთ კიდევ :seconds წამში.', + ], + + ], + +]; diff --git a/packages/panels/resources/lang/ka/pages/auth/login.php b/packages/panels/resources/lang/ka/pages/auth/login.php new file mode 100644 index 0000000000..c8a51f09ec --- /dev/null +++ b/packages/panels/resources/lang/ka/pages/auth/login.php @@ -0,0 +1,61 @@ + 'ავტორიზაცია', + + 'heading' => 'ავტორიზაცია', + + 'actions' => [ + + 'register' => [ + 'before' => 'ან', + 'label' => 'დარეგისტრირდით ანგარიშისთვის', + ], + + 'request_password_reset' => [ + 'label' => 'დაგავიწყდა პაროლი?', + ], + + ], + + 'form' => [ + + 'email' => [ + 'label' => 'ელფოსტის მისამართი', + ], + + 'password' => [ + 'label' => 'პაროლი', + ], + + 'remember' => [ + 'label' => 'დამიმახსოვრე', + ], + + 'actions' => [ + + 'authenticate' => [ + 'label' => 'ავტორიზაცია', + ], + + ], + + ], + + 'messages' => [ + + 'failed' => 'ეს მონაცემები არ ემთხვევა ჩვენს ჩანაწერებს.', + + ], + + 'notifications' => [ + + 'throttled' => [ + 'title' => 'ზედმეტად ბევრი შესვლის მცდელობა', + 'body' => 'გთხოვთ, სცადეთ ხელახლა :seconds წამში.', + ], + + ], + +]; diff --git a/packages/panels/resources/lang/ka/pages/auth/password-reset/request-password-reset.php b/packages/panels/resources/lang/ka/pages/auth/password-reset/request-password-reset.php new file mode 100644 index 0000000000..e958d6013b --- /dev/null +++ b/packages/panels/resources/lang/ka/pages/auth/password-reset/request-password-reset.php @@ -0,0 +1,42 @@ + 'პაროლის აღდგენა', + + 'heading' => 'დაგავიწყდა პაროლი?', + + 'actions' => [ + + 'login' => [ + 'label' => 'ავტორიზაციის გვერდზე გადასვლა', + ], + + ], + + 'form' => [ + + 'email' => [ + 'label' => 'ელფოსტის მისამართი', + ], + + 'actions' => [ + + 'request' => [ + 'label' => 'გაგზავნეთ ელფოსტა', + ], + + ], + + ], + + 'notifications' => [ + + 'throttled' => [ + 'title' => 'ზედმეტად ბევრი მოთხოვნა', + 'body' => 'გთხოვთ, სცადეთ ხელახლა :seconds წამში.', + ], + + ], + +]; diff --git a/packages/panels/resources/lang/ka/pages/auth/password-reset/reset-password.php b/packages/panels/resources/lang/ka/pages/auth/password-reset/reset-password.php new file mode 100644 index 0000000000..582d5e7d46 --- /dev/null +++ b/packages/panels/resources/lang/ka/pages/auth/password-reset/reset-password.php @@ -0,0 +1,43 @@ + 'პაროლის აღდგენა', + + 'heading' => 'პაროლის აღდგენა', + + 'form' => [ + + 'email' => [ + 'label' => 'ელფოსტა', + ], + + 'password' => [ + 'label' => 'პაროლი', + 'validation_attribute' => 'პაროლი', + ], + + 'password_confirmation' => [ + 'label' => 'დაადასტურეთ პაროლი', + ], + + 'actions' => [ + + 'reset' => [ + 'label' => 'პაროლის აღდგენა', + ], + + ], + + ], + + 'notifications' => [ + + 'throttled' => [ + 'title' => 'ზედმეტად ბევრი აღდგენის მცდელობა', + 'body' => 'გთხოვთ, სცადეთ ხელახლა :seconds წამში.', + ], + + ], + +]; diff --git a/packages/panels/resources/lang/ka/pages/auth/register.php b/packages/panels/resources/lang/ka/pages/auth/register.php new file mode 100644 index 0000000000..96a8d24736 --- /dev/null +++ b/packages/panels/resources/lang/ka/pages/auth/register.php @@ -0,0 +1,56 @@ + 'რეგისტრაცია', + + 'heading' => 'რეგისტრაცია', + + 'actions' => [ + + 'login' => [ + 'before' => 'ან', + 'label' => 'ავტორიზაცია თქვენს ანგარიშზე', + ], + + ], + + 'form' => [ + + 'email' => [ + 'label' => 'ელფოსტის მისამართი', + ], + + 'name' => [ + 'label' => 'სახელი', + ], + + 'password' => [ + 'label' => 'პაროლი', + 'validation_attribute' => 'პაროლი', + ], + + 'password_confirmation' => [ + 'label' => 'დაადასტურეთ პაროლი', + ], + + 'actions' => [ + + 'register' => [ + 'label' => 'დარეგისტრირება', + ], + + ], + + ], + + 'notifications' => [ + + 'throttled' => [ + 'title' => 'ზედმეტად ბევრი რეგისტრაციის მცდელობა', + 'body' => 'გთხოვთ, სცადეთ ხელახლა :seconds წამში.', + ], + + ], + +]; diff --git a/packages/panels/resources/lang/ka/pages/dashboard.php b/packages/panels/resources/lang/ka/pages/dashboard.php new file mode 100644 index 0000000000..8eea089472 --- /dev/null +++ b/packages/panels/resources/lang/ka/pages/dashboard.php @@ -0,0 +1,33 @@ + 'მიმოხილვა', + + 'actions' => [ + + 'filter' => [ + + 'label' => 'ფილტრი', + + 'modal' => [ + + 'heading' => 'ფილტრი', + + 'actions' => [ + + 'apply' => [ + + 'label' => 'შესრულება', + + ], + + ], + + ], + + ], + + ], + +]; diff --git a/packages/panels/resources/lang/ka/pages/tenancy/edit-tenant-profile.php b/packages/panels/resources/lang/ka/pages/tenancy/edit-tenant-profile.php new file mode 100644 index 0000000000..04c18cf6da --- /dev/null +++ b/packages/panels/resources/lang/ka/pages/tenancy/edit-tenant-profile.php @@ -0,0 +1,25 @@ + [ + + 'actions' => [ + + 'save' => [ + 'label' => 'ცვლილებების შენახვა', + ], + + ], + + ], + + 'notifications' => [ + + 'saved' => [ + 'title' => 'შენახულია', + ], + + ], + +]; diff --git a/packages/panels/resources/lang/ka/resources/pages/create-record.php b/packages/panels/resources/lang/ka/resources/pages/create-record.php new file mode 100644 index 0000000000..b314b68419 --- /dev/null +++ b/packages/panels/resources/lang/ka/resources/pages/create-record.php @@ -0,0 +1,37 @@ + 'ქმნით :label', + + 'breadcrumb' => 'შექმნა', + + 'form' => [ + + 'actions' => [ + + 'cancel' => [ + 'label' => 'გაუქმება', + ], + + 'create' => [ + 'label' => 'შექმნა', + ], + + 'create_another' => [ + 'label' => 'შექმნა და ახლის შექმნა', + ], + + ], + + ], + + 'notifications' => [ + + 'created' => [ + 'title' => 'შექმნილია', + ], + + ], + +]; diff --git a/packages/panels/resources/lang/ka/resources/pages/edit-record.php b/packages/panels/resources/lang/ka/resources/pages/edit-record.php new file mode 100644 index 0000000000..69216b7b24 --- /dev/null +++ b/packages/panels/resources/lang/ka/resources/pages/edit-record.php @@ -0,0 +1,41 @@ + 'არედაქტირებთ :label', + + 'breadcrumb' => 'რედაქტირება', + + 'form' => [ + + 'actions' => [ + + 'cancel' => [ + 'label' => 'გაუქმება', + ], + + 'save' => [ + 'label' => 'ცვლილებების შენახვა', + ], + + ], + + ], + + 'content' => [ + + 'tab' => [ + 'label' => 'რედაქტირება', + ], + + ], + + 'notifications' => [ + + 'saved' => [ + 'title' => 'შენახულია', + ], + + ], + +]; diff --git a/packages/panels/resources/lang/ka/resources/pages/list-records.php b/packages/panels/resources/lang/ka/resources/pages/list-records.php new file mode 100644 index 0000000000..c640f97fc6 --- /dev/null +++ b/packages/panels/resources/lang/ka/resources/pages/list-records.php @@ -0,0 +1,7 @@ + 'სია', + +]; diff --git a/packages/panels/resources/lang/ka/resources/pages/view-record.php b/packages/panels/resources/lang/ka/resources/pages/view-record.php new file mode 100644 index 0000000000..98c55a50fd --- /dev/null +++ b/packages/panels/resources/lang/ka/resources/pages/view-record.php @@ -0,0 +1,17 @@ + 'ათვალიერებთ :label', + + 'breadcrumb' => 'დათვალიერება', + + 'content' => [ + + 'tab' => [ + 'label' => 'დათვალიერება', + ], + + ], + +]; diff --git a/packages/panels/resources/lang/ka/unsaved-changes-alert.php b/packages/panels/resources/lang/ka/unsaved-changes-alert.php new file mode 100644 index 0000000000..6c6f2fac30 --- /dev/null +++ b/packages/panels/resources/lang/ka/unsaved-changes-alert.php @@ -0,0 +1,7 @@ + 'ცვლილებები არ არის დამახსოვრებული. დარწმუნებული ხართ, რომ გსურთ ამ გვერდის დატოვება?', + +]; diff --git a/packages/panels/resources/lang/ka/widgets/account-widget.php b/packages/panels/resources/lang/ka/widgets/account-widget.php new file mode 100644 index 0000000000..bcbacf1b72 --- /dev/null +++ b/packages/panels/resources/lang/ka/widgets/account-widget.php @@ -0,0 +1,15 @@ + [ + + 'logout' => [ + 'label' => 'გასვლა', + ], + + ], + + 'welcome' => 'მოგესალმებით', + +]; diff --git a/packages/panels/resources/lang/ka/widgets/filament-info-widget.php b/packages/panels/resources/lang/ka/widgets/filament-info-widget.php new file mode 100644 index 0000000000..80d35f7f37 --- /dev/null +++ b/packages/panels/resources/lang/ka/widgets/filament-info-widget.php @@ -0,0 +1,17 @@ + [ + + 'open_documentation' => [ + 'label' => 'დოკუმენტაცია', + ], + + 'open_github' => [ + 'label' => 'GitHub', + ], + + ], + +]; From 8a3e59b425772b16ec887ac10eb782153b3a66d3 Mon Sep 17 00:00:00 2001 From: Irakli Kirkitadze Date: Sat, 12 Oct 2024 15:26:44 +0400 Subject: [PATCH 02/22] add ka language folder for package actions --- .../actions/resources/lang/ka/associate.php | 45 ++++++++++ packages/actions/resources/lang/ka/attach.php | 45 ++++++++++ packages/actions/resources/lang/ka/create.php | 37 ++++++++ packages/actions/resources/lang/ka/delete.php | 61 +++++++++++++ packages/actions/resources/lang/ka/detach.php | 61 +++++++++++++ .../actions/resources/lang/ka/dissociate.php | 61 +++++++++++++ packages/actions/resources/lang/ka/edit.php | 33 +++++++ packages/actions/resources/lang/ka/export.php | 77 +++++++++++++++++ .../resources/lang/ka/force-delete.php | 61 +++++++++++++ packages/actions/resources/lang/ka/group.php | 9 ++ packages/actions/resources/lang/ka/import.php | 85 +++++++++++++++++++ packages/actions/resources/lang/ka/modal.php | 23 +++++ .../actions/resources/lang/ka/replicate.php | 33 +++++++ .../actions/resources/lang/ka/restore.php | 61 +++++++++++++ packages/actions/resources/lang/ka/view.php | 25 ++++++ 15 files changed, 717 insertions(+) create mode 100644 packages/actions/resources/lang/ka/associate.php create mode 100644 packages/actions/resources/lang/ka/attach.php create mode 100644 packages/actions/resources/lang/ka/create.php create mode 100644 packages/actions/resources/lang/ka/delete.php create mode 100644 packages/actions/resources/lang/ka/detach.php create mode 100644 packages/actions/resources/lang/ka/dissociate.php create mode 100644 packages/actions/resources/lang/ka/edit.php create mode 100644 packages/actions/resources/lang/ka/export.php create mode 100644 packages/actions/resources/lang/ka/force-delete.php create mode 100644 packages/actions/resources/lang/ka/group.php create mode 100644 packages/actions/resources/lang/ka/import.php create mode 100644 packages/actions/resources/lang/ka/modal.php create mode 100644 packages/actions/resources/lang/ka/replicate.php create mode 100644 packages/actions/resources/lang/ka/restore.php create mode 100644 packages/actions/resources/lang/ka/view.php diff --git a/packages/actions/resources/lang/ka/associate.php b/packages/actions/resources/lang/ka/associate.php new file mode 100644 index 0000000000..1fe931dc21 --- /dev/null +++ b/packages/actions/resources/lang/ka/associate.php @@ -0,0 +1,45 @@ + [ + + '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', + ], + + ], + + ], + +]; diff --git a/packages/actions/resources/lang/ka/attach.php b/packages/actions/resources/lang/ka/attach.php new file mode 100644 index 0000000000..09dc5499ac --- /dev/null +++ b/packages/actions/resources/lang/ka/attach.php @@ -0,0 +1,45 @@ + [ + + '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', + ], + + ], + + ], + +]; diff --git a/packages/actions/resources/lang/ka/create.php b/packages/actions/resources/lang/ka/create.php new file mode 100644 index 0000000000..7d08c4bb07 --- /dev/null +++ b/packages/actions/resources/lang/ka/create.php @@ -0,0 +1,37 @@ + [ + + 'label' => 'New :label', + + 'modal' => [ + + 'heading' => 'Create :label', + + 'actions' => [ + + 'create' => [ + 'label' => 'Create', + ], + + 'create_another' => [ + 'label' => 'Create & create another', + ], + + ], + + ], + + 'notifications' => [ + + 'created' => [ + 'title' => 'Created', + ], + + ], + + ], + +]; diff --git a/packages/actions/resources/lang/ka/delete.php b/packages/actions/resources/lang/ka/delete.php new file mode 100644 index 0000000000..b7276be9d9 --- /dev/null +++ b/packages/actions/resources/lang/ka/delete.php @@ -0,0 +1,61 @@ + [ + + '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', + ], + + ], + + ], + +]; diff --git a/packages/actions/resources/lang/ka/detach.php b/packages/actions/resources/lang/ka/detach.php new file mode 100644 index 0000000000..d9799c5160 --- /dev/null +++ b/packages/actions/resources/lang/ka/detach.php @@ -0,0 +1,61 @@ + [ + + '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', + ], + + ], + + ], + +]; diff --git a/packages/actions/resources/lang/ka/dissociate.php b/packages/actions/resources/lang/ka/dissociate.php new file mode 100644 index 0000000000..7b702482f3 --- /dev/null +++ b/packages/actions/resources/lang/ka/dissociate.php @@ -0,0 +1,61 @@ + [ + + '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', + ], + + ], + + ], + +]; diff --git a/packages/actions/resources/lang/ka/edit.php b/packages/actions/resources/lang/ka/edit.php new file mode 100644 index 0000000000..28cc2084a7 --- /dev/null +++ b/packages/actions/resources/lang/ka/edit.php @@ -0,0 +1,33 @@ + [ + + 'label' => 'Edit', + + 'modal' => [ + + 'heading' => 'Edit :label', + + 'actions' => [ + + 'save' => [ + 'label' => 'Save changes', + ], + + ], + + ], + + 'notifications' => [ + + 'saved' => [ + 'title' => 'Saved', + ], + + ], + + ], + +]; diff --git a/packages/actions/resources/lang/ka/export.php b/packages/actions/resources/lang/ka/export.php new file mode 100644 index 0000000000..b0ec0bd1a2 --- /dev/null +++ b/packages/actions/resources/lang/ka/export.php @@ -0,0 +1,77 @@ + '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', + +]; diff --git a/packages/actions/resources/lang/ka/force-delete.php b/packages/actions/resources/lang/ka/force-delete.php new file mode 100644 index 0000000000..aa1081c840 --- /dev/null +++ b/packages/actions/resources/lang/ka/force-delete.php @@ -0,0 +1,61 @@ + [ + + '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', + ], + + ], + + ], + +]; diff --git a/packages/actions/resources/lang/ka/group.php b/packages/actions/resources/lang/ka/group.php new file mode 100644 index 0000000000..92765dc8d6 --- /dev/null +++ b/packages/actions/resources/lang/ka/group.php @@ -0,0 +1,9 @@ + [ + 'label' => 'Actions', + ], + +]; diff --git a/packages/actions/resources/lang/ka/import.php b/packages/actions/resources/lang/ka/import.php new file mode 100644 index 0000000000..459319874c --- /dev/null +++ b/packages/actions/resources/lang/ka/import.php @@ -0,0 +1,85 @@ + '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.', + 'column_mapping_required_for_new_record' => 'The :attribute column was not mapped to a column in the file, but it is required for creating new records.', + ], + +]; diff --git a/packages/actions/resources/lang/ka/modal.php b/packages/actions/resources/lang/ka/modal.php new file mode 100644 index 0000000000..1ce970d3a8 --- /dev/null +++ b/packages/actions/resources/lang/ka/modal.php @@ -0,0 +1,23 @@ + 'Are you sure you would like to do this?', + + 'actions' => [ + + 'cancel' => [ + 'label' => 'Cancel', + ], + + 'confirm' => [ + 'label' => 'Confirm', + ], + + 'submit' => [ + 'label' => 'Submit', + ], + + ], + +]; diff --git a/packages/actions/resources/lang/ka/replicate.php b/packages/actions/resources/lang/ka/replicate.php new file mode 100644 index 0000000000..7fff7cc7cb --- /dev/null +++ b/packages/actions/resources/lang/ka/replicate.php @@ -0,0 +1,33 @@ + [ + + 'label' => 'Replicate', + + 'modal' => [ + + 'heading' => 'Replicate :label', + + 'actions' => [ + + 'replicate' => [ + 'label' => 'Replicate', + ], + + ], + + ], + + 'notifications' => [ + + 'replicated' => [ + 'title' => 'Replicated', + ], + + ], + + ], + +]; diff --git a/packages/actions/resources/lang/ka/restore.php b/packages/actions/resources/lang/ka/restore.php new file mode 100644 index 0000000000..403bc2856e --- /dev/null +++ b/packages/actions/resources/lang/ka/restore.php @@ -0,0 +1,61 @@ + [ + + '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', + ], + + ], + + ], + +]; diff --git a/packages/actions/resources/lang/ka/view.php b/packages/actions/resources/lang/ka/view.php new file mode 100644 index 0000000000..fd33de1a60 --- /dev/null +++ b/packages/actions/resources/lang/ka/view.php @@ -0,0 +1,25 @@ + [ + + 'label' => 'View', + + 'modal' => [ + + 'heading' => 'View :label', + + 'actions' => [ + + 'close' => [ + 'label' => 'Close', + ], + + ], + + ], + + ], + +]; From ec275544235ab1c474caab67859a4f0b6c5ef70b Mon Sep 17 00:00:00 2001 From: Irakli Kirkitadze Date: Sat, 12 Oct 2024 15:58:59 +0400 Subject: [PATCH 03/22] add georgian translations for package actions --- .../actions/resources/lang/ka/associate.php | 12 +++--- packages/actions/resources/lang/ka/attach.php | 12 +++--- packages/actions/resources/lang/ka/create.php | 10 ++--- packages/actions/resources/lang/ka/delete.php | 16 ++++---- packages/actions/resources/lang/ka/detach.php | 16 ++++---- .../actions/resources/lang/ka/dissociate.php | 16 ++++---- packages/actions/resources/lang/ka/edit.php | 8 ++-- packages/actions/resources/lang/ka/export.php | 28 +++++++------- .../resources/lang/ka/force-delete.php | 16 ++++---- packages/actions/resources/lang/ka/group.php | 2 +- packages/actions/resources/lang/ka/import.php | 38 +++++++++---------- packages/actions/resources/lang/ka/modal.php | 8 ++-- .../actions/resources/lang/ka/replicate.php | 8 ++-- .../actions/resources/lang/ka/restore.php | 16 ++++---- packages/actions/resources/lang/ka/view.php | 6 +-- 15 files changed, 106 insertions(+), 106 deletions(-) diff --git a/packages/actions/resources/lang/ka/associate.php b/packages/actions/resources/lang/ka/associate.php index 1fe931dc21..d47862c97b 100644 --- a/packages/actions/resources/lang/ka/associate.php +++ b/packages/actions/resources/lang/ka/associate.php @@ -4,16 +4,16 @@ return [ 'single' => [ - 'label' => 'Associate', + 'label' => 'დაკავშირება', 'modal' => [ - 'heading' => 'Associate :label', + 'heading' => 'აკავშირებ :label', 'fields' => [ 'record_id' => [ - 'label' => 'Record', + 'label' => 'ჩანაწერი', ], ], @@ -21,11 +21,11 @@ return [ 'actions' => [ 'associate' => [ - 'label' => 'Associate', + 'label' => 'დაკავშირება', ], 'associate_another' => [ - 'label' => 'Associate & associate another', + 'label' => 'დაკავშირება და ახალი დაკავშირება', ], ], @@ -35,7 +35,7 @@ return [ 'notifications' => [ 'associated' => [ - 'title' => 'Associated', + 'title' => 'დაკავშირებულია', ], ], diff --git a/packages/actions/resources/lang/ka/attach.php b/packages/actions/resources/lang/ka/attach.php index 09dc5499ac..006f1d8788 100644 --- a/packages/actions/resources/lang/ka/attach.php +++ b/packages/actions/resources/lang/ka/attach.php @@ -4,16 +4,16 @@ return [ 'single' => [ - 'label' => 'Attach', + 'label' => 'მიმაგრება', 'modal' => [ - 'heading' => 'Attach :label', + 'heading' => 'ამაგრებთ :label', 'fields' => [ 'record_id' => [ - 'label' => 'Record', + 'label' => 'ჩანაწერი', ], ], @@ -21,11 +21,11 @@ return [ 'actions' => [ 'attach' => [ - 'label' => 'Attach', + 'label' => 'მიმაგრება', ], 'attach_another' => [ - 'label' => 'Attach & attach another', + 'label' => 'მიმაგრება და ახალი მიმაგრება', ], ], @@ -35,7 +35,7 @@ return [ 'notifications' => [ 'attached' => [ - 'title' => 'Attached', + 'title' => 'მიმაგრება', ], ], diff --git a/packages/actions/resources/lang/ka/create.php b/packages/actions/resources/lang/ka/create.php index 7d08c4bb07..d20cd4cafa 100644 --- a/packages/actions/resources/lang/ka/create.php +++ b/packages/actions/resources/lang/ka/create.php @@ -4,20 +4,20 @@ return [ 'single' => [ - 'label' => 'New :label', + 'label' => 'ახალი :label', 'modal' => [ - 'heading' => 'Create :label', + 'heading' => 'ქმნით :label', 'actions' => [ 'create' => [ - 'label' => 'Create', + 'label' => 'შექმნა', ], 'create_another' => [ - 'label' => 'Create & create another', + 'label' => 'შექმნა და ახალი შექმნა', ], ], @@ -27,7 +27,7 @@ return [ 'notifications' => [ 'created' => [ - 'title' => 'Created', + 'title' => 'შექმნილია', ], ], diff --git a/packages/actions/resources/lang/ka/delete.php b/packages/actions/resources/lang/ka/delete.php index b7276be9d9..6263ba6d31 100644 --- a/packages/actions/resources/lang/ka/delete.php +++ b/packages/actions/resources/lang/ka/delete.php @@ -4,16 +4,16 @@ return [ 'single' => [ - 'label' => 'Delete', + 'label' => 'წაშლა', 'modal' => [ - 'heading' => 'Delete :label', + 'heading' => 'შლით :label', 'actions' => [ 'delete' => [ - 'label' => 'Delete', + 'label' => 'წაშლა', ], ], @@ -23,7 +23,7 @@ return [ 'notifications' => [ 'deleted' => [ - 'title' => 'Deleted', + 'title' => 'წაშლილია', ], ], @@ -32,16 +32,16 @@ return [ 'multiple' => [ - 'label' => 'Delete selected', + 'label' => 'არჩეულიების წაშლა', 'modal' => [ - 'heading' => 'Delete selected :label', + 'heading' => 'მონიშნულების წაშლა :label', 'actions' => [ 'delete' => [ - 'label' => 'Delete', + 'label' => 'წაშლა', ], ], @@ -51,7 +51,7 @@ return [ 'notifications' => [ 'deleted' => [ - 'title' => 'Deleted', + 'title' => 'წაშლილია', ], ], diff --git a/packages/actions/resources/lang/ka/detach.php b/packages/actions/resources/lang/ka/detach.php index d9799c5160..f3ce68e2a2 100644 --- a/packages/actions/resources/lang/ka/detach.php +++ b/packages/actions/resources/lang/ka/detach.php @@ -4,16 +4,16 @@ return [ 'single' => [ - 'label' => 'Detach', + 'label' => 'მოშორება', 'modal' => [ - 'heading' => 'Detach :label', + 'heading' => 'აშორებთ :label', 'actions' => [ 'detach' => [ - 'label' => 'Detach', + 'label' => 'მოშორება', ], ], @@ -23,7 +23,7 @@ return [ 'notifications' => [ 'detached' => [ - 'title' => 'Detached', + 'title' => 'მოშორებულია', ], ], @@ -32,16 +32,16 @@ return [ 'multiple' => [ - 'label' => 'Detach selected', + 'label' => 'არჩეულიების მოშორება', 'modal' => [ - 'heading' => 'Detach selected :label', + 'heading' => 'არჩეულიების მოშორება :label', 'actions' => [ 'detach' => [ - 'label' => 'Detach', + 'label' => 'მოშორება', ], ], @@ -51,7 +51,7 @@ return [ 'notifications' => [ 'detached' => [ - 'title' => 'Detached', + 'title' => 'მოშორებულია', ], ], diff --git a/packages/actions/resources/lang/ka/dissociate.php b/packages/actions/resources/lang/ka/dissociate.php index 7b702482f3..53b9d5e058 100644 --- a/packages/actions/resources/lang/ka/dissociate.php +++ b/packages/actions/resources/lang/ka/dissociate.php @@ -4,16 +4,16 @@ return [ 'single' => [ - 'label' => 'Dissociate', + 'label' => 'განკავშირება', 'modal' => [ - 'heading' => 'Dissociate :label', + 'heading' => 'განკავშირება :label', 'actions' => [ 'dissociate' => [ - 'label' => 'Dissociate', + 'label' => 'განკავშირება', ], ], @@ -23,7 +23,7 @@ return [ 'notifications' => [ 'dissociated' => [ - 'title' => 'Dissociated', + 'title' => 'განკავშირებულია', ], ], @@ -32,16 +32,16 @@ return [ 'multiple' => [ - 'label' => 'Dissociate selected', + 'label' => 'არჩეულიების განკავშირება', 'modal' => [ - 'heading' => 'Dissociate selected :label', + 'heading' => 'არჩეულიების განკავშირება :label', 'actions' => [ 'dissociate' => [ - 'label' => 'Dissociate', + 'label' => 'განკავშირება', ], ], @@ -51,7 +51,7 @@ return [ 'notifications' => [ 'dissociated' => [ - 'title' => 'Dissociated', + 'title' => 'განკავშირებულია', ], ], diff --git a/packages/actions/resources/lang/ka/edit.php b/packages/actions/resources/lang/ka/edit.php index 28cc2084a7..06b4998b5e 100644 --- a/packages/actions/resources/lang/ka/edit.php +++ b/packages/actions/resources/lang/ka/edit.php @@ -4,16 +4,16 @@ return [ 'single' => [ - 'label' => 'Edit', + 'label' => 'რედაქტირება', 'modal' => [ - 'heading' => 'Edit :label', + 'heading' => 'არედაქტირებ :label', 'actions' => [ 'save' => [ - 'label' => 'Save changes', + 'label' => 'ცვლილებების შენახვა', ], ], @@ -23,7 +23,7 @@ return [ 'notifications' => [ 'saved' => [ - 'title' => 'Saved', + 'title' => 'შენახულია', ], ], diff --git a/packages/actions/resources/lang/ka/export.php b/packages/actions/resources/lang/ka/export.php index b0ec0bd1a2..966b897785 100644 --- a/packages/actions/resources/lang/ka/export.php +++ b/packages/actions/resources/lang/ka/export.php @@ -2,26 +2,26 @@ return [ - 'label' => 'Export :label', + 'label' => 'ექსპორტი :label', 'modal' => [ - 'heading' => 'Export :label', + 'heading' => 'ექსპორტდება :label', 'form' => [ 'columns' => [ - 'label' => 'Columns', + 'label' => 'სვეტები', 'form' => [ 'is_enabled' => [ - 'label' => ':column enabled', + 'label' => ':column ჩართულია', ], 'label' => [ - 'label' => ':column label', + 'label' => ':column დასახელება', ], ], @@ -33,7 +33,7 @@ return [ 'actions' => [ 'export' => [ - 'label' => 'Export', + 'label' => 'ექსპორტი', ], ], @@ -44,16 +44,16 @@ return [ 'completed' => [ - 'title' => 'Export completed', + 'title' => 'ექსპორტი დასრულებულია', 'actions' => [ 'download_csv' => [ - 'label' => 'Download .csv', + 'label' => 'გადმოწერეთ .csv', ], 'download_xlsx' => [ - 'label' => 'Download .xlsx', + 'label' => 'გადმოწერეთ .xlsx', ], ], @@ -61,17 +61,17 @@ return [ ], '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.', + 'title' => 'ექსპორტი ზედმეტად დიდია', + 'body' => 'შეგიძლიათ მაქსიმუმ 1 ჩანაწერის ექსპორტი ერთდროულად.|შეგიძლიათ მაქსიმუმ :count ჩანაწერის ექსპორტი ერთდროულად.', ], '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.', + 'title' => 'ექსპორტი დაწყებულია', + 'body' => 'თქვენი ექსპორტი დაიწყო და 1 ჩანაწერი დამუშავდება სერვერის მიერ. თქვენ მიიღებთ შეტყობინებას გადმოწერის ბმულთან ერთად, როდესაც ის დასრულდება.|თქვენი ექსპორტი დაიწყო და :count ჩანაწერი დამუშავდება სერვერზე. თქვენ მიიღებთ შეტყობინებას გადმოწერის ბმულთან ერთად, როდესაც ის დასრულდება.', ], ], - 'file_name' => 'export-:export_id-:model', + 'file_name' => 'ექსპორტი-:export_id-:model', ]; diff --git a/packages/actions/resources/lang/ka/force-delete.php b/packages/actions/resources/lang/ka/force-delete.php index aa1081c840..405a7d0449 100644 --- a/packages/actions/resources/lang/ka/force-delete.php +++ b/packages/actions/resources/lang/ka/force-delete.php @@ -4,16 +4,16 @@ return [ 'single' => [ - 'label' => 'Force delete', + 'label' => 'ფორსირებული წაშლა', 'modal' => [ - 'heading' => 'Force delete :label', + 'heading' => 'ფორსირებით შლით :label', 'actions' => [ 'delete' => [ - 'label' => 'Delete', + 'label' => 'წაშლა', ], ], @@ -23,7 +23,7 @@ return [ 'notifications' => [ 'deleted' => [ - 'title' => 'Deleted', + 'title' => 'წაშლილია', ], ], @@ -32,16 +32,16 @@ return [ 'multiple' => [ - 'label' => 'Force delete selected', + 'label' => 'ფორსირებით წასაშლელად არჩეულია', 'modal' => [ - 'heading' => 'Force delete selected :label', + 'heading' => 'ფორსირებით წასაშლელად არჩეულია :label', 'actions' => [ 'delete' => [ - 'label' => 'Delete', + 'label' => 'წაშლა', ], ], @@ -51,7 +51,7 @@ return [ 'notifications' => [ 'deleted' => [ - 'title' => 'Deleted', + 'title' => 'წაშლილია', ], ], diff --git a/packages/actions/resources/lang/ka/group.php b/packages/actions/resources/lang/ka/group.php index 92765dc8d6..025f628ef5 100644 --- a/packages/actions/resources/lang/ka/group.php +++ b/packages/actions/resources/lang/ka/group.php @@ -3,7 +3,7 @@ return [ 'trigger' => [ - 'label' => 'Actions', + 'label' => 'ქმედება', ], ]; diff --git a/packages/actions/resources/lang/ka/import.php b/packages/actions/resources/lang/ka/import.php index 459319874c..c4607096d2 100644 --- a/packages/actions/resources/lang/ka/import.php +++ b/packages/actions/resources/lang/ka/import.php @@ -2,29 +2,29 @@ return [ - 'label' => 'Import :label', + 'label' => 'იმპორტი :label', 'modal' => [ - 'heading' => 'Import :label', + 'heading' => 'იმპორტი :label', 'form' => [ 'file' => [ - 'label' => 'File', + 'label' => 'ფაილი', - 'placeholder' => 'Upload a CSV file', + 'placeholder' => 'ატვირთეთ CSV ფაილი', '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.', + 'duplicate_columns' => '{0} ფაილში არ უნდა იყოს ერთზე მეტი ცარიელი სვეტი სათაურში.|{1,*} ფაილში არ უნდა იყოს დუბლირებული სვეტის სათაურები: :columns.', ], ], 'columns' => [ - 'label' => 'Columns', - 'placeholder' => 'Select a column', + 'label' => 'სვეტები', + 'placeholder' => 'აირჩიეთ სვეტი', ], ], @@ -32,11 +32,11 @@ return [ 'actions' => [ 'download_example' => [ - 'label' => 'Download example CSV file', + 'label' => 'გადმოწერეთ მაგალითი(CSV ფაილი)', ], 'import' => [ - 'label' => 'Import', + 'label' => 'იმპორტი', ], ], @@ -47,12 +47,12 @@ return [ 'completed' => [ - 'title' => 'Import completed', + 'title' => 'იმპორტი დასრულდა', 'actions' => [ 'download_failed_rows_csv' => [ - 'label' => 'Download information about the failed row|Download information about the failed rows', + 'label' => 'გადმოწერეთ ინფორმაცია შეცდომით ჩანაწერის შესახებ|გადმოწერეთ ინფორმაცია შეცდომით ჩანაწერების შესახებ', ], ], @@ -60,13 +60,13 @@ return [ ], '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.', + 'title' => 'ატვირთული CSV ფაილი ზედმეტად დიდია', + 'body' => 'თქვენ არ შეგიძლიათ ერთდროულად ერთზე მეტი ჩანაწერის იმპორტი.|თქვენ არ შეგიძლიათ ერთდროულად :count -ზე მეტი ჩანაწერის იმპორტი.', ], '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.', + 'title' => 'იმპორტი დაწყებულია', + 'body' => 'იმპორტი დაიწყო და 1 ჩანაწერი დამუშავდება სერვერზე.|იმპორტი დაიწყო და :count ჩანაწერი დამუშავდება სერვერზე.', ], ], @@ -76,10 +76,10 @@ return [ ], 'failure_csv' => [ - 'file_name' => 'import-:import_id-:csv_name-failed-rows', - 'error_header' => 'error', - 'system_error' => 'System error, please contact support.', - 'column_mapping_required_for_new_record' => 'The :attribute column was not mapped to a column in the file, but it is required for creating new records.', + 'file_name' => 'იმპორტი-:import_id-:csv_name-შეცდომები', + 'error_header' => 'შეცდომა', + 'system_error' => 'სისტემური შეცდომა, გთხოვთ დაუკავშირდეთ მხარდაჭერის სამსახურს.', + 'column_mapping_required_for_new_record' => ':attribute სვეტი არ მიესადაგებული ფაილის სვეტს, მაგრამ ის საჭიროა ახალი ჩანაწერების შესაქმნელად.', ], ]; diff --git a/packages/actions/resources/lang/ka/modal.php b/packages/actions/resources/lang/ka/modal.php index 1ce970d3a8..caa26ba492 100644 --- a/packages/actions/resources/lang/ka/modal.php +++ b/packages/actions/resources/lang/ka/modal.php @@ -2,20 +2,20 @@ return [ - 'confirmation' => 'Are you sure you would like to do this?', + 'confirmation' => 'დარწმუნებული ხართ, რომ გსურთ ამის გაკეთება?', 'actions' => [ 'cancel' => [ - 'label' => 'Cancel', + 'label' => 'გაუქმება', ], 'confirm' => [ - 'label' => 'Confirm', + 'label' => 'დადასტურება', ], 'submit' => [ - 'label' => 'Submit', + 'label' => 'დადასტურება', ], ], diff --git a/packages/actions/resources/lang/ka/replicate.php b/packages/actions/resources/lang/ka/replicate.php index 7fff7cc7cb..98e656add0 100644 --- a/packages/actions/resources/lang/ka/replicate.php +++ b/packages/actions/resources/lang/ka/replicate.php @@ -4,16 +4,16 @@ return [ 'single' => [ - 'label' => 'Replicate', + 'label' => 'დუბლირება', 'modal' => [ - 'heading' => 'Replicate :label', + 'heading' => 'ადუბლირებთ :label', 'actions' => [ 'replicate' => [ - 'label' => 'Replicate', + 'label' => 'დუბლირება', ], ], @@ -23,7 +23,7 @@ return [ 'notifications' => [ 'replicated' => [ - 'title' => 'Replicated', + 'title' => 'დუბლირებულია', ], ], diff --git a/packages/actions/resources/lang/ka/restore.php b/packages/actions/resources/lang/ka/restore.php index 403bc2856e..8c2a3b0608 100644 --- a/packages/actions/resources/lang/ka/restore.php +++ b/packages/actions/resources/lang/ka/restore.php @@ -4,16 +4,16 @@ return [ 'single' => [ - 'label' => 'Restore', + 'label' => 'აღდგენა', 'modal' => [ - 'heading' => 'Restore :label', + 'heading' => 'აღადგენთ :label', 'actions' => [ 'restore' => [ - 'label' => 'Restore', + 'label' => 'აღდგენა', ], ], @@ -23,7 +23,7 @@ return [ 'notifications' => [ 'restored' => [ - 'title' => 'Restored', + 'title' => 'აღდგენილია', ], ], @@ -32,16 +32,16 @@ return [ 'multiple' => [ - 'label' => 'Restore selected', + 'label' => 'არჩეულიების აღდგენა', 'modal' => [ - 'heading' => 'Restore selected :label', + 'heading' => 'არჩეულიების აღდგენა :label', 'actions' => [ 'restore' => [ - 'label' => 'Restore', + 'label' => 'აღდგენა', ], ], @@ -51,7 +51,7 @@ return [ 'notifications' => [ 'restored' => [ - 'title' => 'Restored', + 'title' => 'აღდგენილია', ], ], diff --git a/packages/actions/resources/lang/ka/view.php b/packages/actions/resources/lang/ka/view.php index fd33de1a60..69ef7e8212 100644 --- a/packages/actions/resources/lang/ka/view.php +++ b/packages/actions/resources/lang/ka/view.php @@ -4,16 +4,16 @@ return [ 'single' => [ - 'label' => 'View', + 'label' => 'დათვალიერება', 'modal' => [ - 'heading' => 'View :label', + 'heading' => 'ათვალიერებთ :label', 'actions' => [ 'close' => [ - 'label' => 'Close', + 'label' => 'დახურვა', ], ], From 7984965d36c929a065d35f4e5519c6c29afa8063 Mon Sep 17 00:00:00 2001 From: Irakli Kirkitadze Date: Sat, 12 Oct 2024 16:00:51 +0400 Subject: [PATCH 04/22] add missing translations(KA) for package forms --- .../forms/resources/lang/ka/components.php | 502 +++++++++++++++++- .../forms/resources/lang/ka/validation.php | 10 + 2 files changed, 492 insertions(+), 20 deletions(-) create mode 100644 packages/forms/resources/lang/ka/validation.php diff --git a/packages/forms/resources/lang/ka/components.php b/packages/forms/resources/lang/ka/components.php index bf48b502b7..bfcae75cde 100644 --- a/packages/forms/resources/lang/ka/components.php +++ b/packages/forms/resources/lang/ka/components.php @@ -2,6 +2,367 @@ return [ + 'builder' => [ + + 'actions' => [ + + 'clone' => [ + 'label' => 'Clone', + ], + + 'add' => [ + + 'label' => 'Add to :label', + + 'modal' => [ + + 'heading' => 'Add to :label', + + 'actions' => [ + + 'add' => [ + 'label' => 'Add', + ], + + ], + + ], + + ], + + 'add_between' => [ + + 'label' => 'Insert between blocks', + + 'modal' => [ + + 'heading' => 'Add to :label', + + 'actions' => [ + + 'add' => [ + 'label' => 'Add', + ], + + ], + + ], + + ], + + 'delete' => [ + 'label' => 'Delete', + ], + + 'edit' => [ + + 'label' => 'Edit', + + 'modal' => [ + + 'heading' => 'Edit block', + + 'actions' => [ + + 'save' => [ + 'label' => 'Save changes', + ], + + ], + + ], + + ], + + 'reorder' => [ + 'label' => 'Move', + ], + + 'move_down' => [ + 'label' => 'Move down', + ], + + 'move_up' => [ + 'label' => 'Move up', + ], + + 'collapse' => [ + 'label' => 'Collapse', + ], + + 'expand' => [ + 'label' => 'Expand', + ], + + 'collapse_all' => [ + 'label' => 'Collapse all', + ], + + 'expand_all' => [ + 'label' => 'Expand all', + ], + + ], + + ], + + 'checkbox_list' => [ + + 'actions' => [ + + 'deselect_all' => [ + 'label' => 'Deselect all', + ], + + 'select_all' => [ + 'label' => 'Select all', + ], + + ], + + ], + + 'file_upload' => [ + + 'editor' => [ + + 'actions' => [ + + 'cancel' => [ + 'label' => 'Cancel', + ], + + 'drag_crop' => [ + 'label' => 'Drag mode "crop"', + ], + + 'drag_move' => [ + 'label' => 'Drag mode "move"', + ], + + 'flip_horizontal' => [ + 'label' => 'Flip image horizontally', + ], + + 'flip_vertical' => [ + 'label' => 'Flip image vertically', + ], + + 'move_down' => [ + 'label' => 'Move image down', + ], + + 'move_left' => [ + 'label' => 'Move image to left', + ], + + 'move_right' => [ + 'label' => 'Move image to right', + ], + + 'move_up' => [ + 'label' => 'Move image up', + ], + + 'reset' => [ + 'label' => 'Reset', + ], + + 'rotate_left' => [ + 'label' => 'Rotate image to left', + ], + + 'rotate_right' => [ + 'label' => 'Rotate image to right', + ], + + 'set_aspect_ratio' => [ + 'label' => 'Set aspect ratio to :ratio', + ], + + 'save' => [ + 'label' => 'Save', + ], + + 'zoom_100' => [ + 'label' => 'Zoom image to 100%', + ], + + 'zoom_in' => [ + 'label' => 'Zoom in', + ], + + 'zoom_out' => [ + 'label' => 'Zoom out', + ], + + ], + + 'fields' => [ + + 'height' => [ + 'label' => 'Height', + 'unit' => 'px', + ], + + 'rotation' => [ + 'label' => 'Rotation', + 'unit' => 'deg', + ], + + 'width' => [ + 'label' => 'Width', + 'unit' => 'px', + ], + + 'x_position' => [ + 'label' => 'X', + 'unit' => 'px', + ], + + 'y_position' => [ + 'label' => 'Y', + 'unit' => 'px', + ], + + ], + + 'aspect_ratios' => [ + + 'label' => 'Aspect ratios', + + 'no_fixed' => [ + 'label' => 'Free', + ], + + ], + + 'svg' => [ + + 'messages' => [ + 'confirmation' => 'Editing SVG files is not recommended as it can result in quality loss when scaling.\n Are you sure you want to continue?', + 'disabled' => 'Editing SVG files is disabled as it can result in quality loss when scaling.', + ], + + ], + + ], + + ], + + 'key_value' => [ + + 'actions' => [ + + 'add' => [ + 'label' => 'Add row', + ], + + 'delete' => [ + 'label' => 'Delete row', + ], + + 'reorder' => [ + 'label' => 'Reorder row', + ], + + ], + + 'fields' => [ + + 'key' => [ + 'label' => 'Key', + ], + + 'value' => [ + 'label' => 'Value', + ], + + ], + + ], + + 'markdown_editor' => [ + + 'toolbar_buttons' => [ + 'attach_files' => 'Attach files', + 'blockquote' => 'Blockquote', + 'bold' => 'Bold', + 'bullet_list' => 'Bullet list', + 'code_block' => 'Code block', + 'heading' => 'Heading', + 'italic' => 'Italic', + 'link' => 'Link', + 'ordered_list' => 'Numbered list', + 'redo' => 'Redo', + 'strike' => 'Strikethrough', + 'table' => 'Table', + 'undo' => 'Undo', + ], + + ], + + 'radio' => [ + + 'boolean' => [ + 'true' => 'Yes', + 'false' => 'No', + ], + + ], + + 'repeater' => [ + + 'actions' => [ + + 'add' => [ + 'label' => 'Add to :label', + ], + + 'add_between' => [ + 'label' => 'Insert between', + ], + + 'delete' => [ + 'label' => 'Delete', + ], + + 'clone' => [ + 'label' => 'Clone', + ], + + 'reorder' => [ + 'label' => 'Move', + ], + + 'move_down' => [ + 'label' => 'Move down', + ], + + 'move_up' => [ + 'label' => 'Move up', + ], + + 'collapse' => [ + 'label' => 'Collapse', + ], + + 'expand' => [ + 'label' => 'Expand', + ], + + 'collapse_all' => [ + 'label' => 'Collapse all', + ], + + 'expand_all' => [ + 'label' => 'Expand all', + ], + + ], + + ], + 'rich_editor' => [ 'dialogs' => [ @@ -9,45 +370,146 @@ return [ 'link' => [ 'actions' => [ - 'link' => 'დამატება', - 'unlink' => 'გაუქმება', + 'link' => 'Link', + 'unlink' => 'Unlink', ], - 'label' => 'ლინკი', + 'label' => 'URL', - 'placeholder' => 'ჩაწერეთ URL მისამართი', + 'placeholder' => 'Enter a URL', ], ], 'toolbar_buttons' => [ - 'attach_files' => 'ფაილების დამატება', - 'blockquote' => 'ციტატა', - 'bold' => 'მსხვილი', - 'bullet_list' => 'სია', - 'code_block' => 'კოდი', - 'h1' => 'სათაური', - 'h2' => 'სათაური', - 'h3' => 'ქვესათაური', - 'italic' => 'დახრილი', - 'link' => 'ლინკი', - 'ordered_list' => 'რიცხვები', + 'attach_files' => 'Attach files', + 'blockquote' => 'Blockquote', + 'bold' => 'Bold', + 'bullet_list' => 'Bullet list', + 'code_block' => 'Code block', + 'h1' => 'Title', + 'h2' => 'Heading', + 'h3' => 'Subheading', + 'italic' => 'Italic', + 'link' => 'Link', + 'ordered_list' => 'Numbered list', 'redo' => 'Redo', - 'strike' => 'ხაზგადასმული', + 'strike' => 'Strikethrough', + 'underline' => 'Underline', 'undo' => 'Undo', ], ], 'select' => [ - 'no_search_results_message' => 'ამ პარამეტრებით არცერთი ჩანაწერი არ მოიძებნა.', - 'placeholder' => 'აირჩიეთ ჩანაწერი', - 'search_prompt' => 'ძიება...', + + 'actions' => [ + + 'create_option' => [ + + 'modal' => [ + + 'heading' => 'Create', + + 'actions' => [ + + 'create' => [ + 'label' => 'Create', + ], + + 'create_another' => [ + 'label' => 'Create & create another', + ], + + ], + + ], + + ], + + 'edit_option' => [ + + 'modal' => [ + + 'heading' => 'Edit', + + 'actions' => [ + + 'save' => [ + 'label' => 'Save', + ], + + ], + + ], + + ], + + ], + + 'boolean' => [ + 'true' => 'Yes', + 'false' => 'No', + ], + + 'loading_message' => 'Loading...', + + 'max_items_message' => 'Only :count can be selected.', + + 'no_search_results_message' => 'No options match your search.', + + 'placeholder' => 'Select an option', + + 'searching_message' => 'Searching...', + + 'search_prompt' => 'Start typing to search...', + ], 'tags_input' => [ - 'placeholder' => 'ახალი ტეგი', + 'placeholder' => 'New tag', + ], + + 'text_input' => [ + + 'actions' => [ + + 'hide_password' => [ + 'label' => 'Hide password', + ], + + 'show_password' => [ + 'label' => 'Show password', + ], + + ], + + ], + + 'toggle_buttons' => [ + + 'boolean' => [ + 'true' => 'Yes', + 'false' => 'No', + ], + + ], + + 'wizard' => [ + + 'actions' => [ + + 'previous_step' => [ + 'label' => 'Back', + ], + + 'next_step' => [ + 'label' => 'Next', + ], + + ], + ], ]; diff --git a/packages/forms/resources/lang/ka/validation.php b/packages/forms/resources/lang/ka/validation.php new file mode 100644 index 0000000000..a855767e16 --- /dev/null +++ b/packages/forms/resources/lang/ka/validation.php @@ -0,0 +1,10 @@ + [ + 'must_be_selected' => 'At least one :attribute field must be selected.', + 'only_one_must_be_selected' => 'Only one :attribute field must be selected.', + ], + +]; From 7f3fcf1fa4713b74bd0dc5d3f84693a745254c7e Mon Sep 17 00:00:00 2001 From: Irakli Kirkitadze Date: Sat, 12 Oct 2024 16:24:39 +0400 Subject: [PATCH 05/22] add Georgian translations for package forms --- .../forms/resources/lang/ka/components.php | 229 +++++++++--------- .../forms/resources/lang/ka/validation.php | 4 +- 2 files changed, 117 insertions(+), 116 deletions(-) diff --git a/packages/forms/resources/lang/ka/components.php b/packages/forms/resources/lang/ka/components.php index bfcae75cde..af84894129 100644 --- a/packages/forms/resources/lang/ka/components.php +++ b/packages/forms/resources/lang/ka/components.php @@ -7,21 +7,21 @@ return [ 'actions' => [ 'clone' => [ - 'label' => 'Clone', + 'label' => 'კლონირება', ], 'add' => [ - 'label' => 'Add to :label', + 'label' => 'დამატება :label-ში', 'modal' => [ - 'heading' => 'Add to :label', + 'heading' => 'დამატება :label-ში', 'actions' => [ 'add' => [ - 'label' => 'Add', + 'label' => 'დამატება', ], ], @@ -32,16 +32,16 @@ return [ 'add_between' => [ - 'label' => 'Insert between blocks', + 'label' => 'ბლოკებს შორის ჩასმა', 'modal' => [ - 'heading' => 'Add to :label', + 'heading' => 'დამატება :label-ში', 'actions' => [ 'add' => [ - 'label' => 'Add', + 'label' => 'დამატება', ], ], @@ -51,21 +51,21 @@ return [ ], 'delete' => [ - 'label' => 'Delete', + 'label' => 'წაშლა', ], 'edit' => [ - 'label' => 'Edit', + 'label' => 'რედაქტირება', 'modal' => [ - 'heading' => 'Edit block', + 'heading' => 'ბლოკის რედაქტირება', 'actions' => [ 'save' => [ - 'label' => 'Save changes', + 'label' => 'ცვლილებების შენახვა', ], ], @@ -75,31 +75,31 @@ return [ ], 'reorder' => [ - 'label' => 'Move', + 'label' => 'გადაადგილება', ], 'move_down' => [ - 'label' => 'Move down', + 'label' => 'გადაადგილება ქვემოთ', ], 'move_up' => [ - 'label' => 'Move up', + 'label' => 'გადაადგილება ზემოთ', ], 'collapse' => [ - 'label' => 'Collapse', + 'label' => 'შეკუმშვა', ], 'expand' => [ - 'label' => 'Expand', + 'label' => 'გაფართოება', ], 'collapse_all' => [ - 'label' => 'Collapse all', + 'label' => 'ყველას შეკუმშვა', ], 'expand_all' => [ - 'label' => 'Expand all', + 'label' => 'ყველას გაფართოება', ], ], @@ -111,11 +111,11 @@ return [ 'actions' => [ 'deselect_all' => [ - 'label' => 'Deselect all', + 'label' => 'ყველას არჩევის გაუქმება', ], 'select_all' => [ - 'label' => 'Select all', + 'label' => 'ყველას არჩევა', ], ], @@ -129,71 +129,71 @@ return [ 'actions' => [ 'cancel' => [ - 'label' => 'Cancel', + 'label' => 'გაუქმება', ], 'drag_crop' => [ - 'label' => 'Drag mode "crop"', + 'label' => 'რეჟიმი "მოჭრა"', ], 'drag_move' => [ - 'label' => 'Drag mode "move"', + 'label' => 'რეჟიმი "გადაადგილება"', ], 'flip_horizontal' => [ - 'label' => 'Flip image horizontally', + 'label' => 'სურათის ჰორიზონტალური გადატრიალება', ], 'flip_vertical' => [ - 'label' => 'Flip image vertically', + 'label' => 'სურათის ვერტიკალური გადატრიალება', ], 'move_down' => [ - 'label' => 'Move image down', + 'label' => 'სურათის გადაადგილება ქვემოთ', ], 'move_left' => [ - 'label' => 'Move image to left', + 'label' => 'სურათის გადაადგილება მარცხნივ', ], 'move_right' => [ - 'label' => 'Move image to right', + 'label' => 'სურათის გადაადგილება მარჯვნივ', ], 'move_up' => [ - 'label' => 'Move image up', + 'label' => 'სურათის გადაადგილება ზემოთ', ], 'reset' => [ - 'label' => 'Reset', + 'label' => 'გადატვირთვა', ], 'rotate_left' => [ - 'label' => 'Rotate image to left', + 'label' => 'სურათის მარცხნივ გადატრიალება', ], 'rotate_right' => [ - 'label' => 'Rotate image to right', + 'label' => 'სურათის მარჯვნივ გადატრიალება', ], 'set_aspect_ratio' => [ - 'label' => 'Set aspect ratio to :ratio', + 'label' => 'პროპორციის დაყენება :ratio', ], 'save' => [ - 'label' => 'Save', + 'label' => 'შენახვა', ], 'zoom_100' => [ - 'label' => 'Zoom image to 100%', + 'label' => 'ზუმი 100%', ], 'zoom_in' => [ - 'label' => 'Zoom in', + 'label' => 'ზუმირება', ], 'zoom_out' => [ - 'label' => 'Zoom out', + 'label' => 'გამოზუმვა', ], ], @@ -201,17 +201,17 @@ return [ 'fields' => [ 'height' => [ - 'label' => 'Height', + 'label' => 'სიმაღლე', 'unit' => 'px', ], 'rotation' => [ - 'label' => 'Rotation', - 'unit' => 'deg', + 'label' => 'ბრუნვა', + 'unit' => 'გრად', ], 'width' => [ - 'label' => 'Width', + 'label' => 'სიგანე', 'unit' => 'px', ], @@ -229,10 +229,10 @@ return [ 'aspect_ratios' => [ - 'label' => 'Aspect ratios', + 'label' => 'პროპორციები', 'no_fixed' => [ - 'label' => 'Free', + 'label' => 'თავისუფალი', ], ], @@ -240,8 +240,9 @@ return [ 'svg' => [ 'messages' => [ - 'confirmation' => 'Editing SVG files is not recommended as it can result in quality loss when scaling.\n Are you sure you want to continue?', - 'disabled' => 'Editing SVG files is disabled as it can result in quality loss when scaling.', + 'confirmation' => 'SVG ფაილების რედაქტირება არ არის რეკომენდებული, რადგან მასშტაბირებისას შეიძლება ხარისხის დაკარგვა. + დარწმუნებული ხართ, რომ გსურთ გაგრძელება?', + 'disabled' => 'SVG ფაილების რედაქტირება გამორთულია, რადგან მასშტაბირებისას შეიძლება ხარისხის დაკარგვა.', ], ], @@ -255,15 +256,15 @@ return [ 'actions' => [ 'add' => [ - 'label' => 'Add row', + 'label' => 'ჩანაწერის დამატება', ], 'delete' => [ - 'label' => 'Delete row', + 'label' => 'ჩანაწერის წაშლა', ], 'reorder' => [ - 'label' => 'Reorder row', + 'label' => 'ჩანაწერის გადალაგება', ], ], @@ -271,11 +272,11 @@ return [ 'fields' => [ 'key' => [ - 'label' => 'Key', + 'label' => 'იდენტიფიკატორი', ], 'value' => [ - 'label' => 'Value', + 'label' => 'მნიშვნელობა', ], ], @@ -285,19 +286,19 @@ return [ 'markdown_editor' => [ 'toolbar_buttons' => [ - 'attach_files' => 'Attach files', - 'blockquote' => 'Blockquote', - 'bold' => 'Bold', - 'bullet_list' => 'Bullet list', - 'code_block' => 'Code block', - 'heading' => 'Heading', - 'italic' => 'Italic', - 'link' => 'Link', - 'ordered_list' => 'Numbered list', - 'redo' => 'Redo', - 'strike' => 'Strikethrough', - 'table' => 'Table', - 'undo' => 'Undo', + 'attach_files' => 'ფაილების მიმაგრება', + 'blockquote' => 'ციტატა', + 'bold' => 'მსხვილი', + 'bullet_list' => 'მარკირებული სია', + 'code_block' => 'კოდის ბლოკი', + 'heading' => 'სათაური', + 'italic' => 'ტალღოვანი', + 'link' => 'ბმული', + 'ordered_list' => 'ნუმერირებული სია', + 'redo' => 'გადამეორება', + 'strike' => 'გადახაზული', + 'table' => 'ცხრილი', + 'undo' => 'გაუქმება', ], ], @@ -305,8 +306,8 @@ return [ 'radio' => [ 'boolean' => [ - 'true' => 'Yes', - 'false' => 'No', + 'true' => 'კი', + 'false' => 'არა', ], ], @@ -316,47 +317,47 @@ return [ 'actions' => [ 'add' => [ - 'label' => 'Add to :label', + 'label' => 'დამატება :label-ში', ], 'add_between' => [ - 'label' => 'Insert between', + 'label' => 'ჩასმა შორის', ], 'delete' => [ - 'label' => 'Delete', + 'label' => 'წაშლა', ], 'clone' => [ - 'label' => 'Clone', + 'label' => 'კლონირება', ], 'reorder' => [ - 'label' => 'Move', + 'label' => 'გადაადგილება', ], 'move_down' => [ - 'label' => 'Move down', + 'label' => 'გადაადგილება ქვემოთ', ], 'move_up' => [ - 'label' => 'Move up', + 'label' => 'გადაადგილება ზემოთ', ], 'collapse' => [ - 'label' => 'Collapse', + 'label' => 'შეკუმშვა', ], 'expand' => [ - 'label' => 'Expand', + 'label' => 'გაფართოება', ], 'collapse_all' => [ - 'label' => 'Collapse all', + 'label' => 'ყველას შეკუმშვა', ], 'expand_all' => [ - 'label' => 'Expand all', + 'label' => 'ყველას გაფართოება', ], ], @@ -370,34 +371,34 @@ return [ 'link' => [ 'actions' => [ - 'link' => 'Link', - 'unlink' => 'Unlink', + 'link' => 'ბმული', + 'unlink' => 'ბმულის მოხსნა', ], 'label' => 'URL', - 'placeholder' => 'Enter a URL', + 'placeholder' => 'შეიყვანეთ URL', ], ], 'toolbar_buttons' => [ - 'attach_files' => 'Attach files', - 'blockquote' => 'Blockquote', - 'bold' => 'Bold', - 'bullet_list' => 'Bullet list', - 'code_block' => 'Code block', - 'h1' => 'Title', - 'h2' => 'Heading', - 'h3' => 'Subheading', - 'italic' => 'Italic', - 'link' => 'Link', - 'ordered_list' => 'Numbered list', - 'redo' => 'Redo', - 'strike' => 'Strikethrough', - 'underline' => 'Underline', - 'undo' => 'Undo', + 'attach_files' => 'ფაილების მიმაგრება', + 'blockquote' => 'ციტატა', + 'bold' => 'მსხვილი', + 'bullet_list' => 'მარკირებული სია', + 'code_block' => 'კოდის ბლოკი', + 'h1' => 'სათაური', + 'h2' => 'სათაური 2', + 'h3' => 'ქვესათაური', + 'italic' => 'ტალღოვანი', + 'link' => 'ბმული', + 'ordered_list' => 'ნუმერირებული სია', + 'redo' => 'გადამეორება', + 'strike' => 'გადახაზული', + 'underline' => 'დახაზული', + 'undo' => 'გაუქმება', ], ], @@ -410,16 +411,16 @@ return [ 'modal' => [ - 'heading' => 'Create', + 'heading' => 'შექმნა', 'actions' => [ 'create' => [ - 'label' => 'Create', + 'label' => 'შექმნა', ], 'create_another' => [ - 'label' => 'Create & create another', + 'label' => 'შექმნა & ახალი შექმნა', ], ], @@ -432,12 +433,12 @@ return [ 'modal' => [ - 'heading' => 'Edit', + 'heading' => 'რედაქტირება', 'actions' => [ 'save' => [ - 'label' => 'Save', + 'label' => 'შენახვა', ], ], @@ -449,26 +450,26 @@ return [ ], 'boolean' => [ - 'true' => 'Yes', - 'false' => 'No', + 'true' => 'კი', + 'false' => 'არა', ], - 'loading_message' => 'Loading...', + 'loading_message' => 'იტვირთება...', - 'max_items_message' => 'Only :count can be selected.', + 'max_items_message' => 'შეიძლება მხოლოდ :count აირჩიოთ.', - 'no_search_results_message' => 'No options match your search.', + 'no_search_results_message' => 'არჩევანი ვერ მოიძებნა.', - 'placeholder' => 'Select an option', + 'placeholder' => 'აირჩიეთ ვარიანტი', - 'searching_message' => 'Searching...', + 'searching_message' => 'ძიება...', - 'search_prompt' => 'Start typing to search...', + 'search_prompt' => 'მოძიების დასაწყებად აკრიფეთ...', ], 'tags_input' => [ - 'placeholder' => 'New tag', + 'placeholder' => 'ახალი თაგი', ], 'text_input' => [ @@ -476,11 +477,11 @@ return [ 'actions' => [ 'hide_password' => [ - 'label' => 'Hide password', + 'label' => 'პაროლის დამალვა', ], 'show_password' => [ - 'label' => 'Show password', + 'label' => 'პაროლის ჩვენება', ], ], @@ -490,8 +491,8 @@ return [ 'toggle_buttons' => [ 'boolean' => [ - 'true' => 'Yes', - 'false' => 'No', + 'true' => 'კი', + 'false' => 'არა', ], ], @@ -501,11 +502,11 @@ return [ 'actions' => [ 'previous_step' => [ - 'label' => 'Back', + 'label' => 'უკან', ], 'next_step' => [ - 'label' => 'Next', + 'label' => 'შემდეგი', ], ], diff --git a/packages/forms/resources/lang/ka/validation.php b/packages/forms/resources/lang/ka/validation.php index a855767e16..60c77539d3 100644 --- a/packages/forms/resources/lang/ka/validation.php +++ b/packages/forms/resources/lang/ka/validation.php @@ -3,8 +3,8 @@ return [ 'distinct' => [ - 'must_be_selected' => 'At least one :attribute field must be selected.', - 'only_one_must_be_selected' => 'Only one :attribute field must be selected.', + 'must_be_selected' => 'უნდა აირჩეს მინიმუმ ერთი :attribute ველი.', + 'only_one_must_be_selected' => 'უნდა აირჩეს მხოლოდ ერთი :attribute ველი.', ], ]; From c6e0a536f20395072f19ea5d25486e355f4b9a1b Mon Sep 17 00:00:00 2001 From: Irakli Kirkitadze Date: Sat, 12 Oct 2024 16:25:23 +0400 Subject: [PATCH 06/22] add Georgian tranlation folder for package infolists --- .../resources/lang/ka/components.php | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 packages/infolists/resources/lang/ka/components.php diff --git a/packages/infolists/resources/lang/ka/components.php b/packages/infolists/resources/lang/ka/components.php new file mode 100644 index 0000000000..00becfcfb7 --- /dev/null +++ b/packages/infolists/resources/lang/ka/components.php @@ -0,0 +1,38 @@ + [ + + 'text' => [ + + 'actions' => [ + 'collapse_list' => 'Show :count less', + 'expand_list' => 'Show :count more', + ], + + 'more_list_items' => 'and :count more', + + ], + + 'key_value' => [ + + 'columns' => [ + + 'key' => [ + 'label' => 'Key', + ], + + 'value' => [ + 'label' => 'Value', + ], + + ], + + 'placeholder' => 'No entries', + + ], + + ], + +]; From 4f8d276d998fb0a86b26964b72320e8fbcfc1e40 Mon Sep 17 00:00:00 2001 From: Irakli Kirkitadze Date: Sat, 12 Oct 2024 16:27:23 +0400 Subject: [PATCH 07/22] add Georgian translations for package infolists --- packages/infolists/resources/lang/ka/components.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/infolists/resources/lang/ka/components.php b/packages/infolists/resources/lang/ka/components.php index 00becfcfb7..b43987281b 100644 --- a/packages/infolists/resources/lang/ka/components.php +++ b/packages/infolists/resources/lang/ka/components.php @@ -7,11 +7,11 @@ return [ 'text' => [ 'actions' => [ - 'collapse_list' => 'Show :count less', - 'expand_list' => 'Show :count more', + 'collapse_list' => 'იხილეთ :count ნაკლები', + 'expand_list' => 'იხილეთ :count მეტი', ], - 'more_list_items' => 'and :count more', + 'more_list_items' => 'და კიდევ :count', ], @@ -20,16 +20,16 @@ return [ 'columns' => [ 'key' => [ - 'label' => 'Key', + 'label' => 'იდენტიფიკატორი', ], 'value' => [ - 'label' => 'Value', + 'label' => 'მნიშვნელობა', ], ], - 'placeholder' => 'No entries', + 'placeholder' => 'ჩანაწერები არ არის', ], From 4cb678c898e63cb6f54420f7f6f54877ef68ba64 Mon Sep 17 00:00:00 2001 From: Irakli Kirkitadze Date: Sat, 12 Oct 2024 16:28:23 +0400 Subject: [PATCH 08/22] add Georgian translations folder for package notifications --- .../resources/lang/ka/database.php | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 packages/notifications/resources/lang/ka/database.php diff --git a/packages/notifications/resources/lang/ka/database.php b/packages/notifications/resources/lang/ka/database.php new file mode 100644 index 0000000000..ddf9c20bce --- /dev/null +++ b/packages/notifications/resources/lang/ka/database.php @@ -0,0 +1,28 @@ + [ + + 'heading' => 'Notifications', + + 'actions' => [ + + 'clear' => [ + 'label' => 'Clear', + ], + + 'mark_all_as_read' => [ + 'label' => 'Mark all as read', + ], + + ], + + 'empty' => [ + 'heading' => 'No notifications', + 'description' => 'Please check again later.', + ], + + ], + +]; From c3b5d69680a33666d7416319661700e7956c8df5 Mon Sep 17 00:00:00 2001 From: Irakli Kirkitadze Date: Sat, 12 Oct 2024 16:29:37 +0400 Subject: [PATCH 09/22] add Georgian translations for package notifications --- packages/notifications/resources/lang/ka/database.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/notifications/resources/lang/ka/database.php b/packages/notifications/resources/lang/ka/database.php index ddf9c20bce..e8589e1b2a 100644 --- a/packages/notifications/resources/lang/ka/database.php +++ b/packages/notifications/resources/lang/ka/database.php @@ -4,23 +4,23 @@ return [ 'modal' => [ - 'heading' => 'Notifications', + 'heading' => 'შეტყობინებები', 'actions' => [ 'clear' => [ - 'label' => 'Clear', + 'label' => 'გასუფთავება', ], 'mark_all_as_read' => [ - 'label' => 'Mark all as read', + 'label' => 'ყველას წაკითხულად მონიშვნა', ], ], 'empty' => [ - 'heading' => 'No notifications', - 'description' => 'Please check again later.', + 'heading' => 'შეტყობინებები არ არის', + 'description' => 'გთხოვთ, შეამოწმოთ მოგვიანებით.', ], ], From 0b7a29fe7d982b78d1a227db1db7bcdf9fe24f90 Mon Sep 17 00:00:00 2001 From: Irakli Kirkitadze Date: Sat, 12 Oct 2024 16:30:50 +0400 Subject: [PATCH 10/22] add Georgian translations folder for package support --- .../resources/lang/ka/components/button.php | 9 ++++++++ .../resources/lang/ka/components/copyable.php | 9 ++++++++ .../resources/lang/ka/components/modal.php | 13 +++++++++++ .../lang/ka/components/pagination.php | 22 +++++++++++++------ 4 files changed, 46 insertions(+), 7 deletions(-) create mode 100644 packages/support/resources/lang/ka/components/button.php create mode 100644 packages/support/resources/lang/ka/components/copyable.php create mode 100644 packages/support/resources/lang/ka/components/modal.php diff --git a/packages/support/resources/lang/ka/components/button.php b/packages/support/resources/lang/ka/components/button.php new file mode 100644 index 0000000000..6329cc1544 --- /dev/null +++ b/packages/support/resources/lang/ka/components/button.php @@ -0,0 +1,9 @@ + [ + 'uploading_file' => 'Uploading file...', + ], + +]; diff --git a/packages/support/resources/lang/ka/components/copyable.php b/packages/support/resources/lang/ka/components/copyable.php new file mode 100644 index 0000000000..8c73673a54 --- /dev/null +++ b/packages/support/resources/lang/ka/components/copyable.php @@ -0,0 +1,9 @@ + [ + 'copied' => 'Copied', + ], + +]; diff --git a/packages/support/resources/lang/ka/components/modal.php b/packages/support/resources/lang/ka/components/modal.php new file mode 100644 index 0000000000..53214079eb --- /dev/null +++ b/packages/support/resources/lang/ka/components/modal.php @@ -0,0 +1,13 @@ + [ + + 'close' => [ + 'label' => 'Close', + ], + + ], + +]; diff --git a/packages/support/resources/lang/ka/components/pagination.php b/packages/support/resources/lang/ka/components/pagination.php index 75e1370768..6c51acdffd 100644 --- a/packages/support/resources/lang/ka/components/pagination.php +++ b/packages/support/resources/lang/ka/components/pagination.php @@ -2,18 +2,18 @@ return [ - 'label' => 'გვერდებზე ნავიგაცია', + 'label' => 'Pagination navigation', - 'overview' => '{1} ნაჩვენებია ერთი შედეგი|[2,*] ნაჩვენებია :first-დან :last-მდე :total-დან', + 'overview' => '{1} Showing 1 result|[2,*] Showing :first to :last of :total results', 'fields' => [ 'records_per_page' => [ - 'label' => 'ჩანაწერი თითო გვერდზე', + 'label' => 'Per page', 'options' => [ - 'all' => 'ყველა', + 'all' => 'All', ], ], @@ -22,16 +22,24 @@ return [ 'actions' => [ + 'first' => [ + 'label' => 'First', + ], + 'go_to_page' => [ - 'label' => '{1} :page-ელ გვერდზე გადასვლა|[2,*] მე-:page გვერდზე გადასვლა', + 'label' => 'Go to page :page', + ], + + 'last' => [ + 'label' => 'Last', ], 'next' => [ - 'label' => 'შემდეგი', + 'label' => 'Next', ], 'previous' => [ - 'label' => 'წინა', + 'label' => 'Previous', ], ], From 6d096f480b31d99335ec3b2d83f0cffc30e7b6f0 Mon Sep 17 00:00:00 2001 From: Irakli Kirkitadze Date: Sat, 12 Oct 2024 16:42:45 +0400 Subject: [PATCH 11/22] add Georgian translations for package support --- .../resources/lang/ka/components/button.php | 2 +- .../resources/lang/ka/components/copyable.php | 2 +- .../resources/lang/ka/components/modal.php | 2 +- .../lang/ka/components/pagination.php | 18 +++++++++--------- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/support/resources/lang/ka/components/button.php b/packages/support/resources/lang/ka/components/button.php index 6329cc1544..bf87b0a400 100644 --- a/packages/support/resources/lang/ka/components/button.php +++ b/packages/support/resources/lang/ka/components/button.php @@ -3,7 +3,7 @@ return [ 'messages' => [ - 'uploading_file' => 'Uploading file...', + 'uploading_file' => 'ფაილის ატვირთვა...', ], ]; diff --git a/packages/support/resources/lang/ka/components/copyable.php b/packages/support/resources/lang/ka/components/copyable.php index 8c73673a54..69e5ec84d5 100644 --- a/packages/support/resources/lang/ka/components/copyable.php +++ b/packages/support/resources/lang/ka/components/copyable.php @@ -3,7 +3,7 @@ return [ 'messages' => [ - 'copied' => 'Copied', + 'copied' => 'დაკოპირდა', ], ]; diff --git a/packages/support/resources/lang/ka/components/modal.php b/packages/support/resources/lang/ka/components/modal.php index 53214079eb..23f2ccf80c 100644 --- a/packages/support/resources/lang/ka/components/modal.php +++ b/packages/support/resources/lang/ka/components/modal.php @@ -5,7 +5,7 @@ return [ 'actions' => [ 'close' => [ - 'label' => 'Close', + 'label' => 'დახურვა', ], ], diff --git a/packages/support/resources/lang/ka/components/pagination.php b/packages/support/resources/lang/ka/components/pagination.php index 6c51acdffd..dceb805ca5 100644 --- a/packages/support/resources/lang/ka/components/pagination.php +++ b/packages/support/resources/lang/ka/components/pagination.php @@ -2,18 +2,18 @@ return [ - 'label' => 'Pagination navigation', + 'label' => 'გვერდების ნავიგაცია', - 'overview' => '{1} Showing 1 result|[2,*] Showing :first to :last of :total results', + 'overview' => '{1} ნაჩვენებია 1 შედეგი|[2,*] ნაჩვენებია :first-დან :last-მდე :total შედეგიდან', 'fields' => [ 'records_per_page' => [ - 'label' => 'Per page', + 'label' => 'გვერდზე', 'options' => [ - 'all' => 'All', + 'all' => 'ყველა', ], ], @@ -23,23 +23,23 @@ return [ 'actions' => [ 'first' => [ - 'label' => 'First', + 'label' => 'პირველი', ], 'go_to_page' => [ - 'label' => 'Go to page :page', + 'label' => 'გადადით გვერდზე :page', ], 'last' => [ - 'label' => 'Last', + 'label' => 'ბოლო', ], 'next' => [ - 'label' => 'Next', + 'label' => 'შემდეგი', ], 'previous' => [ - 'label' => 'Previous', + 'label' => 'წინა', ], ], From 7190a1b196547143a1575d247c869b56eddaf361 Mon Sep 17 00:00:00 2001 From: Irakli Kirkitadze Date: Sat, 12 Oct 2024 16:44:43 +0400 Subject: [PATCH 12/22] add Georgian translations for package spatie-laravel-settings-plugin --- .../resources/lang/ka/pages/settings-page.php | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 packages/spatie-laravel-settings-plugin/resources/lang/ka/pages/settings-page.php diff --git a/packages/spatie-laravel-settings-plugin/resources/lang/ka/pages/settings-page.php b/packages/spatie-laravel-settings-plugin/resources/lang/ka/pages/settings-page.php new file mode 100644 index 0000000000..04c18cf6da --- /dev/null +++ b/packages/spatie-laravel-settings-plugin/resources/lang/ka/pages/settings-page.php @@ -0,0 +1,25 @@ + [ + + 'actions' => [ + + 'save' => [ + 'label' => 'ცვლილებების შენახვა', + ], + + ], + + ], + + 'notifications' => [ + + 'saved' => [ + 'title' => 'შენახულია', + ], + + ], + +]; From c8f4b40f4aa87531c3eb3e4182c37c329a26a354 Mon Sep 17 00:00:00 2001 From: Irakli Kirkitadze Date: Sat, 12 Oct 2024 16:47:16 +0400 Subject: [PATCH 13/22] add Georgian translations for package spatie-laravel-translatable-plugin --- .../resources/lang/ka/actions.php | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 packages/spatie-laravel-translatable-plugin/resources/lang/ka/actions.php diff --git a/packages/spatie-laravel-translatable-plugin/resources/lang/ka/actions.php b/packages/spatie-laravel-translatable-plugin/resources/lang/ka/actions.php new file mode 100644 index 0000000000..7980f2dcc7 --- /dev/null +++ b/packages/spatie-laravel-translatable-plugin/resources/lang/ka/actions.php @@ -0,0 +1,9 @@ + [ + 'label' => 'ენა', + ], + +]; From 17c91eaa3a9dbc05e3de51a703c657ef3a2e6548 Mon Sep 17 00:00:00 2001 From: Irakli Kirkitadze Date: Sat, 12 Oct 2024 17:12:36 +0400 Subject: [PATCH 14/22] add Georgian translations for package tables --- .../lang/ka/filters/query-builder.php | 482 ++++++++++++++++++ packages/tables/resources/lang/ka/table.php | 150 ++++-- 2 files changed, 602 insertions(+), 30 deletions(-) create mode 100644 packages/tables/resources/lang/ka/filters/query-builder.php diff --git a/packages/tables/resources/lang/ka/filters/query-builder.php b/packages/tables/resources/lang/ka/filters/query-builder.php new file mode 100644 index 0000000000..5632118542 --- /dev/null +++ b/packages/tables/resources/lang/ka/filters/query-builder.php @@ -0,0 +1,482 @@ + 'Query builder', + + 'form' => [ + + 'operator' => [ + 'label' => 'Operator', + ], + + 'or_groups' => [ + + 'label' => 'Groups', + + 'block' => [ + 'label' => 'Disjunction (OR)', + 'or' => 'OR', + ], + + ], + + 'rules' => [ + + 'label' => 'Rules', + + 'item' => [ + 'and' => 'AND', + ], + + ], + + ], + + 'no_rules' => '(No rules)', + + 'item_separators' => [ + 'and' => 'AND', + 'or' => 'OR', + ], + + 'operators' => [ + + 'is_filled' => [ + + 'label' => [ + 'direct' => 'Is filled', + 'inverse' => 'Is blank', + ], + + 'summary' => [ + 'direct' => ':attribute is filled', + 'inverse' => ':attribute is blank', + ], + + ], + + 'boolean' => [ + + 'is_true' => [ + + 'label' => [ + 'direct' => 'Is true', + 'inverse' => 'Is false', + ], + + 'summary' => [ + 'direct' => ':attribute is true', + 'inverse' => ':attribute is false', + ], + + ], + + ], + + 'date' => [ + + 'is_after' => [ + + 'label' => [ + 'direct' => 'Is after', + 'inverse' => 'Is not after', + ], + + 'summary' => [ + 'direct' => ':attribute is after :date', + 'inverse' => ':attribute is not after :date', + ], + + ], + + 'is_before' => [ + + 'label' => [ + 'direct' => 'Is before', + 'inverse' => 'Is not before', + ], + + 'summary' => [ + 'direct' => ':attribute is before :date', + 'inverse' => ':attribute is not before :date', + ], + + ], + + 'is_date' => [ + + 'label' => [ + 'direct' => 'Is date', + 'inverse' => 'Is not date', + ], + + 'summary' => [ + 'direct' => ':attribute is :date', + 'inverse' => ':attribute is not :date', + ], + + ], + + 'is_month' => [ + + 'label' => [ + 'direct' => 'Is month', + 'inverse' => 'Is not month', + ], + + 'summary' => [ + 'direct' => ':attribute is :month', + 'inverse' => ':attribute is not :month', + ], + + ], + + 'is_year' => [ + + 'label' => [ + 'direct' => 'Is year', + 'inverse' => 'Is not year', + ], + + 'summary' => [ + 'direct' => ':attribute is :year', + 'inverse' => ':attribute is not :year', + ], + + ], + + 'form' => [ + + 'date' => [ + 'label' => 'Date', + ], + + 'month' => [ + 'label' => 'Month', + ], + + 'year' => [ + 'label' => 'Year', + ], + + ], + + ], + + 'number' => [ + + 'equals' => [ + + 'label' => [ + 'direct' => 'Equals', + 'inverse' => 'Does not equal', + ], + + 'summary' => [ + 'direct' => ':attribute equals :number', + 'inverse' => ':attribute does not equal :number', + ], + + ], + + 'is_max' => [ + + 'label' => [ + 'direct' => 'Is maximum', + 'inverse' => 'Is greater than', + ], + + 'summary' => [ + 'direct' => ':attribute is maximum :number', + 'inverse' => ':attribute is greater than :number', + ], + + ], + + 'is_min' => [ + + 'label' => [ + 'direct' => 'Is minimum', + 'inverse' => 'Is less than', + ], + + 'summary' => [ + 'direct' => ':attribute is minimum :number', + 'inverse' => ':attribute is less than :number', + ], + + ], + + 'aggregates' => [ + + 'average' => [ + 'label' => 'Average', + 'summary' => 'Average :attribute', + ], + + 'max' => [ + 'label' => 'Max', + 'summary' => 'Max :attribute', + ], + + 'min' => [ + 'label' => 'Min', + 'summary' => 'Min :attribute', + ], + + 'sum' => [ + 'label' => 'Sum', + 'summary' => 'Sum of :attribute', + ], + + ], + + 'form' => [ + + 'aggregate' => [ + 'label' => 'Aggregate', + ], + + 'number' => [ + 'label' => 'Number', + ], + + ], + + ], + + 'relationship' => [ + + 'equals' => [ + + 'label' => [ + 'direct' => 'Has', + 'inverse' => 'Does not have', + ], + + 'summary' => [ + 'direct' => 'Has :count :relationship', + 'inverse' => 'Does not have :count :relationship', + ], + + ], + + 'has_max' => [ + + 'label' => [ + 'direct' => 'Has maximum', + 'inverse' => 'Has more than', + ], + + 'summary' => [ + 'direct' => 'Has maximum :count :relationship', + 'inverse' => 'Has more than :count :relationship', + ], + + ], + + 'has_min' => [ + + 'label' => [ + 'direct' => 'Has minimum', + 'inverse' => 'Has less than', + ], + + 'summary' => [ + 'direct' => 'Has minimum :count :relationship', + 'inverse' => 'Has less than :count :relationship', + ], + + ], + + 'is_empty' => [ + + 'label' => [ + 'direct' => 'Is empty', + 'inverse' => 'Is not empty', + ], + + 'summary' => [ + 'direct' => ':relationship is empty', + 'inverse' => ':relationship is not empty', + ], + + ], + + 'is_related_to' => [ + + 'label' => [ + + 'single' => [ + 'direct' => 'Is', + 'inverse' => 'Is not', + ], + + 'multiple' => [ + 'direct' => 'Contains', + 'inverse' => 'Does not contain', + ], + + ], + + 'summary' => [ + + 'single' => [ + 'direct' => ':relationship is :values', + 'inverse' => ':relationship is not :values', + ], + + 'multiple' => [ + 'direct' => ':relationship contains :values', + 'inverse' => ':relationship does not contain :values', + ], + + 'values_glue' => [ + 0 => ', ', + 'final' => ' or ', + ], + + ], + + 'form' => [ + + 'value' => [ + 'label' => 'Value', + ], + + 'values' => [ + 'label' => 'Values', + ], + + ], + + ], + + 'form' => [ + + 'count' => [ + 'label' => 'Count', + ], + + ], + + ], + + 'select' => [ + + 'is' => [ + + 'label' => [ + 'direct' => 'Is', + 'inverse' => 'Is not', + ], + + 'summary' => [ + 'direct' => ':attribute is :values', + 'inverse' => ':attribute is not :values', + 'values_glue' => [ + ', ', + 'final' => ' or ', + ], + ], + + 'form' => [ + + 'value' => [ + 'label' => 'Value', + ], + + 'values' => [ + 'label' => 'Values', + ], + + ], + + ], + + ], + + 'text' => [ + + 'contains' => [ + + 'label' => [ + 'direct' => 'Contains', + 'inverse' => 'Does not contain', + ], + + 'summary' => [ + 'direct' => ':attribute contains :text', + 'inverse' => ':attribute does not contain :text', + ], + + ], + + 'ends_with' => [ + + 'label' => [ + 'direct' => 'Ends with', + 'inverse' => 'Does not end with', + ], + + 'summary' => [ + 'direct' => ':attribute ends with :text', + 'inverse' => ':attribute does not end with :text', + ], + + ], + + 'equals' => [ + + 'label' => [ + 'direct' => 'Equals', + 'inverse' => 'Does not equal', + ], + + 'summary' => [ + 'direct' => ':attribute equals :text', + 'inverse' => ':attribute does not equal :text', + ], + + ], + + 'starts_with' => [ + + 'label' => [ + 'direct' => 'Starts with', + 'inverse' => 'Does not start with', + ], + + 'summary' => [ + 'direct' => ':attribute starts with :text', + 'inverse' => ':attribute does not start with :text', + ], + + ], + + 'form' => [ + + 'text' => [ + 'label' => 'Text', + ], + + ], + + ], + + ], + + 'actions' => [ + + 'add_rule' => [ + 'label' => 'Add rule', + ], + + 'add_rule_group' => [ + 'label' => 'Add rule group', + ], + + ], + +]; diff --git a/packages/tables/resources/lang/ka/table.php b/packages/tables/resources/lang/ka/table.php index b47f33fdf0..dcdd7d9caf 100644 --- a/packages/tables/resources/lang/ka/table.php +++ b/packages/tables/resources/lang/ka/table.php @@ -2,19 +2,73 @@ return [ + 'column_toggle' => [ + + 'heading' => 'Columns', + + ], + 'columns' => [ - 'tags' => [ - 'more' => 'და კიდევ :count', + 'text' => [ + + 'actions' => [ + 'collapse_list' => 'Show :count less', + 'expand_list' => 'Show :count more', + ], + + 'more_list_items' => 'and :count more', + ], ], 'fields' => [ + 'bulk_select_page' => [ + 'label' => 'Select/deselect all items for bulk actions.', + ], + + 'bulk_select_record' => [ + 'label' => 'Select/deselect item :key for bulk actions.', + ], + + 'bulk_select_group' => [ + 'label' => 'Select/deselect group :title for bulk actions.', + ], + 'search' => [ - 'label' => 'ძიება', - 'placeholder' => 'ძიება', + 'label' => 'Search', + 'placeholder' => 'Search', + 'indicator' => 'Search', + ], + + ], + + 'summary' => [ + + 'heading' => 'Summary', + + 'subheadings' => [ + 'all' => 'All :label', + 'group' => ':group summary', + 'page' => 'This page', + ], + + 'summarizers' => [ + + 'average' => [ + 'label' => 'Average', + ], + + 'count' => [ + 'label' => 'Count', + ], + + 'sum' => [ + 'label' => 'Sum', + ], + ], ], @@ -22,30 +76,36 @@ return [ 'actions' => [ 'disable_reordering' => [ - 'label' => 'ჩანაწერების გადანაცვლების დასრულება', + 'label' => 'Finish reordering records', ], 'enable_reordering' => [ - 'label' => 'ჩანაწერების გადანაცვლება', + 'label' => 'Reorder records', ], 'filter' => [ - 'label' => 'ფილტრი', + 'label' => 'Filter', ], - 'open_actions' => [ - 'label' => 'ქმედებები', + 'group' => [ + 'label' => 'Group', + ], + + 'open_bulk_actions' => [ + 'label' => 'Bulk actions', ], 'toggle_columns' => [ - 'label' => 'სვეტების დამალვა/გამოჩენა', + 'label' => 'Toggle columns', ], ], 'empty' => [ - 'heading' => 'ჩანაწერები ვერ მოიძებნა', + 'heading' => 'No :model', + + 'description' => 'Create a :model to get started.', ], @@ -53,59 +113,89 @@ return [ 'actions' => [ + 'apply' => [ + 'label' => 'Apply filters', + ], + 'remove' => [ - 'label' => 'ფილტრის მოხსნა', + 'label' => 'Remove filter', ], 'remove_all' => [ - 'label' => 'ყველა ფილტრის მოხსნა', - 'tooltip' => 'ყველა ფილტრის მოხსნა', + 'label' => 'Remove all filters', + 'tooltip' => 'Remove all filters', ], 'reset' => [ - 'label' => 'ფილტრების გაუქმება', + 'label' => 'Reset', ], ], - 'indicator' => 'აქტიური ფილტრები', + 'heading' => 'Filters', + + 'indicator' => 'Active filters', 'multi_select' => [ - 'placeholder' => 'ყველა', + 'placeholder' => 'All', ], 'select' => [ - 'placeholder' => 'ყველა', + 'placeholder' => 'All', ], 'trashed' => [ - 'label' => 'წაშლილი ჩანაწერები', + 'label' => 'Deleted records', - 'only_trashed' => 'მხოლოდ წაშლილი ჩანაწერები', + 'only_trashed' => 'Only deleted records', - 'with_trashed' => 'წაშლილი ჩანაწერებიანა', + 'with_trashed' => 'With deleted records', - 'without_trashed' => 'წაშლილი ჩანაწერების გარეშე', + 'without_trashed' => 'Without deleted records', ], ], - 'reorder_indicator' => 'გადაადგილე ჩანაწერები.', + 'grouping' => [ + + 'fields' => [ + + 'group' => [ + 'label' => 'Group by', + 'placeholder' => 'Group by', + ], + + 'direction' => [ + + 'label' => 'Group direction', + + 'options' => [ + 'asc' => 'Ascending', + 'desc' => 'Descending', + ], + + ], + + ], + + ], + + 'reorder_indicator' => 'Drag and drop the records into order.', 'selection_indicator' => [ - 'selected_count' => 'მონიშნულია :count ჩანაწერი', + 'selected_count' => '1 record selected|:count records selected', 'actions' => [ 'select_all' => [ - 'label' => '{1} მონიშნე ყველა|[2,*] მონიშნე :count-ივე', + 'label' => 'Select all :count', ], 'deselect_all' => [ - 'label' => 'მონიშვნების მოხსნა', + 'label' => 'Deselect all', ], ], @@ -117,16 +207,16 @@ return [ 'fields' => [ 'column' => [ - 'label' => 'სორტირება', + 'label' => 'Sort by', ], 'direction' => [ - 'label' => 'სორტირების მიმართულება', + 'label' => 'Sort direction', 'options' => [ - 'asc' => 'ზრდადობით', - 'desc' => 'კლებადობით', + 'asc' => 'Ascending', + 'desc' => 'Descending', ], ], From 6c11787a78e319e16e40f36de65b6fc09f12381f Mon Sep 17 00:00:00 2001 From: Irakli Kirkitadze Date: Sat, 12 Oct 2024 17:25:10 +0400 Subject: [PATCH 15/22] add Georgian translations for tables --- .../lang/ka/filters/query-builder.php | 227 +++++++++--------- packages/tables/resources/lang/ka/table.php | 102 ++++---- 2 files changed, 164 insertions(+), 165 deletions(-) diff --git a/packages/tables/resources/lang/ka/filters/query-builder.php b/packages/tables/resources/lang/ka/filters/query-builder.php index 5632118542..5ed4e1f2e5 100644 --- a/packages/tables/resources/lang/ka/filters/query-builder.php +++ b/packages/tables/resources/lang/ka/filters/query-builder.php @@ -2,20 +2,20 @@ return [ - 'label' => 'Query builder', + 'label' => 'კვერის შემქმნელი', 'form' => [ 'operator' => [ - 'label' => 'Operator', + 'label' => 'ოპერატორი', ], 'or_groups' => [ - 'label' => 'Groups', + 'label' => 'ჯგუფები', 'block' => [ - 'label' => 'Disjunction (OR)', + 'label' => 'დისიუნქცია (OR)', 'or' => 'OR', ], @@ -23,7 +23,7 @@ return [ 'rules' => [ - 'label' => 'Rules', + 'label' => 'წესები', 'item' => [ 'and' => 'AND', @@ -33,7 +33,7 @@ return [ ], - 'no_rules' => '(No rules)', + 'no_rules' => '(არ არის წესები)', 'item_separators' => [ 'and' => 'AND', @@ -45,13 +45,13 @@ return [ 'is_filled' => [ 'label' => [ - 'direct' => 'Is filled', - 'inverse' => 'Is blank', + 'direct' => 'შევსებულია', + 'inverse' => 'ცარიელია', ], 'summary' => [ - 'direct' => ':attribute is filled', - 'inverse' => ':attribute is blank', + 'direct' => ':attribute შევსებულია', + 'inverse' => ':attribute ცარიელია', ], ], @@ -61,13 +61,13 @@ return [ 'is_true' => [ 'label' => [ - 'direct' => 'Is true', - 'inverse' => 'Is false', + 'direct' => 'მართალია', + 'inverse' => 'მცდარია', ], 'summary' => [ - 'direct' => ':attribute is true', - 'inverse' => ':attribute is false', + 'direct' => ':attribute მართალია', + 'inverse' => ':attribute მცდარია', ], ], @@ -79,13 +79,13 @@ return [ 'is_after' => [ 'label' => [ - 'direct' => 'Is after', - 'inverse' => 'Is not after', + 'direct' => 'შემდეგია', + 'inverse' => 'არ არის შემდეგი', ], 'summary' => [ - 'direct' => ':attribute is after :date', - 'inverse' => ':attribute is not after :date', + 'direct' => ':attribute შემდეგია :date-ის შემდეგ', + 'inverse' => ':attribute არ არის შემდეგი :date-ის შემდეგ', ], ], @@ -93,13 +93,13 @@ return [ 'is_before' => [ 'label' => [ - 'direct' => 'Is before', - 'inverse' => 'Is not before', + 'direct' => 'მანამდეა', + 'inverse' => 'არ არის მანამდე', ], 'summary' => [ - 'direct' => ':attribute is before :date', - 'inverse' => ':attribute is not before :date', + 'direct' => ':attribute მანამდეა :date-მდე', + 'inverse' => ':attribute არ არის მანამდე :date-მდე', ], ], @@ -107,13 +107,13 @@ return [ 'is_date' => [ 'label' => [ - 'direct' => 'Is date', - 'inverse' => 'Is not date', + 'direct' => 'არის თარიღი', + 'inverse' => 'არ არის თარიღი', ], 'summary' => [ - 'direct' => ':attribute is :date', - 'inverse' => ':attribute is not :date', + 'direct' => ':attribute არის :date', + 'inverse' => ':attribute არ არის :date', ], ], @@ -121,13 +121,13 @@ return [ 'is_month' => [ 'label' => [ - 'direct' => 'Is month', - 'inverse' => 'Is not month', + 'direct' => 'არის თვე', + 'inverse' => 'არ არის თვე', ], 'summary' => [ - 'direct' => ':attribute is :month', - 'inverse' => ':attribute is not :month', + 'direct' => ':attribute არის :month', + 'inverse' => ':attribute არ არის :month', ], ], @@ -135,13 +135,13 @@ return [ 'is_year' => [ 'label' => [ - 'direct' => 'Is year', - 'inverse' => 'Is not year', + 'direct' => 'არის წელი', + 'inverse' => 'არ არის წელი', ], 'summary' => [ - 'direct' => ':attribute is :year', - 'inverse' => ':attribute is not :year', + 'direct' => ':attribute არის :year', + 'inverse' => ':attribute არ არის :year', ], ], @@ -149,15 +149,15 @@ return [ 'form' => [ 'date' => [ - 'label' => 'Date', + 'label' => 'თარიღი', ], 'month' => [ - 'label' => 'Month', + 'label' => 'თვე', ], 'year' => [ - 'label' => 'Year', + 'label' => 'წელი', ], ], @@ -169,13 +169,13 @@ return [ 'equals' => [ 'label' => [ - 'direct' => 'Equals', - 'inverse' => 'Does not equal', + 'direct' => 'თანაბარია', + 'inverse' => 'არ არის თანაბარი', ], 'summary' => [ - 'direct' => ':attribute equals :number', - 'inverse' => ':attribute does not equal :number', + 'direct' => ':attribute თანაბარია :number', + 'inverse' => ':attribute არ არის თანაბარი :number', ], ], @@ -183,13 +183,13 @@ return [ 'is_max' => [ 'label' => [ - 'direct' => 'Is maximum', - 'inverse' => 'Is greater than', + 'direct' => 'არის მაქსიმუმი', + 'inverse' => 'მეტია ვიდრე', ], 'summary' => [ - 'direct' => ':attribute is maximum :number', - 'inverse' => ':attribute is greater than :number', + 'direct' => ':attribute არის მაქსიმუმი :number', + 'inverse' => ':attribute მეტია ვიდრე :number', ], ], @@ -197,13 +197,13 @@ return [ 'is_min' => [ 'label' => [ - 'direct' => 'Is minimum', - 'inverse' => 'Is less than', + 'direct' => 'არის მინიმუმი', + 'inverse' => 'ნაკლებია ვიდრე', ], 'summary' => [ - 'direct' => ':attribute is minimum :number', - 'inverse' => ':attribute is less than :number', + 'direct' => ':attribute არის მინიმუმი :number', + 'inverse' => ':attribute ნაკლებია ვიდრე :number', ], ], @@ -211,23 +211,23 @@ return [ 'aggregates' => [ 'average' => [ - 'label' => 'Average', - 'summary' => 'Average :attribute', + 'label' => 'საშუალო', + 'summary' => 'საშუალო :attribute', ], 'max' => [ - 'label' => 'Max', - 'summary' => 'Max :attribute', + 'label' => 'მაქსიმუმი', + 'summary' => 'მაქსიმუმი :attribute', ], 'min' => [ - 'label' => 'Min', - 'summary' => 'Min :attribute', + 'label' => 'მინიმუმი', + 'summary' => 'მინიმუმი :attribute', ], 'sum' => [ - 'label' => 'Sum', - 'summary' => 'Sum of :attribute', + 'label' => 'ჯამი', + 'summary' => ':attribute ჯამი', ], ], @@ -235,15 +235,14 @@ return [ 'form' => [ 'aggregate' => [ - 'label' => 'Aggregate', + 'label' => 'აგრეგატი', ], 'number' => [ - 'label' => 'Number', + 'label' => 'რიცხვი', ], ], - ], 'relationship' => [ @@ -251,13 +250,13 @@ return [ 'equals' => [ 'label' => [ - 'direct' => 'Has', - 'inverse' => 'Does not have', + 'direct' => 'აქვს', + 'inverse' => 'არ აქვს', ], 'summary' => [ - 'direct' => 'Has :count :relationship', - 'inverse' => 'Does not have :count :relationship', + 'direct' => 'აქვს :count :relationship', + 'inverse' => 'არ აქვს :count :relationship', ], ], @@ -265,13 +264,13 @@ return [ 'has_max' => [ 'label' => [ - 'direct' => 'Has maximum', - 'inverse' => 'Has more than', + 'direct' => 'აქვს მაქსიმუმი', + 'inverse' => 'მეტია ვიდრე', ], 'summary' => [ - 'direct' => 'Has maximum :count :relationship', - 'inverse' => 'Has more than :count :relationship', + 'direct' => 'აქვს მაქსიმუმი :count :relationship', + 'inverse' => 'მეტია ვიდრე :count :relationship', ], ], @@ -279,13 +278,13 @@ return [ 'has_min' => [ 'label' => [ - 'direct' => 'Has minimum', - 'inverse' => 'Has less than', + 'direct' => 'აქვს მინიმუმი', + 'inverse' => 'ნაკლებია ვიდრე', ], 'summary' => [ - 'direct' => 'Has minimum :count :relationship', - 'inverse' => 'Has less than :count :relationship', + 'direct' => 'აქვს მინიმუმი :count :relationship', + 'inverse' => 'ნაკლებია ვიდრე :count :relationship', ], ], @@ -293,13 +292,13 @@ return [ 'is_empty' => [ 'label' => [ - 'direct' => 'Is empty', - 'inverse' => 'Is not empty', + 'direct' => 'ცარიელია', + 'inverse' => 'არ არის ცარიელი', ], 'summary' => [ - 'direct' => ':relationship is empty', - 'inverse' => ':relationship is not empty', + 'direct' => ':relationship ცარიელია', + 'inverse' => ':relationship არ არის ცარიელი', ], ], @@ -309,13 +308,13 @@ return [ 'label' => [ 'single' => [ - 'direct' => 'Is', - 'inverse' => 'Is not', + 'direct' => 'არის', + 'inverse' => 'არ არის', ], 'multiple' => [ - 'direct' => 'Contains', - 'inverse' => 'Does not contain', + 'direct' => 'შეიცავს', + 'inverse' => 'არ შეიცავს', ], ], @@ -323,18 +322,18 @@ return [ 'summary' => [ 'single' => [ - 'direct' => ':relationship is :values', - 'inverse' => ':relationship is not :values', + 'direct' => ':relationship არის :values', + 'inverse' => ':relationship არ არის :values', ], 'multiple' => [ - 'direct' => ':relationship contains :values', - 'inverse' => ':relationship does not contain :values', + 'direct' => ':relationship შეიცავს :values', + 'inverse' => ':relationship არ შეიცავს :values', ], 'values_glue' => [ 0 => ', ', - 'final' => ' or ', + 'final' => ' ან ', ], ], @@ -342,11 +341,11 @@ return [ 'form' => [ 'value' => [ - 'label' => 'Value', + 'label' => 'მნიშვნელობა', ], 'values' => [ - 'label' => 'Values', + 'label' => 'მნიშვნელობები', ], ], @@ -356,7 +355,7 @@ return [ 'form' => [ 'count' => [ - 'label' => 'Count', + 'label' => 'რაოდენობა', ], ], @@ -368,27 +367,27 @@ return [ 'is' => [ 'label' => [ - 'direct' => 'Is', - 'inverse' => 'Is not', + 'direct' => 'არის', + 'inverse' => 'არ არის', ], 'summary' => [ - 'direct' => ':attribute is :values', - 'inverse' => ':attribute is not :values', + 'direct' => ':attribute არის :values', + 'inverse' => ':attribute არ არის :values', 'values_glue' => [ ', ', - 'final' => ' or ', + 'final' => ' ან ', ], ], 'form' => [ 'value' => [ - 'label' => 'Value', + 'label' => 'მნიშვნელობა', ], 'values' => [ - 'label' => 'Values', + 'label' => 'მნიშვნელობები', ], ], @@ -402,13 +401,13 @@ return [ 'contains' => [ 'label' => [ - 'direct' => 'Contains', - 'inverse' => 'Does not contain', + 'direct' => 'შეიცავს', + 'inverse' => 'არ შეიცავს', ], 'summary' => [ - 'direct' => ':attribute contains :text', - 'inverse' => ':attribute does not contain :text', + 'direct' => ':attribute შეიცავს :text', + 'inverse' => ':attribute არ შეიცავს :text', ], ], @@ -416,13 +415,13 @@ return [ 'ends_with' => [ 'label' => [ - 'direct' => 'Ends with', - 'inverse' => 'Does not end with', + 'direct' => 'მთავრდება', + 'inverse' => 'არ მთავრდება', ], 'summary' => [ - 'direct' => ':attribute ends with :text', - 'inverse' => ':attribute does not end with :text', + 'direct' => ':attribute მთავრდება :text-ზე', + 'inverse' => ':attribute არ მთავრდება :text-ზე', ], ], @@ -430,13 +429,13 @@ return [ 'equals' => [ 'label' => [ - 'direct' => 'Equals', - 'inverse' => 'Does not equal', + 'direct' => 'თანაბარია', + 'inverse' => 'არ არის თანაბარი', ], 'summary' => [ - 'direct' => ':attribute equals :text', - 'inverse' => ':attribute does not equal :text', + 'direct' => ':attribute თანაბარია :text', + 'inverse' => ':attribute არ არის თანაბარი :text', ], ], @@ -444,13 +443,13 @@ return [ 'starts_with' => [ 'label' => [ - 'direct' => 'Starts with', - 'inverse' => 'Does not start with', + 'direct' => 'იწყება', + 'inverse' => 'არ იწყება', ], 'summary' => [ - 'direct' => ':attribute starts with :text', - 'inverse' => ':attribute does not start with :text', + 'direct' => ':attribute იწყება :text-ით', + 'inverse' => ':attribute არ იწყება :text-ით', ], ], @@ -458,7 +457,7 @@ return [ 'form' => [ 'text' => [ - 'label' => 'Text', + 'label' => 'ტექსტი', ], ], @@ -470,11 +469,11 @@ return [ 'actions' => [ 'add_rule' => [ - 'label' => 'Add rule', + 'label' => 'დამატება წესის', ], 'add_rule_group' => [ - 'label' => 'Add rule group', + 'label' => 'დამატება წესების ჯგუფის', ], ], diff --git a/packages/tables/resources/lang/ka/table.php b/packages/tables/resources/lang/ka/table.php index dcdd7d9caf..b7d88bf05f 100644 --- a/packages/tables/resources/lang/ka/table.php +++ b/packages/tables/resources/lang/ka/table.php @@ -4,7 +4,7 @@ return [ 'column_toggle' => [ - 'heading' => 'Columns', + 'heading' => 'სვეტები', ], @@ -13,11 +13,11 @@ return [ 'text' => [ 'actions' => [ - 'collapse_list' => 'Show :count less', - 'expand_list' => 'Show :count more', + 'collapse_list' => 'აჩვენეთ :count ნაკლები', + 'expand_list' => 'აჩვენეთ :count მეტი', ], - 'more_list_items' => 'and :count more', + 'more_list_items' => 'და კიდევ :count', ], @@ -26,47 +26,47 @@ return [ 'fields' => [ 'bulk_select_page' => [ - 'label' => 'Select/deselect all items for bulk actions.', + 'label' => 'მონიშნეთ/გაუქმეთ ყველა ელემენტი საერთო ქმედებებისთვის.', ], 'bulk_select_record' => [ - 'label' => 'Select/deselect item :key for bulk actions.', + 'label' => 'მონიშნეთ/გაუქმეთ ელემენტი :key საერთო ქმედებებისთვის.', ], 'bulk_select_group' => [ - 'label' => 'Select/deselect group :title for bulk actions.', + 'label' => 'მონიშნეთ/გაუქმეთ ჯგუფი :title საერთო ქმედებებისთვის.', ], 'search' => [ - 'label' => 'Search', - 'placeholder' => 'Search', - 'indicator' => 'Search', + 'label' => 'ძებნა', + 'placeholder' => 'ძებნა', + 'indicator' => 'ძებნა', ], ], 'summary' => [ - 'heading' => 'Summary', + 'heading' => 'შეჯამება', 'subheadings' => [ - 'all' => 'All :label', - 'group' => ':group summary', - 'page' => 'This page', + 'all' => 'ყველა :label', + 'group' => ':group შეჯამება', + 'page' => 'ეს გვერდი', ], 'summarizers' => [ 'average' => [ - 'label' => 'Average', + 'label' => 'საშუალო', ], 'count' => [ - 'label' => 'Count', + 'label' => 'რაოდენობა', ], 'sum' => [ - 'label' => 'Sum', + 'label' => 'ჯამი', ], ], @@ -76,36 +76,36 @@ return [ 'actions' => [ 'disable_reordering' => [ - 'label' => 'Finish reordering records', + 'label' => 'დასრულება ჩანაწერების გადალაგების', ], 'enable_reordering' => [ - 'label' => 'Reorder records', + 'label' => 'ჩანაწერების გადალაგება', ], 'filter' => [ - 'label' => 'Filter', + 'label' => 'ფილტრი', ], 'group' => [ - 'label' => 'Group', + 'label' => 'ჯგუფი', ], 'open_bulk_actions' => [ - 'label' => 'Bulk actions', + 'label' => 'საერთო ქმედებები', ], 'toggle_columns' => [ - 'label' => 'Toggle columns', + 'label' => 'სვეტების გადართვა', ], ], 'empty' => [ - 'heading' => 'No :model', + 'heading' => 'არაა :model', - 'description' => 'Create a :model to get started.', + 'description' => 'შექმენით :model რომ დაიწყოთ.', ], @@ -114,45 +114,45 @@ return [ 'actions' => [ 'apply' => [ - 'label' => 'Apply filters', + 'label' => 'ფილტრების გამოყენება', ], 'remove' => [ - 'label' => 'Remove filter', + 'label' => 'ფილტრის ამოღება', ], 'remove_all' => [ - 'label' => 'Remove all filters', - 'tooltip' => 'Remove all filters', + 'label' => 'ყველა ფილტრის ამოღება', + 'tooltip' => 'ყველა ფილტრის ამოღება', ], 'reset' => [ - 'label' => 'Reset', + 'label' => 'გადატვირთვა', ], ], - 'heading' => 'Filters', + 'heading' => 'ფილტრები', - 'indicator' => 'Active filters', + 'indicator' => 'აქტიური ფილტრები', 'multi_select' => [ - 'placeholder' => 'All', + 'placeholder' => 'ყველა', ], 'select' => [ - 'placeholder' => 'All', + 'placeholder' => 'ყველა', ], 'trashed' => [ - 'label' => 'Deleted records', + 'label' => 'წაშლილი ჩანაწერები', - 'only_trashed' => 'Only deleted records', + 'only_trashed' => 'მხოლოდ წაშლილი ჩანაწერები', - 'with_trashed' => 'With deleted records', + 'with_trashed' => 'წაშლილ ჩანაწერებთან ერთად', - 'without_trashed' => 'Without deleted records', + 'without_trashed' => 'წაშლილი ჩანაწერების გარეშე', ], @@ -163,17 +163,17 @@ return [ 'fields' => [ 'group' => [ - 'label' => 'Group by', - 'placeholder' => 'Group by', + 'label' => 'ჯგუფის მიხედვით', + 'placeholder' => 'ჯგუფის მიხედვით', ], 'direction' => [ - 'label' => 'Group direction', + 'label' => 'ჯგუფის მიმართულება', 'options' => [ - 'asc' => 'Ascending', - 'desc' => 'Descending', + 'asc' => 'ზრდადი', + 'desc' => 'კლებადი', ], ], @@ -182,20 +182,20 @@ return [ ], - 'reorder_indicator' => 'Drag and drop the records into order.', + 'reorder_indicator' => 'ჩანაწერების გადათრევა და ჩამოშვება რიგში.', 'selection_indicator' => [ - 'selected_count' => '1 record selected|:count records selected', + 'selected_count' => '1 ჩანაწერი მონიშნულია|:count ჩანაწერები მონიშნულია', 'actions' => [ 'select_all' => [ - 'label' => 'Select all :count', + 'label' => 'მონიშნეთ ყველა :count', ], 'deselect_all' => [ - 'label' => 'Deselect all', + 'label' => 'ყველას მონიშვნის გაუქმება', ], ], @@ -207,16 +207,16 @@ return [ 'fields' => [ 'column' => [ - 'label' => 'Sort by', + 'label' => 'დალაგების მიხედვით', ], 'direction' => [ - 'label' => 'Sort direction', + 'label' => 'დალაგების მიმართულება', 'options' => [ - 'asc' => 'Ascending', - 'desc' => 'Descending', + 'asc' => 'ზრდადი', + 'desc' => 'კლებადი', ], ], From 3a94447506c9a3af971da57d5a006f370de0ab89 Mon Sep 17 00:00:00 2001 From: Irakli Kirkitadze Date: Sat, 12 Oct 2024 17:25:19 +0400 Subject: [PATCH 16/22] add Georgian translations for tables --- .../lang/ka/filters/query-builder.php | 2 +- packages/tables/resources/lang/ka/table.php | 32 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/packages/tables/resources/lang/ka/filters/query-builder.php b/packages/tables/resources/lang/ka/filters/query-builder.php index 5ed4e1f2e5..2a8e1b6fe2 100644 --- a/packages/tables/resources/lang/ka/filters/query-builder.php +++ b/packages/tables/resources/lang/ka/filters/query-builder.php @@ -2,7 +2,7 @@ return [ - 'label' => 'კვერის შემქმნელი', + 'label' => 'ქუერი ბილდერი', 'form' => [ diff --git a/packages/tables/resources/lang/ka/table.php b/packages/tables/resources/lang/ka/table.php index b7d88bf05f..5086cc8058 100644 --- a/packages/tables/resources/lang/ka/table.php +++ b/packages/tables/resources/lang/ka/table.php @@ -13,8 +13,8 @@ return [ 'text' => [ 'actions' => [ - 'collapse_list' => 'აჩვენეთ :count ნაკლები', - 'expand_list' => 'აჩვენეთ :count მეტი', + 'collapse_list' => 'აჩვენე :count ნაკლები', + 'expand_list' => 'აჩვენე :count მეტი', ], 'more_list_items' => 'და კიდევ :count', @@ -26,15 +26,15 @@ return [ 'fields' => [ 'bulk_select_page' => [ - 'label' => 'მონიშნეთ/გაუქმეთ ყველა ელემენტი საერთო ქმედებებისთვის.', + 'label' => 'მონიშნეთ/გააუქმეთ ყველა ელემენტი საერთო ქმედებებისთვის.', ], 'bulk_select_record' => [ - 'label' => 'მონიშნეთ/გაუქმეთ ელემენტი :key საერთო ქმედებებისთვის.', + 'label' => 'მონიშნეთ/გააუქმეთ ელემენტი :key საერთო ქმედებებისთვის.', ], 'bulk_select_group' => [ - 'label' => 'მონიშნეთ/გაუქმეთ ჯგუფი :title საერთო ქმედებებისთვის.', + 'label' => 'მონიშნეთ/გააუქმეთ ჯგუფი :title საერთო ქმედებებისთვის.', ], 'search' => [ @@ -76,7 +76,7 @@ return [ 'actions' => [ 'disable_reordering' => [ - 'label' => 'დასრულება ჩანაწერების გადალაგების', + 'label' => 'ჩანაწერების გადალაგების დასრულება', ], 'enable_reordering' => [ @@ -118,16 +118,16 @@ return [ ], 'remove' => [ - 'label' => 'ფილტრის ამოღება', + 'label' => 'ფილტრის მოხსნა', ], 'remove_all' => [ - 'label' => 'ყველა ფილტრის ამოღება', - 'tooltip' => 'ყველა ფილტრის ამოღება', + 'label' => 'ყველა ფილტრის მოხსნა', + 'tooltip' => 'ყველა ფილტრის მოხსნა', ], 'reset' => [ - 'label' => 'გადატვირთვა', + 'label' => 'გასუფთავება', ], ], @@ -163,8 +163,8 @@ return [ 'fields' => [ 'group' => [ - 'label' => 'ჯგუფის მიხედვით', - 'placeholder' => 'ჯგუფის მიხედვით', + 'label' => 'დაჯგუფებულია', + 'placeholder' => 'დაჯგუფებულია', ], 'direction' => [ @@ -207,16 +207,16 @@ return [ 'fields' => [ 'column' => [ - 'label' => 'დალაგების მიხედვით', + 'label' => 'სორტირება', ], 'direction' => [ - 'label' => 'დალაგების მიმართულება', + 'label' => 'სორტირება', 'options' => [ - 'asc' => 'ზრდადი', - 'desc' => 'კლებადი', + 'asc' => 'ზრდადობით', + 'desc' => 'კლებადობით', ], ], From 4cdb6403103592c1d20e12f5b49f95942db9426d Mon Sep 17 00:00:00 2001 From: Zaid Pirwani Date: Sat, 12 Oct 2024 21:05:00 +0500 Subject: [PATCH 17/22] added closure to distinct() --- packages/forms/src/Components/Concerns/CanBeValidated.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/forms/src/Components/Concerns/CanBeValidated.php b/packages/forms/src/Components/Concerns/CanBeValidated.php index c86ef83170..87e52ef2a6 100644 --- a/packages/forms/src/Components/Concerns/CanBeValidated.php +++ b/packages/forms/src/Components/Concerns/CanBeValidated.php @@ -536,7 +536,7 @@ trait CanBeValidated return $this; } - public function distinct(): static + public function distinct(bool|Closure $condition = true): static { $this->rule(static function (Field $component, mixed $state) { return function (string $attribute, mixed $value, Closure $fail) use ($component, $state) { @@ -612,7 +612,7 @@ trait CanBeValidated $fail(__($validationMessages['distinct'] ?? 'validation.distinct', ['attribute' => $component->getValidationAttribute()])); }; - }); + }, $condition); return $this; } From 65ad407a107a998a3ddb085b88965b3d088b8124 Mon Sep 17 00:00:00 2001 From: Zaid Pirwani Date: Sat, 12 Oct 2024 21:59:25 +0500 Subject: [PATCH 18/22] distinct closure added to fixIndistinctstate --- .../src/Components/Concerns/CanFixIndistinctState.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/forms/src/Components/Concerns/CanFixIndistinctState.php b/packages/forms/src/Components/Concerns/CanFixIndistinctState.php index af6b7ecbd9..273dc72773 100644 --- a/packages/forms/src/Components/Concerns/CanFixIndistinctState.php +++ b/packages/forms/src/Components/Concerns/CanFixIndistinctState.php @@ -5,12 +5,19 @@ namespace Filament\Forms\Components\Concerns; use Filament\Forms\Components\Component; use Filament\Forms\Set; use Illuminate\Support\Arr; +use Closure; trait CanFixIndistinctState { - public function fixIndistinctState(): static + public function fixIndistinctState(bool | Closure $condition = true): static { - $this->distinct(); + $shouldApplyFixIndistinctState = is_callable($condition) ? $condition() : $condition; + + if (! $shouldApplyFixIndistinctState) { + return $this; + } + + $this->distinct($condition); $this->live(); $this->afterStateUpdated(static function (Component $component, mixed $state, Set $set) { From 70f458fc8f67ed3519c01644bad8844aa6cf4293 Mon Sep 17 00:00:00 2001 From: Zaid Pirwani Date: Sat, 12 Oct 2024 22:27:15 +0500 Subject: [PATCH 19/22] composer cs style issues fixed --- packages/forms/src/Components/Concerns/CanBeValidated.php | 2 +- .../forms/src/Components/Concerns/CanFixIndistinctState.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/forms/src/Components/Concerns/CanBeValidated.php b/packages/forms/src/Components/Concerns/CanBeValidated.php index 87e52ef2a6..5fe5284612 100644 --- a/packages/forms/src/Components/Concerns/CanBeValidated.php +++ b/packages/forms/src/Components/Concerns/CanBeValidated.php @@ -536,7 +536,7 @@ trait CanBeValidated return $this; } - public function distinct(bool|Closure $condition = true): static + public function distinct(bool | Closure $condition = true): static { $this->rule(static function (Field $component, mixed $state) { return function (string $attribute, mixed $value, Closure $fail) use ($component, $state) { diff --git a/packages/forms/src/Components/Concerns/CanFixIndistinctState.php b/packages/forms/src/Components/Concerns/CanFixIndistinctState.php index 273dc72773..37f876c29c 100644 --- a/packages/forms/src/Components/Concerns/CanFixIndistinctState.php +++ b/packages/forms/src/Components/Concerns/CanFixIndistinctState.php @@ -2,10 +2,10 @@ namespace Filament\Forms\Components\Concerns; +use Closure; use Filament\Forms\Components\Component; use Filament\Forms\Set; use Illuminate\Support\Arr; -use Closure; trait CanFixIndistinctState { From 9423afa4b7d40fba539708aa00d6a174c07bc494 Mon Sep 17 00:00:00 2001 From: Dan Harrin Date: Wed, 16 Oct 2024 10:41:22 +0100 Subject: [PATCH 20/22] Update Georgian translations --- .../forms/resources/lang/ka/components.php | 16 -------------- .../schema/resources/lang/ka/components.php | 21 +++++++++++++++++++ .../src/Commands/CheckTranslationsCommand.php | 1 + 3 files changed, 22 insertions(+), 16 deletions(-) create mode 100644 packages/schema/resources/lang/ka/components.php diff --git a/packages/forms/resources/lang/ka/components.php b/packages/forms/resources/lang/ka/components.php index af84894129..10415008c2 100644 --- a/packages/forms/resources/lang/ka/components.php +++ b/packages/forms/resources/lang/ka/components.php @@ -497,20 +497,4 @@ return [ ], - 'wizard' => [ - - 'actions' => [ - - 'previous_step' => [ - 'label' => 'უკან', - ], - - 'next_step' => [ - 'label' => 'შემდეგი', - ], - - ], - - ], - ]; diff --git a/packages/schema/resources/lang/ka/components.php b/packages/schema/resources/lang/ka/components.php new file mode 100644 index 0000000000..3e9a65a596 --- /dev/null +++ b/packages/schema/resources/lang/ka/components.php @@ -0,0 +1,21 @@ + [ + + 'actions' => [ + + 'previous_step' => [ + 'label' => 'უკან', + ], + + 'next_step' => [ + 'label' => 'შემდეგი', + ], + + ], + + ], + +]; diff --git a/packages/support/src/Commands/CheckTranslationsCommand.php b/packages/support/src/Commands/CheckTranslationsCommand.php index 73752f7400..0eea47aeae 100644 --- a/packages/support/src/Commands/CheckTranslationsCommand.php +++ b/packages/support/src/Commands/CheckTranslationsCommand.php @@ -27,6 +27,7 @@ class CheckTranslationsCommand extends Command $this->scan('forms'); $this->scan('infolists'); $this->scan('notifications'); + $this->scan('schema'); $this->scan('spark-billing-provider'); $this->scan('spatie-laravel-google-fonts-plugin'); $this->scan('spatie-laravel-media-library-plugin'); From d47288d97895e09658b5c46c0e064fa022131c09 Mon Sep 17 00:00:00 2001 From: Dan Harrin Date: Wed, 16 Oct 2024 10:49:00 +0100 Subject: [PATCH 21/22] Allow conditionally live fields --- .../Concerns/CanFixIndistinctState.php | 14 ++++++------- .../src/Concerns/HasStateBindingModifiers.php | 21 ++++++++++++------- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/packages/forms/src/Components/Concerns/CanFixIndistinctState.php b/packages/forms/src/Components/Concerns/CanFixIndistinctState.php index 37f876c29c..5f84c5ddbf 100644 --- a/packages/forms/src/Components/Concerns/CanFixIndistinctState.php +++ b/packages/forms/src/Components/Concerns/CanFixIndistinctState.php @@ -11,16 +11,14 @@ trait CanFixIndistinctState { public function fixIndistinctState(bool | Closure $condition = true): static { - $shouldApplyFixIndistinctState = is_callable($condition) ? $condition() : $condition; - - if (! $shouldApplyFixIndistinctState) { - return $this; - } - $this->distinct($condition); - $this->live(); + $this->live(condition: $condition); + + $this->afterStateUpdated(static function (Component $component, mixed $state, Set $set) use ($condition) { + if (! $component->evaluate($condition)) { + return; + } - $this->afterStateUpdated(static function (Component $component, mixed $state, Set $set) { if (blank($state)) { return; } diff --git a/packages/forms/src/Concerns/HasStateBindingModifiers.php b/packages/forms/src/Concerns/HasStateBindingModifiers.php index e3a66c45fd..d80b3b106c 100644 --- a/packages/forms/src/Concerns/HasStateBindingModifiers.php +++ b/packages/forms/src/Concerns/HasStateBindingModifiers.php @@ -2,6 +2,7 @@ namespace Filament\Forms\Concerns; +use Closure; use Filament\Forms\Components\Component; trait HasStateBindingModifiers @@ -13,11 +14,11 @@ trait HasStateBindingModifiers protected int | string | null $liveDebounce = null; - protected ?bool $isLive = null; + protected bool | Closure | null $isLive = null; protected bool $isLiveOnBlur = false; - public function live(bool $onBlur = false, int | string | null $debounce = null, ?bool $condition = true): static + public function live(bool $onBlur = false, int | string | null $debounce = null, bool | Closure | null $condition = true): static { $this->isLive = $condition; $this->isLiveOnBlur = $onBlur; @@ -85,7 +86,9 @@ trait HasStateBindingModifiers return $this->stateBindingModifiers; } - if ($this->isLive === false) { + $isLive = $this->evaluate($this->isLive); + + if ($isLive === false) { return []; } @@ -105,7 +108,7 @@ trait HasStateBindingModifiers return ['live', 'debounce', $this->liveDebounce]; } - if ($this->isLive) { + if ($isLive) { return ['live']; } @@ -122,8 +125,10 @@ trait HasStateBindingModifiers public function isLive(): bool { - if ($this->isLive !== null) { - return $this->isLive; + $isLive = $this->evaluate($this->isLive); + + if ($isLive !== null) { + return $isLive; } if ($this instanceof Component) { @@ -139,7 +144,9 @@ trait HasStateBindingModifiers public function isLiveOnBlur(): bool { - if ($this->isLive !== null) { + $isLive = $this->evaluate($this->isLive); + + if ($isLive !== null) { return $this->isLiveOnBlur; } From 2b6a3bbadf69200d8824866c477badf3c3a5ea15 Mon Sep 17 00:00:00 2001 From: Dan Harrin Date: Wed, 16 Oct 2024 13:00:37 +0100 Subject: [PATCH 22/22] Add security notes to rich/markdown editors --- packages/forms/docs/03-fields/10-rich-editor.md | 10 ++++++++++ packages/forms/docs/03-fields/11-markdown-editor.md | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/packages/forms/docs/03-fields/10-rich-editor.md b/packages/forms/docs/03-fields/10-rich-editor.md index b383a7ab3e..244a73869b 100644 --- a/packages/forms/docs/03-fields/10-rich-editor.md +++ b/packages/forms/docs/03-fields/10-rich-editor.md @@ -15,6 +15,16 @@ RichEditor::make('content') +## Security + +By default, the editor outputs raw HTML, and sends it to the backend. Attackers are able to intercept the value of the component and send a different raw HTML string to the backend. As such, it is important that when outputting the HTML from a rich editor, it is sanitized; otherwise your site may be exposed to Cross-Site Scripting (XSS) vulnerabilities. + +When Filament outputs raw HTML from the database in components such as `TextColumn` and `TextEntry`, it sanitizes it to remove any dangerous JavaScript. However, if you are outputting the HTML from a rich editor in your own Blade view, this is your responsibility. One option is to use Filament's `sanitizeHtml()` helper to do this, which is the same tool we use to sanitize HTML in the components mentioned above: + +```blade +{!! str($record->content)->sanitizeHtml() !!} +``` + ## Customizing the toolbar buttons You may set the toolbar buttons for the editor using the `toolbarButtons()` method. The options shown here are the defaults. In addition to these, `'h1'` is also available: diff --git a/packages/forms/docs/03-fields/11-markdown-editor.md b/packages/forms/docs/03-fields/11-markdown-editor.md index 5a8c2ffaf7..1899bbc082 100644 --- a/packages/forms/docs/03-fields/11-markdown-editor.md +++ b/packages/forms/docs/03-fields/11-markdown-editor.md @@ -15,6 +15,16 @@ MarkdownEditor::make('content') +## Security + +By default, the editor outputs raw Markdown and HTML, and sends it to the backend. Attackers are able to intercept the value of the component and send a different raw HTML string to the backend. As such, it is important that when outputting the HTML from a Markdown editor, it is sanitized; otherwise your site may be exposed to Cross-Site Scripting (XSS) vulnerabilities. + +When Filament outputs raw HTML from the database in components such as `TextColumn` and `TextEntry`, it sanitizes it to remove any dangerous JavaScript. However, if you are outputting the HTML from a Markdown editor in your own Blade view, this is your responsibility. One option is to use Filament's `sanitizeHtml()` helper to do this, which is the same tool we use to sanitize HTML in the components mentioned above: + +```blade +{!! str($record->content)->markdown()->sanitizeHtml() !!} +``` + ## Customizing the toolbar buttons You may set the toolbar buttons for the editor using the `toolbarButtons()` method. The options shown here are the defaults: