From ef1a8649fe41d5802dc8195eb98fc0eb3af304da Mon Sep 17 00:00:00 2001 From: Burak Civan Date: Wed, 23 Nov 2022 13:38:53 +0300 Subject: [PATCH 1/2] loading refactored --- resources/views/components/loading/absolute.blade.php | 5 +++-- resources/views/components/loading/content.blade.php | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/resources/views/components/loading/absolute.blade.php b/resources/views/components/loading/absolute.blade.php index 51d438812..45715f726 100644 --- a/resources/views/components/loading/absolute.blade.php +++ b/resources/views/components/loading/absolute.blade.php @@ -1,8 +1,9 @@
Akaunting
diff --git a/resources/views/components/loading/content.blade.php b/resources/views/components/loading/content.blade.php index 104137af8..5240e0956 100644 --- a/resources/views/components/loading/content.blade.php +++ b/resources/views/components/loading/content.blade.php @@ -1,8 +1,9 @@
Akaunting
From fc387442f5712e99314e644b6dd3858f9999da5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihan=20=C5=9Eent=C3=BCrk?= <53110792+CihanSenturk@users.noreply.github.com> Date: Wed, 23 Nov 2022 14:59:14 +0300 Subject: [PATCH 2/2] relationships count warning text updated --- app/Traits/Relationships.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Traits/Relationships.php b/app/Traits/Relationships.php index 1112a6b24..cac385563 100644 --- a/app/Traits/Relationships.php +++ b/app/Traits/Relationships.php @@ -25,7 +25,7 @@ trait Relationships } $text = Str::contains($text, '::') ? $text : 'general.' . $text; - $counter[] = $c . ' ' . strtolower(trans_choice($text, ($c > 1) ? 2 : 1)); + $counter[] = (($c > 1) ? $c . ' ' : null ) . strtolower(trans_choice($text, ($c > 1) ? 2 : 1)); } return $counter;