From 28db2c1652a31133dc3ebd3dc779a54a8b94c919 Mon Sep 17 00:00:00 2001 From: zmigroo Date: Tue, 9 Jan 2024 22:07:04 +0100 Subject: [PATCH 1/2] Number is displayed --- resources/js/Pages/Landing/SearchPanel.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/resources/js/Pages/Landing/SearchPanel.vue b/resources/js/Pages/Landing/SearchPanel.vue index 61f4c484..6e12ff04 100644 --- a/resources/js/Pages/Landing/SearchPanel.vue +++ b/resources/js/Pages/Landing/SearchPanel.vue @@ -396,7 +396,6 @@ function selectCountry(country) { {{ __('Change filters') }} -
@@ -418,7 +417,11 @@ function selectCountry(country) {
- +
+

+ {{ filteredCities.length }} {{ __('results found') }} +

+
Date: Wed, 10 Jan 2024 16:07:12 +0100 Subject: [PATCH 2/2] Update language file and search panel --- lang/pl.json | 3 ++- resources/js/Pages/Landing/SearchPanel.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lang/pl.json b/lang/pl.json index 7427a938..a9892d97 100644 --- a/lang/pl.json +++ b/lang/pl.json @@ -149,5 +149,6 @@ "You have registered successfully.": "Zarejestrowano pomyślnie", "Please, rate that city": "Oceń miasto", - "You can also login by:": "Możesz również zalogować się przez:" + "You can also login by:": "Możesz również zalogować się przez:", + "Found": "Znaleziono" } diff --git a/resources/js/Pages/Landing/SearchPanel.vue b/resources/js/Pages/Landing/SearchPanel.vue index 6e12ff04..8d5ee40c 100644 --- a/resources/js/Pages/Landing/SearchPanel.vue +++ b/resources/js/Pages/Landing/SearchPanel.vue @@ -419,7 +419,7 @@ function selectCountry(country) {

- {{ filteredCities.length }} {{ __('results found') }} + {{ __('Found') }} {{ filteredCities.length }} {{ __('results') }}