From 1ba19e1531f0ddf404c62f12e90b5e83de939513 Mon Sep 17 00:00:00 2001 From: mohamedsabil83 Date: Sat, 18 Nov 2023 13:43:57 +0300 Subject: [PATCH 1/3] Ability to set some configurations from .env file --- config/public.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/public.php b/config/public.php index b9bc04c8..a5a6e79f 100644 --- a/config/public.php +++ b/config/public.php @@ -32,7 +32,7 @@ * By default, `false`. */ - 'inline' => false, + 'inline' => env('LANG_PUBLISHER_INLINE', false), /* * Do arrays need to be aligned by keys before processing arrays? @@ -40,7 +40,7 @@ * By default, true */ - 'align' => true, + 'align' => env('LANG_PUBLISHER_ALIGN', true), /* * This option determines the mechanism for converting translation From 89ade2b7bb9ab5ddb348d561d836339350b087e2 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Sat, 18 Nov 2023 15:15:43 +0300 Subject: [PATCH 2/3] Update config/public.php --- config/public.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/public.php b/config/public.php index a5a6e79f..a261062f 100644 --- a/config/public.php +++ b/config/public.php @@ -32,7 +32,7 @@ * By default, `false`. */ - 'inline' => env('LANG_PUBLISHER_INLINE', false), + 'inline' => (bool) env('LANG_PUBLISHER_INLINE', false), /* * Do arrays need to be aligned by keys before processing arrays? From 230a6b0cde30fea5c7f74ee64d7a96c70febad6a Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Sat, 18 Nov 2023 15:15:49 +0300 Subject: [PATCH 3/3] Update config/public.php --- config/public.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/public.php b/config/public.php index a261062f..64e68b8f 100644 --- a/config/public.php +++ b/config/public.php @@ -40,7 +40,7 @@ * By default, true */ - 'align' => env('LANG_PUBLISHER_ALIGN', true), + 'align' => (bool) env('LANG_PUBLISHER_ALIGN', true), /* * This option determines the mechanism for converting translation