From 9a8f4d47b205b104981faa5db3898b69dd0ac21c Mon Sep 17 00:00:00 2001 From: andrey-helldar <10347617+andrey-helldar@users.noreply.github.com> Date: Mon, 17 Jun 2024 22:51:24 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=A6=8B=20The=20code=20style=20has=20b?= =?UTF-8?q?een=20fixed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/public.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/config/public.php b/config/public.php index 9f66581..ca5c971 100644 --- a/config/public.php +++ b/config/public.php @@ -139,15 +139,14 @@ */ 'models' => [ - /* * This option specifies a suffix for models containing translations. - * + * * For example, * main model is `App\Models\Page` * translation model is `App\Models\PageTranslation` - * - * By default, `Translation` + * + * By default, `Translation` */ 'suffix' => 'Translation', @@ -156,7 +155,7 @@ /* * This option specifies a folder to store helper files for the IDE. - * + * * By default, `vendor/_laravel_lang` */ From 79bb22e01e533f281398b2702bc4dc121a14e8ef Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Sat, 29 Jun 2024 00:28:58 +0300 Subject: [PATCH 2/3] Fixed Translator environment --- config/public.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/public.php b/config/public.php index 7e9c7c2..71e8fbb 100644 --- a/config/public.php +++ b/config/public.php @@ -196,7 +196,7 @@ 'priority' => (int) env('TRANSLATION_DEEPL_PRIORITY', 2), 'credentials' => [ - 'key' => env('TRANSLATION_DEEPL_KEY'), + 'key' => (string) env('TRANSLATION_DEEPL_KEY'), ], ], @@ -207,8 +207,8 @@ 'priority' => (int) env('TRANSLATION_YANDEX_PRIORITY', 3), 'credentials' => [ - 'key' => env('TRANSLATION_YANDEX_KEY'), - 'folder' => env('TRANSLATION_FOLDER_ID'), + 'key' => (string) env('TRANSLATION_YANDEX_KEY'), + 'folder' => (string) env('TRANSLATION_YANDEX_FOLDER_ID'), ], ], ], From df5efcb7e4f4b3e380666bebf4f5660300389362 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Wed, 17 Jul 2024 00:27:41 +0300 Subject: [PATCH 3/3] Update docs.yml --- .github/workflows/docs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8a55e0c..8ca9d2f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,6 +1,7 @@ name: Documentation on: + release: push: branches: - main