diff --git a/packages/visual-editor/locales/components/cs/visual-editor.json b/packages/visual-editor/locales/components/cs/visual-editor.json index 3ebb9f9e5c..7b0c8e03cd 100644 --- a/packages/visual-editor/locales/components/cs/visual-editor.json +++ b/packages/visual-editor/locales/components/cs/visual-editor.json @@ -96,6 +96,7 @@ "servicesSection": "Sekce služeb", "showLess": "Ukázat méně", "showMore": "Ukázat více", + "showMoreLocations": "Zobrazit další místa", "showPinDetails": "Zobrazit podrobnosti pinu {{number}}", "showPinDetailsDefault": "Zobrazit podrobnosti špendlíku", "socialLinks": { diff --git a/packages/visual-editor/locales/components/da/visual-editor.json b/packages/visual-editor/locales/components/da/visual-editor.json index 3c72e67e13..84a2383d4c 100644 --- a/packages/visual-editor/locales/components/da/visual-editor.json +++ b/packages/visual-editor/locales/components/da/visual-editor.json @@ -86,6 +86,7 @@ "servicesSection": "Servicesektion", "showLess": "Vis mindre", "showMore": "Vis mere", + "showMoreLocations": "Vis flere lokationer", "showPinDetails": "Vis pin {{number}} detaljer", "showPinDetailsDefault": "Vis pindetaljer", "socialLinks": { diff --git a/packages/visual-editor/locales/components/de/visual-editor.json b/packages/visual-editor/locales/components/de/visual-editor.json index 1fbfeba949..8900197479 100644 --- a/packages/visual-editor/locales/components/de/visual-editor.json +++ b/packages/visual-editor/locales/components/de/visual-editor.json @@ -86,6 +86,7 @@ "servicesSection": "Leistungen-Modul", "showLess": "Weniger anzeigen", "showMore": "Mehr anzeigen", + "showMoreLocations": "Weitere Standorte anzeigen", "showPinDetails": "Details zu Pin {{number}} anzeigen", "showPinDetailsDefault": "Pin-Details anzeigen", "socialLinks": { diff --git a/packages/visual-editor/locales/components/en-GB/visual-editor.json b/packages/visual-editor/locales/components/en-GB/visual-editor.json index c3ce02a7a4..504e3cda7e 100644 --- a/packages/visual-editor/locales/components/en-GB/visual-editor.json +++ b/packages/visual-editor/locales/components/en-GB/visual-editor.json @@ -86,6 +86,7 @@ "servicesSection": "Services Section", "showLess": "Show less", "showMore": "Show more", + "showMoreLocations": "Show more locations", "showPinDetails": "Show pin {{number}} details", "showPinDetailsDefault": "Show pin details", "socialLinks": { diff --git a/packages/visual-editor/locales/components/en/visual-editor.json b/packages/visual-editor/locales/components/en/visual-editor.json index c6e4400c02..8735af167a 100644 --- a/packages/visual-editor/locales/components/en/visual-editor.json +++ b/packages/visual-editor/locales/components/en/visual-editor.json @@ -86,6 +86,7 @@ "servicesSection": "Services Section", "showLess": "Show less", "showMore": "Show more", + "showMoreLocations": "Show more locations", "showPinDetails": "Show pin {{number}} details", "showPinDetailsDefault": "Show pin details", "socialLinks": { diff --git a/packages/visual-editor/locales/components/es/visual-editor.json b/packages/visual-editor/locales/components/es/visual-editor.json index c5b03c3fb1..a9ced8907b 100644 --- a/packages/visual-editor/locales/components/es/visual-editor.json +++ b/packages/visual-editor/locales/components/es/visual-editor.json @@ -91,6 +91,7 @@ "servicesSection": "Sección de servicios", "showLess": "Mostrar menos", "showMore": "Mostrar más", + "showMoreLocations": "Mostrar más ubicaciones", "showPinDetails": "Mostrar detalles del pin {{number}}", "showPinDetailsDefault": "Mostrar detalles del pin", "socialLinks": { diff --git a/packages/visual-editor/locales/components/et/visual-editor.json b/packages/visual-editor/locales/components/et/visual-editor.json index bf249ed1af..5660746b5b 100644 --- a/packages/visual-editor/locales/components/et/visual-editor.json +++ b/packages/visual-editor/locales/components/et/visual-editor.json @@ -86,6 +86,7 @@ "servicesSection": "Teenuste sektsioon", "showLess": "Näitama vähem", "showMore": "Näidata veel", + "showMoreLocations": "Kuva rohkem asukohti", "showPinDetails": "Kuva nööpnõela {{number}} üksikasjad", "showPinDetailsDefault": "Kuva nööpnõela üksikasjad", "socialLinks": { diff --git a/packages/visual-editor/locales/components/fi/visual-editor.json b/packages/visual-editor/locales/components/fi/visual-editor.json index e715b6fe67..73a78e19f0 100644 --- a/packages/visual-editor/locales/components/fi/visual-editor.json +++ b/packages/visual-editor/locales/components/fi/visual-editor.json @@ -86,6 +86,7 @@ "servicesSection": "Palvelusosasto", "showLess": "Näytä vähemmän", "showMore": "Näytä enemmän", + "showMoreLocations": "Näytä lisää paikkoja", "showPinDetails": "Näytä pin {{number}} tiedot", "showPinDetailsDefault": "Näytä merkin tiedot", "socialLinks": { diff --git a/packages/visual-editor/locales/components/fr/visual-editor.json b/packages/visual-editor/locales/components/fr/visual-editor.json index d33f3c6611..b4393fcef8 100644 --- a/packages/visual-editor/locales/components/fr/visual-editor.json +++ b/packages/visual-editor/locales/components/fr/visual-editor.json @@ -91,6 +91,7 @@ "servicesSection": "Section des services", "showLess": "Montrer moins", "showMore": "Montrer plus", + "showMoreLocations": "Afficher plus d'emplacements", "showPinDetails": "Afficher les détails de la broche {{number}}", "showPinDetailsDefault": "Afficher les détails de l'épingle", "socialLinks": { diff --git a/packages/visual-editor/locales/components/hr/visual-editor.json b/packages/visual-editor/locales/components/hr/visual-editor.json index 8639d38d78..e30a4b065f 100644 --- a/packages/visual-editor/locales/components/hr/visual-editor.json +++ b/packages/visual-editor/locales/components/hr/visual-editor.json @@ -91,6 +91,7 @@ "servicesSection": "Odjeljak za usluge", "showLess": "Pokazati manje", "showMore": "Pokažite više", + "showMoreLocations": "Prikaži više lokacija", "showPinDetails": "Prikaži detalje pribadače {{number}}", "showPinDetailsDefault": "Prikaži detalje pribadače", "socialLinks": { diff --git a/packages/visual-editor/locales/components/hu/visual-editor.json b/packages/visual-editor/locales/components/hu/visual-editor.json index 73b6910f78..8f03f9cb0c 100644 --- a/packages/visual-editor/locales/components/hu/visual-editor.json +++ b/packages/visual-editor/locales/components/hu/visual-editor.json @@ -86,6 +86,7 @@ "servicesSection": "Szolgáltatási szakasz", "showLess": "Mutasson kevesebbet", "showMore": "Mutasson többet", + "showMoreLocations": "További helyek megjelenítése", "showPinDetails": "A tű {{number}} részleteinek megjelenítése", "showPinDetailsDefault": "A gombostű részleteinek megjelenítése", "socialLinks": { diff --git a/packages/visual-editor/locales/components/it/visual-editor.json b/packages/visual-editor/locales/components/it/visual-editor.json index 613b9883bf..eb231f2a1e 100644 --- a/packages/visual-editor/locales/components/it/visual-editor.json +++ b/packages/visual-editor/locales/components/it/visual-editor.json @@ -91,6 +91,7 @@ "servicesSection": "Sezione Servizi", "showLess": "Mostra meno", "showMore": "Mostra di più", + "showMoreLocations": "Mostra più località", "showPinDetails": "Mostra i dettagli del segnaposto {{number}}", "showPinDetailsDefault": "Mostra i dettagli del segnaposto", "socialLinks": { diff --git a/packages/visual-editor/locales/components/ja/visual-editor.json b/packages/visual-editor/locales/components/ja/visual-editor.json index d385d10d38..268f9d6075 100644 --- a/packages/visual-editor/locales/components/ja/visual-editor.json +++ b/packages/visual-editor/locales/components/ja/visual-editor.json @@ -86,6 +86,7 @@ "servicesSection": "サービスセクション", "showLess": "少なく表示します", "showMore": "もっと見せてください", + "showMoreLocations": "さらに多くの場所を表示", "showPinDetails": "ピン {{number}} の詳細を表示", "showPinDetailsDefault": "ピンの詳細を表示", "socialLinks": { diff --git a/packages/visual-editor/locales/components/lt/visual-editor.json b/packages/visual-editor/locales/components/lt/visual-editor.json index 79770f1fbd..83de69457c 100644 --- a/packages/visual-editor/locales/components/lt/visual-editor.json +++ b/packages/visual-editor/locales/components/lt/visual-editor.json @@ -96,6 +96,7 @@ "servicesSection": "Paslaugų skyrius", "showLess": "Parodyk mažiau", "showMore": "Parodyk daugiau", + "showMoreLocations": "Rodyti daugiau vietų", "showPinDetails": "Rodyti smeigtuko {{number}} informaciją", "showPinDetailsDefault": "Rodyti smeigtuko informaciją", "socialLinks": { diff --git a/packages/visual-editor/locales/components/lv/visual-editor.json b/packages/visual-editor/locales/components/lv/visual-editor.json index 9c1d54be20..f7999931d8 100644 --- a/packages/visual-editor/locales/components/lv/visual-editor.json +++ b/packages/visual-editor/locales/components/lv/visual-editor.json @@ -89,6 +89,7 @@ "servicesSection": "Pakalpojumu nodaļa", "showLess": "Rādīt mazāk", "showMore": "Parādīt vairāk", + "showMoreLocations": "Rādīt vairāk atrašanās vietu", "showPinDetails": "Rādīt spraudītes {{number}} informāciju", "showPinDetailsDefault": "Rādīt spraudītes informāciju", "socialLinks": { diff --git a/packages/visual-editor/locales/components/nb/visual-editor.json b/packages/visual-editor/locales/components/nb/visual-editor.json index 4b5d91df4d..55df9499ff 100644 --- a/packages/visual-editor/locales/components/nb/visual-editor.json +++ b/packages/visual-editor/locales/components/nb/visual-editor.json @@ -86,6 +86,7 @@ "servicesSection": "Serviceseksjonen", "showLess": "Vis mindre", "showMore": "Vis mer", + "showMoreLocations": "Vis flere lokasjoner", "showPinDetails": "Vis detaljer om pin {{number}}", "showPinDetailsDefault": "Vis pindetaljer", "socialLinks": { diff --git a/packages/visual-editor/locales/components/nl/visual-editor.json b/packages/visual-editor/locales/components/nl/visual-editor.json index 6b8cf1489f..0b2673a156 100644 --- a/packages/visual-editor/locales/components/nl/visual-editor.json +++ b/packages/visual-editor/locales/components/nl/visual-editor.json @@ -86,6 +86,7 @@ "servicesSection": "Dienstensectie", "showLess": "Minder laten zien", "showMore": "Laat meer zien", + "showMoreLocations": "Toon meer locaties", "showPinDetails": "Toon pin {{number}} details", "showPinDetailsDefault": "Toon pingegevens", "socialLinks": { diff --git a/packages/visual-editor/locales/components/pl/visual-editor.json b/packages/visual-editor/locales/components/pl/visual-editor.json index 917691f411..69e23c0d3a 100644 --- a/packages/visual-editor/locales/components/pl/visual-editor.json +++ b/packages/visual-editor/locales/components/pl/visual-editor.json @@ -96,6 +96,7 @@ "servicesSection": "Sekcja usług", "showLess": "Pokaż mniej", "showMore": "Pokaż więcej", + "showMoreLocations": "Pokaż więcej lokalizacji", "showPinDetails": "Pokaż szczegóły pinu {{number}}", "showPinDetailsDefault": "Pokaż szczegóły pinu", "socialLinks": { diff --git a/packages/visual-editor/locales/components/pt/visual-editor.json b/packages/visual-editor/locales/components/pt/visual-editor.json index b1981c959a..8481dcc261 100644 --- a/packages/visual-editor/locales/components/pt/visual-editor.json +++ b/packages/visual-editor/locales/components/pt/visual-editor.json @@ -91,6 +91,7 @@ "servicesSection": "Seção de serviços", "showLess": "Mostre menos", "showMore": "Mostre mais", + "showMoreLocations": "Mostrar mais locais", "showPinDetails": "Mostrar detalhes do pino {{number}}", "showPinDetailsDefault": "Mostrar detalhes do alfinete", "socialLinks": { diff --git a/packages/visual-editor/locales/components/ro/visual-editor.json b/packages/visual-editor/locales/components/ro/visual-editor.json index 55cd1e95c7..3669850efc 100644 --- a/packages/visual-editor/locales/components/ro/visual-editor.json +++ b/packages/visual-editor/locales/components/ro/visual-editor.json @@ -91,6 +91,7 @@ "servicesSection": "Secțiunea Servicii", "showLess": "Arată mai puțin", "showMore": "Arată mai mult", + "showMoreLocations": "Afișați mai multe locații", "showPinDetails": "Afișați detaliile codului {{number}}", "showPinDetailsDefault": "Afișați detaliile codului", "socialLinks": { diff --git a/packages/visual-editor/locales/components/sk/visual-editor.json b/packages/visual-editor/locales/components/sk/visual-editor.json index 9d22bbcc54..f2661c9c7f 100644 --- a/packages/visual-editor/locales/components/sk/visual-editor.json +++ b/packages/visual-editor/locales/components/sk/visual-editor.json @@ -96,6 +96,7 @@ "servicesSection": "Sekcia", "showLess": "Vykazovať menej", "showMore": "Ukázať viac", + "showMoreLocations": "Zobraziť viac miest", "showPinDetails": "Zobraziť podrobnosti špendlíka {{number}}", "showPinDetailsDefault": "Zobraziť podrobnosti špendlíka", "socialLinks": { diff --git a/packages/visual-editor/locales/components/sv/visual-editor.json b/packages/visual-editor/locales/components/sv/visual-editor.json index 7c85cfbafa..48e6be032d 100644 --- a/packages/visual-editor/locales/components/sv/visual-editor.json +++ b/packages/visual-editor/locales/components/sv/visual-editor.json @@ -86,6 +86,7 @@ "servicesSection": "Serviceavdelning", "showLess": "Visa mindre", "showMore": "Visa mer", + "showMoreLocations": "Visa fler platser", "showPinDetails": "Visa pin {{number}} detaljer", "showPinDetailsDefault": "Visa pindetaljer", "socialLinks": { diff --git a/packages/visual-editor/locales/components/tr/visual-editor.json b/packages/visual-editor/locales/components/tr/visual-editor.json index c3d0c1cac0..c1ad8ec16a 100644 --- a/packages/visual-editor/locales/components/tr/visual-editor.json +++ b/packages/visual-editor/locales/components/tr/visual-editor.json @@ -86,6 +86,7 @@ "servicesSection": "Hizmetler Bölümü", "showLess": "Daha az göster", "showMore": "Daha Fazla Göster", + "showMoreLocations": "Daha fazla konum göster", "showPinDetails": "{{number}} pin ayrıntılarını göster", "showPinDetailsDefault": "Pin ayrıntılarını göster", "socialLinks": { diff --git a/packages/visual-editor/locales/components/zh-TW/visual-editor.json b/packages/visual-editor/locales/components/zh-TW/visual-editor.json index 6af597205e..477940d27a 100644 --- a/packages/visual-editor/locales/components/zh-TW/visual-editor.json +++ b/packages/visual-editor/locales/components/zh-TW/visual-editor.json @@ -86,6 +86,7 @@ "servicesSection": "服務部分", "showLess": "少顯示", "showMore": "顯示更多", + "showMoreLocations": "顯示更多地點", "showPinDetails": "顯示引腳 {{number}} 詳細信息", "showPinDetailsDefault": "顯示引腳詳細信息", "socialLinks": { diff --git a/packages/visual-editor/locales/components/zh/visual-editor.json b/packages/visual-editor/locales/components/zh/visual-editor.json index 2ea4e108b5..4b15087504 100644 --- a/packages/visual-editor/locales/components/zh/visual-editor.json +++ b/packages/visual-editor/locales/components/zh/visual-editor.json @@ -86,6 +86,7 @@ "servicesSection": "服务部分", "showLess": "少显示", "showMore": "显示更多", + "showMoreLocations": "显示更多地点", "showPinDetails": "显示引脚 {{number}} 详细信息", "showPinDetailsDefault": "显示引脚详细信息", "socialLinks": { diff --git a/packages/visual-editor/locales/platform/cs/visual-editor.json b/packages/visual-editor/locales/platform/cs/visual-editor.json index 9f99c6d3e0..92304ae184 100644 --- a/packages/visual-editor/locales/platform/cs/visual-editor.json +++ b/packages/visual-editor/locales/platform/cs/visual-editor.json @@ -667,6 +667,7 @@ "showLabels": "Zobrazit štítky", "showLess": "Ukázat méně", "showMore": "Ukázat více", + "showMoreLocations": "Zobrazit další místa", "showPinDetails": "Zobrazit podrobnosti pinu {{number}}", "showPinDetailsDefault": "Zobrazit podrobnosti špendlíku", "siteColors": "Barvy webu", diff --git a/packages/visual-editor/locales/platform/da/visual-editor.json b/packages/visual-editor/locales/platform/da/visual-editor.json index 4dbba43729..f16d5a7700 100644 --- a/packages/visual-editor/locales/platform/da/visual-editor.json +++ b/packages/visual-editor/locales/platform/da/visual-editor.json @@ -657,6 +657,7 @@ "showLabels": "Vis etiketter", "showLess": "Vis mindre", "showMore": "Vis mere", + "showMoreLocations": "Vis flere lokationer", "showPinDetails": "Vis pin {{number}} detaljer", "showPinDetailsDefault": "Vis pindetaljer", "siteColors": "Webstedsfarver", diff --git a/packages/visual-editor/locales/platform/de/visual-editor.json b/packages/visual-editor/locales/platform/de/visual-editor.json index e6e2768a27..19e366b456 100644 --- a/packages/visual-editor/locales/platform/de/visual-editor.json +++ b/packages/visual-editor/locales/platform/de/visual-editor.json @@ -657,6 +657,7 @@ "showLabels": "Labels anzeigen", "showLess": "Weniger anzeigen", "showMore": "Mehr anzeigen", + "showMoreLocations": "Weitere Standorte anzeigen", "showPinDetails": "Details zu Pin {{number}} anzeigen", "showPinDetailsDefault": "Pin-Details anzeigen", "siteColors": "Site-Farben", diff --git a/packages/visual-editor/locales/platform/en-GB/visual-editor.json b/packages/visual-editor/locales/platform/en-GB/visual-editor.json index ffd1f4e7da..8f27beafa7 100644 --- a/packages/visual-editor/locales/platform/en-GB/visual-editor.json +++ b/packages/visual-editor/locales/platform/en-GB/visual-editor.json @@ -657,6 +657,7 @@ "showLabels": "Show Labels", "showLess": "Show less", "showMore": "Show more", + "showMoreLocations": "Show more locations", "showPinDetails": "Show pin {{number}} details", "showPinDetailsDefault": "Show pin details", "siteColors": "Site Colors", diff --git a/packages/visual-editor/locales/platform/en/visual-editor.json b/packages/visual-editor/locales/platform/en/visual-editor.json index d5a24f5eca..7885d9e043 100644 --- a/packages/visual-editor/locales/platform/en/visual-editor.json +++ b/packages/visual-editor/locales/platform/en/visual-editor.json @@ -657,6 +657,7 @@ "showLabels": "Show Labels", "showLess": "Show less", "showMore": "Show more", + "showMoreLocations": "Show more locations", "showPinDetails": "Show pin {{number}} details", "showPinDetailsDefault": "Show pin details", "siteColors": "Site Colors", diff --git a/packages/visual-editor/locales/platform/es/visual-editor.json b/packages/visual-editor/locales/platform/es/visual-editor.json index b8c5c30e7b..ca7c177112 100644 --- a/packages/visual-editor/locales/platform/es/visual-editor.json +++ b/packages/visual-editor/locales/platform/es/visual-editor.json @@ -662,6 +662,7 @@ "showLabels": "Espectáculo de etiquetas", "showLess": "Mostrar menos", "showMore": "Mostrar más", + "showMoreLocations": "Mostrar más ubicaciones", "showPinDetails": "Mostrar detalles del pin {{number}}", "showPinDetailsDefault": "Mostrar detalles del pin", "siteColors": "Colores del sitio", diff --git a/packages/visual-editor/locales/platform/et/visual-editor.json b/packages/visual-editor/locales/platform/et/visual-editor.json index 544067f592..631fab884c 100644 --- a/packages/visual-editor/locales/platform/et/visual-editor.json +++ b/packages/visual-editor/locales/platform/et/visual-editor.json @@ -657,6 +657,7 @@ "showLabels": "Näita silte", "showLess": "Näitama vähem", "showMore": "Näidata veel", + "showMoreLocations": "Kuva rohkem asukohti", "showPinDetails": "Kuva nööpnõela {{number}} üksikasjad", "showPinDetailsDefault": "Kuva nööpnõela üksikasjad", "siteColors": "Saidi värvid", diff --git a/packages/visual-editor/locales/platform/fi/visual-editor.json b/packages/visual-editor/locales/platform/fi/visual-editor.json index 83e18d28e1..f4f514b4af 100644 --- a/packages/visual-editor/locales/platform/fi/visual-editor.json +++ b/packages/visual-editor/locales/platform/fi/visual-editor.json @@ -657,6 +657,7 @@ "showLabels": "Näyttötarrat", "showLess": "Näytä vähemmän", "showMore": "Näytä enemmän", + "showMoreLocations": "Näytä lisää paikkoja", "showPinDetails": "Näytä pin {{number}} tiedot", "showPinDetailsDefault": "Näytä merkin tiedot", "siteColors": "Sivuston värit", diff --git a/packages/visual-editor/locales/platform/fr/visual-editor.json b/packages/visual-editor/locales/platform/fr/visual-editor.json index cc9089ade8..fa9222d796 100644 --- a/packages/visual-editor/locales/platform/fr/visual-editor.json +++ b/packages/visual-editor/locales/platform/fr/visual-editor.json @@ -662,6 +662,7 @@ "showLabels": "Montrer les étiquettes", "showLess": "Montrer moins", "showMore": "Montrer plus", + "showMoreLocations": "Afficher plus d'emplacements", "showPinDetails": "Afficher les détails de la broche {{number}}", "showPinDetailsDefault": "Afficher les détails de l'épingle", "siteColors": "Couleurs du site", diff --git a/packages/visual-editor/locales/platform/hr/visual-editor.json b/packages/visual-editor/locales/platform/hr/visual-editor.json index c0f3bbd5ed..933fdd9806 100644 --- a/packages/visual-editor/locales/platform/hr/visual-editor.json +++ b/packages/visual-editor/locales/platform/hr/visual-editor.json @@ -662,6 +662,7 @@ "showLabels": "Prikaži naljepnice", "showLess": "Pokazati manje", "showMore": "Pokažite više", + "showMoreLocations": "Prikaži više lokacija", "showPinDetails": "Prikaži detalje pribadače {{number}}", "showPinDetailsDefault": "Prikaži detalje pribadače", "siteColors": "Boje mjesta", diff --git a/packages/visual-editor/locales/platform/hu/visual-editor.json b/packages/visual-editor/locales/platform/hu/visual-editor.json index 970172ab14..b26b45ceec 100644 --- a/packages/visual-editor/locales/platform/hu/visual-editor.json +++ b/packages/visual-editor/locales/platform/hu/visual-editor.json @@ -657,6 +657,7 @@ "showLabels": "A címkék megjelenítését", "showLess": "Mutasson kevesebbet", "showMore": "Mutasson többet", + "showMoreLocations": "További helyek megjelenítése", "showPinDetails": "A tű {{number}} részleteinek megjelenítése", "showPinDetailsDefault": "A gombostű részleteinek megjelenítése", "siteColors": "Helyszínek", diff --git a/packages/visual-editor/locales/platform/it/visual-editor.json b/packages/visual-editor/locales/platform/it/visual-editor.json index dcc9d1e3eb..9fee999493 100644 --- a/packages/visual-editor/locales/platform/it/visual-editor.json +++ b/packages/visual-editor/locales/platform/it/visual-editor.json @@ -662,6 +662,7 @@ "showLabels": "Etichette per mostrare", "showLess": "Mostra meno", "showMore": "Mostra di più", + "showMoreLocations": "Mostra più località", "showPinDetails": "Mostra i dettagli del segnaposto {{number}}", "showPinDetailsDefault": "Mostra i dettagli del segnaposto", "siteColors": "Colori del sito", diff --git a/packages/visual-editor/locales/platform/ja/visual-editor.json b/packages/visual-editor/locales/platform/ja/visual-editor.json index 20703934fc..e1dcaf3373 100644 --- a/packages/visual-editor/locales/platform/ja/visual-editor.json +++ b/packages/visual-editor/locales/platform/ja/visual-editor.json @@ -657,6 +657,7 @@ "showLabels": "ラベルを表示します", "showLess": "少なく表示します", "showMore": "もっと見せてください", + "showMoreLocations": "さらに多くの場所を表示", "showPinDetails": "ピン {{number}} の詳細を表示", "showPinDetailsDefault": "ピンの詳細を表示", "siteColors": "サイトの色", diff --git a/packages/visual-editor/locales/platform/lt/visual-editor.json b/packages/visual-editor/locales/platform/lt/visual-editor.json index 0eb00d0dab..ccc1d568cb 100644 --- a/packages/visual-editor/locales/platform/lt/visual-editor.json +++ b/packages/visual-editor/locales/platform/lt/visual-editor.json @@ -667,6 +667,7 @@ "showLabels": "Rodyti etiketes", "showLess": "Parodyk mažiau", "showMore": "Parodyk daugiau", + "showMoreLocations": "Rodyti daugiau vietų", "showPinDetails": "Rodyti smeigtuko {{number}} informaciją", "showPinDetailsDefault": "Rodyti smeigtuko informaciją", "siteColors": "Svetainės spalvos", diff --git a/packages/visual-editor/locales/platform/lv/visual-editor.json b/packages/visual-editor/locales/platform/lv/visual-editor.json index 07070be763..ba1d3dede7 100644 --- a/packages/visual-editor/locales/platform/lv/visual-editor.json +++ b/packages/visual-editor/locales/platform/lv/visual-editor.json @@ -660,6 +660,7 @@ "showLabels": "Izrādes etiķetes", "showLess": "Rādīt mazāk", "showMore": "Parādīt vairāk", + "showMoreLocations": "Rādīt vairāk atrašanās vietu", "showPinDetails": "Rādīt spraudītes {{number}} informāciju", "showPinDetailsDefault": "Rādīt spraudītes informāciju", "siteColors": "Vietnes krāsas", diff --git a/packages/visual-editor/locales/platform/nb/visual-editor.json b/packages/visual-editor/locales/platform/nb/visual-editor.json index 826d2caf9f..e6395ea991 100644 --- a/packages/visual-editor/locales/platform/nb/visual-editor.json +++ b/packages/visual-editor/locales/platform/nb/visual-editor.json @@ -657,6 +657,7 @@ "showLabels": "Vis etiketter", "showLess": "Vis mindre", "showMore": "Vis mer", + "showMoreLocations": "Vis flere lokasjoner", "showPinDetails": "Vis detaljer om pin {{number}}", "showPinDetailsDefault": "Vis pindetaljer", "siteColors": "Nettstedsfarger", diff --git a/packages/visual-editor/locales/platform/nl/visual-editor.json b/packages/visual-editor/locales/platform/nl/visual-editor.json index 40aef492f5..eafbda613b 100644 --- a/packages/visual-editor/locales/platform/nl/visual-editor.json +++ b/packages/visual-editor/locales/platform/nl/visual-editor.json @@ -657,6 +657,7 @@ "showLabels": "Toon labels", "showLess": "Minder laten zien", "showMore": "Laat meer zien", + "showMoreLocations": "Toon meer locaties", "showPinDetails": "Toon pin {{number}} details", "showPinDetailsDefault": "Toon pingegevens", "siteColors": "Sitekleuren", diff --git a/packages/visual-editor/locales/platform/pl/visual-editor.json b/packages/visual-editor/locales/platform/pl/visual-editor.json index 62dfcac604..b800eccb69 100644 --- a/packages/visual-editor/locales/platform/pl/visual-editor.json +++ b/packages/visual-editor/locales/platform/pl/visual-editor.json @@ -667,6 +667,7 @@ "showLabels": "Pokaż etykiety", "showLess": "Pokaż mniej", "showMore": "Pokaż więcej", + "showMoreLocations": "Pokaż więcej lokalizacji", "showPinDetails": "Pokaż szczegóły pinu {{number}}", "showPinDetailsDefault": "Pokaż szczegóły pinu", "siteColors": "Kolory strony", diff --git a/packages/visual-editor/locales/platform/pt/visual-editor.json b/packages/visual-editor/locales/platform/pt/visual-editor.json index 597ad5a8d5..dd3854e2e2 100644 --- a/packages/visual-editor/locales/platform/pt/visual-editor.json +++ b/packages/visual-editor/locales/platform/pt/visual-editor.json @@ -662,6 +662,7 @@ "showLabels": "Mostrar rótulos", "showLess": "Mostre menos", "showMore": "Mostre mais", + "showMoreLocations": "Mostrar mais locais", "showPinDetails": "Mostrar detalhes do pino {{number}}", "showPinDetailsDefault": "Mostrar detalhes do alfinete", "siteColors": "Cores do site", diff --git a/packages/visual-editor/locales/platform/ro/visual-editor.json b/packages/visual-editor/locales/platform/ro/visual-editor.json index 3be33ca10d..87d7b6c453 100644 --- a/packages/visual-editor/locales/platform/ro/visual-editor.json +++ b/packages/visual-editor/locales/platform/ro/visual-editor.json @@ -662,6 +662,7 @@ "showLabels": "Arată etichete", "showLess": "Arată mai puțin", "showMore": "Arată mai mult", + "showMoreLocations": "Afișați mai multe locații", "showPinDetails": "Afișați detaliile codului {{number}}", "showPinDetailsDefault": "Afișați detaliile codului", "siteColors": "Culorile site -ului", diff --git a/packages/visual-editor/locales/platform/sk/visual-editor.json b/packages/visual-editor/locales/platform/sk/visual-editor.json index cf76420244..f956de9c0f 100644 --- a/packages/visual-editor/locales/platform/sk/visual-editor.json +++ b/packages/visual-editor/locales/platform/sk/visual-editor.json @@ -667,6 +667,7 @@ "showLabels": "Ukazovať štítky", "showLess": "Vykazovať menej", "showMore": "Ukázať viac", + "showMoreLocations": "Zobraziť viac miest", "showPinDetails": "Zobraziť podrobnosti špendlíka {{number}}", "showPinDetailsDefault": "Zobraziť podrobnosti špendlíka", "siteColors": "Farby stránok", diff --git a/packages/visual-editor/locales/platform/sv/visual-editor.json b/packages/visual-editor/locales/platform/sv/visual-editor.json index d62fe1f97f..eb2778b71b 100644 --- a/packages/visual-editor/locales/platform/sv/visual-editor.json +++ b/packages/visual-editor/locales/platform/sv/visual-editor.json @@ -657,6 +657,7 @@ "showLabels": "Visa etiketter", "showLess": "Visa mindre", "showMore": "Visa mer", + "showMoreLocations": "Visa fler platser", "showPinDetails": "Visa pin {{number}} detaljer", "showPinDetailsDefault": "Visa pindetaljer", "siteColors": "Platsfärger", diff --git a/packages/visual-editor/locales/platform/tr/visual-editor.json b/packages/visual-editor/locales/platform/tr/visual-editor.json index 89a42b9042..179c6d5651 100644 --- a/packages/visual-editor/locales/platform/tr/visual-editor.json +++ b/packages/visual-editor/locales/platform/tr/visual-editor.json @@ -657,6 +657,7 @@ "showLabels": "Etiketleri Göster", "showLess": "Daha az göster", "showMore": "Daha Fazla Göster", + "showMoreLocations": "Daha fazla konum göster", "showPinDetails": "{{number}} pin ayrıntılarını göster", "showPinDetailsDefault": "Pin ayrıntılarını göster", "siteColors": "Site Renkleri", diff --git a/packages/visual-editor/locales/platform/zh-TW/visual-editor.json b/packages/visual-editor/locales/platform/zh-TW/visual-editor.json index 45ca8af2bd..c804bd2446 100644 --- a/packages/visual-editor/locales/platform/zh-TW/visual-editor.json +++ b/packages/visual-editor/locales/platform/zh-TW/visual-editor.json @@ -657,6 +657,7 @@ "showLabels": "顯示標籤", "showLess": "少顯示", "showMore": "顯示更多", + "showMoreLocations": "顯示更多地點", "showPinDetails": "顯示引腳 {{number}} 詳細信息", "showPinDetailsDefault": "顯示引腳詳細信息", "siteColors": "站點顏色", diff --git a/packages/visual-editor/locales/platform/zh/visual-editor.json b/packages/visual-editor/locales/platform/zh/visual-editor.json index 2844bcf5b7..287dd7f5c5 100644 --- a/packages/visual-editor/locales/platform/zh/visual-editor.json +++ b/packages/visual-editor/locales/platform/zh/visual-editor.json @@ -657,6 +657,7 @@ "showLabels": "显示标签", "showLess": "少显示", "showMore": "显示更多", + "showMoreLocations": "显示更多地点", "showPinDetails": "显示引脚 {{number}} 详细信息", "showPinDetailsDefault": "显示引脚详细信息", "siteColors": "站点颜色", diff --git a/packages/visual-editor/src/components/Locator.test.tsx b/packages/visual-editor/src/components/Locator.test.tsx index 1756f49f15..dfd2dd41e5 100644 --- a/packages/visual-editor/src/components/Locator.test.tsx +++ b/packages/visual-editor/src/components/Locator.test.tsx @@ -1390,14 +1390,14 @@ describe("Locator", async () => { const translations = await injectTranslations(document); vi.stubGlobal("fetch", createLocatorFetchMock(document)); + await page.viewport(width, height); + const { container } = reactRender( ); - await page.viewport(width, height); - // Unless testing empty state, wait for search to load if (!name.includes("empty document")) { await waitFor(() => { diff --git a/packages/visual-editor/src/components/Locator.tsx b/packages/visual-editor/src/components/Locator.tsx index 31f66e692d..d60cf5f98c 100644 --- a/packages/visual-editor/src/components/Locator.tsx +++ b/packages/visual-editor/src/components/Locator.tsx @@ -28,8 +28,8 @@ import { Pagination, PinComponentProps, SearchI18nextProvider, - VerticalResults, useAnalytics as useSearchAnalytics, + VerticalResults, } from "@yext/search-ui-react"; import React, { useEffect } from "react"; import { useCollapse } from "react-collapsed"; @@ -48,6 +48,8 @@ import { import { ImageField } from "../fields/ImageField.tsx"; import { YextAutoField } from "../fields/YextAutoField.tsx"; import { useDocument } from "../hooks/useDocument.tsx"; +import { usePreviewWindow } from "../hooks/usePreviewWindow.ts"; +import { getViewport, useWindowWidth } from "../hooks/useViewport.ts"; import { Button } from "./atoms/button.tsx"; import { ImageStylingFields } from "./contentBlocks/image/styling.ts"; import { TranslatableString } from "../types/types.ts"; @@ -1176,6 +1178,9 @@ const LocatorInternal = ({ }, [searchAnalytics, pagesAnalytics]); const { t, i18n } = useTranslation(); + const previewWindow = usePreviewWindow(); + const windowWidth = useWindowWidth(previewWindow); + const { isMobile } = getViewport(windowWidth); const preferredUnit = getPreferredDistanceUnit(i18n.language); const streamDocument = useDocument(); const entityTypeSourceMap = getLocatorEntityTypeSourceMap(streamDocument); @@ -1184,6 +1189,9 @@ const LocatorInternal = ({ const resultCount = useSearchState( (state) => state.vertical.resultsCount || 0 ); + const searchResults = useSearchState( + (state) => (state.vertical.results || []) as Result[] + ); const queryParamString = typeof window === "undefined" ? "" : window.location.search; const initialLocationParam = getValueFromQueryString( @@ -1268,6 +1276,7 @@ const LocatorInternal = ({ }; const searchActions = useSearchActions(); + const selectedFacets: string[] = React.useMemo( () => facetFields?.selections @@ -1358,6 +1367,9 @@ const LocatorInternal = ({ const resultsRef = React.useRef>([]); const resultsContainer = React.useRef(null); + const [mobileResults, setMobileResults] = React.useState[]>( + [] + ); // Tracks the selected pin index to highlight the corresponding result card. const [selectedResultIndex, setSelectedResultIndex] = React.useState< number | null @@ -1493,6 +1505,8 @@ const LocatorInternal = ({ React.useState(initialMapCenter); const [isInitialMapLocationResolved, setIsInitialMapLocationResolved] = React.useState(false); + const canShowMoreMobileResults = + isMobile && mobileResults.length < resultCount; const mapProps = React.useMemo( () => ({ @@ -1696,10 +1710,12 @@ const LocatorInternal = ({ const searchFilters = useSearchState((state) => state.filters); const currentOffset = useSearchState((state) => state.vertical.offset); const previousOffset = React.useRef(undefined); + const prevIsMobile = React.useRef(isMobile); // Scroll to top when pagination changes React.useEffect(() => { if ( + !isMobile && currentOffset !== previousOffset.current && previousOffset.current !== undefined ) { @@ -1709,7 +1725,37 @@ const LocatorInternal = ({ }); } previousOffset.current = currentOffset; - }, [currentOffset]); + }, [currentOffset, isMobile]); + + React.useEffect(() => { + const switchedToMobile = isMobile && !prevIsMobile.current; + + prevIsMobile.current = isMobile; + + if (!switchedToMobile || searchLoading || (currentOffset ?? 0) === 0) { + return; + } + + // Always reload from offset 0 if switching to mobile + setMobileResults([]); + searchActions.setOffset(0); + executeSearch(searchActions); + setSearchState("loading"); + }, [currentOffset, isMobile, searchActions, searchLoading]); + + React.useEffect(() => { + if (!isMobile || searchLoading) { + return; + } + + setMobileResults((previousResults) => { + // Mobile keeps a single growing list: later offsets append, while + // offset 0 replaces the list after a fresh search. + return (currentOffset ?? 0) > 0 && searchResults.length > 0 + ? [...previousResults, ...searchResults] + : searchResults; + }); + }, [currentOffset, isMobile, searchLoading, searchResults]); const handleDistanceClick = ( distance: number, @@ -1899,15 +1945,36 @@ const LocatorInternal = ({ /> -
- {resultCount > 0 && ( - - )} -
- {resultCount > RESULTS_LIMIT && ( + {resultCount > 0 && ( +
+ {isMobile ? ( + { + if (searchLoading || mobileResults.length >= resultCount) { + return; + } + + searchActions.setOffset(mobileResults.length); + executeSearch(searchActions); + setSearchState("loading"); + }} + /> + ) : ( + + )} +
+ )} + {!isMobile && resultCount > RESULTS_LIMIT && (
>; + results: Result[]; + hasMoreResults: boolean; + handleShowMoreResults: () => void; +} + +const MobileLocatorResultsSection = ({ + CardComponent, + results, + hasMoreResults, + handleShowMoreResults, +}: MobileLocatorResultsSectionProps) => { + const { t } = useTranslation(); + + return ( + <> + {results.length > 0 && ( +
+ {results.map((result, position) => ( +
+ +
+ ))} +
+ )} + {hasMoreResults && ( + // Mobile replaces numbered pagination with incremental loading. +
+ +
+ )} + + ); +}; + interface ResultsCountSummaryProps { searchState: SearchState; resultCount: number; diff --git a/packages/visual-editor/src/components/header/HeaderLinks.tsx b/packages/visual-editor/src/components/header/HeaderLinks.tsx index 23300f6906..71d462a63f 100644 --- a/packages/visual-editor/src/components/header/HeaderLinks.tsx +++ b/packages/visual-editor/src/components/header/HeaderLinks.tsx @@ -9,13 +9,13 @@ import { TranslatableCTA } from "../../types/types.ts"; import { useDocument } from "../../hooks/useDocument.tsx"; import { useOverflow } from "../../hooks/useOverflow.ts"; import { usePreviewWindow } from "../../hooks/usePreviewWindow.ts"; +import { getViewport, useWindowWidth } from "../../hooks/useViewport.ts"; import { YextAutoField } from "../../fields/YextAutoField.tsx"; import { linkTypeOptions } from "../../internal/puck/constant-value-fields/CallToAction.tsx"; import { useExpandedHeaderMenu, useHeaderLinksDisplayMode, } from "./ExpandedHeaderMenuContext.tsx"; -import { getHeaderViewport } from "./viewport.ts"; import { ThemeColor, ThemeOptions } from "../../utils/themeConfigOptions.ts"; import { BodyProps } from "../atoms/body.tsx"; import { isNonNormalizableLinkType } from "../../utils/normalizeLink.ts"; @@ -182,20 +182,6 @@ const headerLinksFields: YextFields = { }, }; -const useWindowWidth = (externalWindow?: Window | null) => { - const [width, setWidth] = React.useState(externalWindow?.innerWidth ?? 1024); - - React.useLayoutEffect(() => { - const win = externalWindow || window; - const handleResize = () => setWidth(win.innerWidth); - handleResize(); - win.addEventListener("resize", handleResize); - return () => win.removeEventListener("resize", handleResize); - }, [externalWindow]); - - return width; -}; - const HeaderLinksComponent: PuckComponent = ({ data, styles, @@ -212,7 +198,7 @@ const HeaderLinksComponent: PuckComponent = ({ const menuContext = useExpandedHeaderMenu(); const windowWidth = useWindowWidth(previewWindow); - const { isMobile, isDesktop } = getHeaderViewport(windowWidth); + const { isMobile, isDesktop } = getViewport(windowWidth); const isOverflow = useOverflow(navRef, measureContainerRef, 0); const type = parentData?.type || "Primary"; diff --git a/packages/visual-editor/src/components/header/PrimaryHeaderSlot.tsx b/packages/visual-editor/src/components/header/PrimaryHeaderSlot.tsx index 028a36da79..2ab76ac72b 100644 --- a/packages/visual-editor/src/components/header/PrimaryHeaderSlot.tsx +++ b/packages/visual-editor/src/components/header/PrimaryHeaderSlot.tsx @@ -16,6 +16,7 @@ import { PageSection, PageSectionProps } from "../atoms/pageSection.tsx"; import { resolveComponentData } from "../../utils/resolveComponentData.tsx"; import { useOverflow } from "../../hooks/useOverflow.ts"; import { usePreviewWindow } from "../../hooks/usePreviewWindow.ts"; +import { getViewport } from "../../hooks/useViewport.ts"; import * as React from "react"; import { useTranslation } from "react-i18next"; import { FaBars, FaTimes } from "react-icons/fa"; @@ -24,7 +25,6 @@ import { HeaderLinksDisplayModeProvider, useExpandedHeaderMenu, } from "./ExpandedHeaderMenuContext.tsx"; -import { getHeaderViewport } from "./viewport.ts"; import { SlidePanel } from "./SlidePanel.tsx"; import { type YextCTAField } from "../../fields/CTASelectorField.tsx"; import { YextComponentConfig, YextFields } from "../../fields/fields.ts"; @@ -142,7 +142,7 @@ const PrimaryHeaderSlotWrapper: PuckComponent = ({ const showCTAs = puck.isEditing || conditionalRender?.CTAs; const showNavContent = puck.isEditing || conditionalRender?.navContent; - const { isTablet, isDesktop } = getHeaderViewport(layout.viewportWidth); + const { isTablet, isDesktop } = getViewport(layout.viewportWidth); const primaryOverflow = useOverflow( containerRef, diff --git a/packages/visual-editor/src/components/header/viewport.ts b/packages/visual-editor/src/components/header/viewport.ts deleted file mode 100644 index 11814aeda2..0000000000 --- a/packages/visual-editor/src/components/header/viewport.ts +++ /dev/null @@ -1,16 +0,0 @@ -export const HEADER_BREAKPOINTS = { - md: 768, - lg: 1024, -} as const; - -export const getHeaderViewport = (width: number) => { - const isMobile = width < HEADER_BREAKPOINTS.md; - const isDesktop = width >= HEADER_BREAKPOINTS.lg; - const isTablet = !isMobile && !isDesktop; - - return { - isMobile, - isTablet, - isDesktop, - }; -}; diff --git a/packages/visual-editor/src/components/testing/screenshots/PhotoGallerySection/[desktop] version 59 with showSectionHeading false.png b/packages/visual-editor/src/components/testing/screenshots/PhotoGallerySection/[desktop] version 59 with showSectionHeading false.png index b9bf47805f..78479fbdf2 100644 Binary files a/packages/visual-editor/src/components/testing/screenshots/PhotoGallerySection/[desktop] version 59 with showSectionHeading false.png and b/packages/visual-editor/src/components/testing/screenshots/PhotoGallerySection/[desktop] version 59 with showSectionHeading false.png differ diff --git a/packages/visual-editor/src/hooks/useViewport.ts b/packages/visual-editor/src/hooks/useViewport.ts new file mode 100644 index 0000000000..b379f68aef --- /dev/null +++ b/packages/visual-editor/src/hooks/useViewport.ts @@ -0,0 +1,35 @@ +import * as React from "react"; + +export const VIEWPORT_BREAKPOINTS = { + md: 768, + lg: 1024, +} as const; + +export const getViewport = (width: number) => { + const isMobile = width < VIEWPORT_BREAKPOINTS.md; + const isDesktop = width >= VIEWPORT_BREAKPOINTS.lg; + const isTablet = !isMobile && !isDesktop; + + return { + isMobile, + isTablet, + isDesktop, + }; +}; + +export const useWindowWidth = (externalWindow?: Window | null) => { + const [width, setWidth] = React.useState(externalWindow?.innerWidth ?? 1024); + + React.useLayoutEffect(() => { + const targetWindow = externalWindow || window; + const handleResize = () => setWidth(targetWindow.innerWidth); + handleResize(); + targetWindow.addEventListener("resize", handleResize); + + return () => { + targetWindow.removeEventListener("resize", handleResize); + }; + }, [externalWindow]); + + return width; +};