diff --git a/gulpfile.js b/gulpfile.js index 48b6e9d..aa43e87 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -75,6 +75,7 @@ function clean(cb) { plugin.public + '/**', '!' + plugin.public, '!' + plugin.public + '/galette_maps.css', + '!' + plugin.public + '/galette_maps.js', plugin.public + '/images/**', '!' + plugin.public + '/images', '!' + plugin.public + '/images/marker-galette.png', diff --git a/lang/ar.utf8/LC_MESSAGES/maps.mo b/lang/ar.utf8/LC_MESSAGES/maps.mo index 657e28f..42628cf 100644 Binary files a/lang/ar.utf8/LC_MESSAGES/maps.mo and b/lang/ar.utf8/LC_MESSAGES/maps.mo differ diff --git a/lang/de_DE.utf8/LC_MESSAGES/maps.mo b/lang/de_DE.utf8/LC_MESSAGES/maps.mo index 2540269..210ff47 100644 Binary files a/lang/de_DE.utf8/LC_MESSAGES/maps.mo and b/lang/de_DE.utf8/LC_MESSAGES/maps.mo differ diff --git a/lang/en_US/LC_MESSAGES/maps.mo b/lang/en_US/LC_MESSAGES/maps.mo index 7fa875b..f923b00 100644 Binary files a/lang/en_US/LC_MESSAGES/maps.mo and b/lang/en_US/LC_MESSAGES/maps.mo differ diff --git a/lang/es.utf8/LC_MESSAGES/maps.mo b/lang/es.utf8/LC_MESSAGES/maps.mo index bcc5a79..2e3840d 100644 Binary files a/lang/es.utf8/LC_MESSAGES/maps.mo and b/lang/es.utf8/LC_MESSAGES/maps.mo differ diff --git a/lang/fr_FR.utf8/LC_MESSAGES/maps.mo b/lang/fr_FR.utf8/LC_MESSAGES/maps.mo index b7e9d34..9da5984 100644 Binary files a/lang/fr_FR.utf8/LC_MESSAGES/maps.mo and b/lang/fr_FR.utf8/LC_MESSAGES/maps.mo differ diff --git a/lang/it_IT.utf8/LC_MESSAGES/maps.mo b/lang/it_IT.utf8/LC_MESSAGES/maps.mo index 406bd95..9d26c6d 100644 Binary files a/lang/it_IT.utf8/LC_MESSAGES/maps.mo and b/lang/it_IT.utf8/LC_MESSAGES/maps.mo differ diff --git a/lang/maps.pot b/lang/maps.pot index 32bcf25..f4ffd5b 100644 --- a/lang/maps.pot +++ b/lang/maps.pot @@ -33,8 +33,10 @@ msgid "" "database?" msgstr "" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" +#, php-format +msgid "%1$s geographic position" msgstr "" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 @@ -117,8 +119,10 @@ msgstr "" msgid "Geolocalize" msgstr "" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" +#, php-format +msgid "Geolocalize %1$s" msgstr "" #: ../templates/default/maps.html.twig:28 @@ -209,7 +213,8 @@ msgid "Choose your location" msgstr "" #: ../templates/default/mymap.html.twig:18 -msgid "Choose %member location" +#, php-format +msgid "Choose %1$s location" msgstr "" #: ../templates/default/mymap.html.twig:23 @@ -217,11 +222,13 @@ msgid "Select your town." msgstr "" #: ../templates/default/mymap.html.twig:24 -msgid "In the database, town is set to: '%town'" +#, php-format +msgid "In the database, town is set to: '%1$s'" msgstr "" #: ../templates/default/mymap.html.twig:80 -msgid "You clicked at %p" +#, php-format +msgid "You clicked at %1$s" msgstr "" #: ../templates/default/mymap.html.twig:80 ../templates/default/mymap.html.twig:153 diff --git a/lang/maps_ar.utf8.po b/lang/maps_ar.utf8.po index da69739..38a5cc4 100644 --- a/lang/maps_ar.utf8.po +++ b/lang/maps_ar.utf8.po @@ -33,8 +33,10 @@ msgid "" "database?" msgstr "" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" +#, php-format +msgid "%1$s geographic position" msgstr "" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 @@ -125,9 +127,11 @@ msgstr "موضعي" msgid "Geolocalize" msgstr "تحديد الموقع" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" -msgstr "تحديد موقع %membername" +#, php-format +msgid "Geolocalize %1$s" +msgstr "تحديد موقع %1$s" #: ../tempcache/maps.html.twig:115 msgid "aka" @@ -219,7 +223,8 @@ msgid "Choose your location" msgstr "اختر موقعك" #: ../tempcache/mymap.html.twig:79 -msgid "Choose %member location" +#, php-format +msgid "Choose %1$s location" msgstr "" #: ../tempcache/mymap.html.twig:89 @@ -227,11 +232,13 @@ msgid "Select your town." msgstr "" #: ../tempcache/mymap.html.twig:93 -msgid "In the database, town is set to: '%town'" +#, php-format +msgid "In the database, town is set to: '%1$s'" msgstr "" #: ../tempcache/mymap.html.twig:188 -msgid "You clicked at %p" +#, php-format +msgid "You clicked at %1$s" msgstr "" #: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312 diff --git a/lang/maps_br.utf8.po b/lang/maps_br.utf8.po index a779283..0f1d3d3 100644 --- a/lang/maps_br.utf8.po +++ b/lang/maps_br.utf8.po @@ -28,8 +28,10 @@ msgid "" "database?" msgstr "" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" +#, php-format +msgid "%1$s geographic position" msgstr "" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 @@ -112,8 +114,10 @@ msgstr "" msgid "Geolocalize" msgstr "" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" +#, php-format +msgid "Geolocalize %1$s" msgstr "" #: ../tempcache/maps.html.twig:115 @@ -204,7 +208,8 @@ msgid "Choose your location" msgstr "" #: ../tempcache/mymap.html.twig:79 -msgid "Choose %member location" +#, php-format +msgid "Choose %1$s location" msgstr "" #: ../tempcache/mymap.html.twig:89 @@ -212,11 +217,13 @@ msgid "Select your town." msgstr "" #: ../tempcache/mymap.html.twig:93 -msgid "In the database, town is set to: '%town'" +#, php-format +msgid "In the database, town is set to: '%1$s'" msgstr "" #: ../tempcache/mymap.html.twig:188 -msgid "You clicked at %p" +#, php-format +msgid "You clicked at %1$s" msgstr "" #: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312 diff --git a/lang/maps_ca.utf8.po b/lang/maps_ca.utf8.po index d2efcf8..f53c448 100644 --- a/lang/maps_ca.utf8.po +++ b/lang/maps_ca.utf8.po @@ -32,8 +32,10 @@ msgid "" "database?" msgstr "" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" +#, php-format +msgid "%1$s geographic position" msgstr "" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 @@ -124,8 +126,10 @@ msgstr "La meva localització" msgid "Geolocalize" msgstr "" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" +#, php-format +msgid "Geolocalize %1$s" msgstr "" #: ../tempcache/maps.html.twig:115 @@ -216,7 +220,8 @@ msgid "Choose your location" msgstr "" #: ../tempcache/mymap.html.twig:79 -msgid "Choose %member location" +#, php-format +msgid "Choose %1$s location" msgstr "" #: ../tempcache/mymap.html.twig:89 @@ -224,11 +229,13 @@ msgid "Select your town." msgstr "" #: ../tempcache/mymap.html.twig:93 -msgid "In the database, town is set to: '%town'" +#, php-format +msgid "In the database, town is set to: '%1$s'" msgstr "" #: ../tempcache/mymap.html.twig:188 -msgid "You clicked at %p" +#, php-format +msgid "You clicked at %1$s" msgstr "" #: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312 diff --git a/lang/maps_de_DE.utf8.po b/lang/maps_de_DE.utf8.po index 56ce080..79413aa 100644 --- a/lang/maps_de_DE.utf8.po +++ b/lang/maps_de_DE.utf8.po @@ -38,9 +38,11 @@ msgstr "" "Die Koordinaten konnten nicht geladen werden, vielleicht existieren die " "Plugin-Tabellen in der Datenbank noch nicht?" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" -msgstr "%member geographische Position" +#, php-format +msgid "%1$s geographic position" +msgstr "%1$s geographische Position" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 #: ../lib/GaletteMaps/PluginGaletteMaps.php:60 @@ -130,9 +132,11 @@ msgstr "Meine Lokalisierung" msgid "Geolocalize" msgstr "Geolokalisieren" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" -msgstr "Geolokalisiere %membername" +#, php-format +msgid "Geolocalize %1$s" +msgstr "Geolokalisiere %1$s" #: ../tempcache/maps.html.twig:115 msgid "aka" @@ -224,20 +228,23 @@ msgid "Choose your location" msgstr "Wähle deinen Standort" #: ../tempcache/mymap.html.twig:79 -msgid "Choose %member location" -msgstr "Wählen Sie %member Standort" +#, php-format +msgid "Choose %1$s location" +msgstr "Wählen Sie %1$s Standort" #: ../tempcache/mymap.html.twig:89 msgid "Select your town." msgstr "Wählen Sie Ihre Stadt aus." #: ../tempcache/mymap.html.twig:93 -msgid "In the database, town is set to: '%town'" -msgstr "In der Datenbank ist Stadt auf: '%town' eingestellt" +#, php-format +msgid "In the database, town is set to: '%1$s'" +msgstr "In der Datenbank ist Stadt auf: '%1$s' eingestellt" #: ../tempcache/mymap.html.twig:188 -msgid "You clicked at %p" -msgstr "Sie haben auf %p geklickt" +#, php-format +msgid "You clicked at %1$s" +msgstr "Sie haben auf %1$s geklickt" #: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312 #: ../tempcache/mymap.html.twig:341 diff --git a/lang/maps_en_US.po b/lang/maps_en_US.po index c72d408..c2320a5 100644 --- a/lang/maps_en_US.po +++ b/lang/maps_en_US.po @@ -35,9 +35,11 @@ msgstr "" "Coordinates has not been loaded. Maybe plugin tables does not exists in the " "database?" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" -msgstr "%member geographic position" +#, php-format +msgid "%1$s geographic position" +msgstr "%1$s geographic position" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 #: ../lib/GaletteMaps/PluginGaletteMaps.php:60 @@ -119,9 +121,11 @@ msgstr "My localization" msgid "Geolocalize" msgstr "Geolocalize" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" -msgstr "Geolocalize %membername" +#, php-format +msgid "Geolocalize %1$s" +msgstr "Geolocalize %1$s" #: ../templates/default/maps.html.twig:28 msgid "aka" @@ -215,20 +219,23 @@ msgid "Choose your location" msgstr "Choose your location" #: ../templates/default/mymap.html.twig:18 -msgid "Choose %member location" -msgstr "Choose %member location" +#, php-format +msgid "Choose %1$s location" +msgstr "Choose %1$s location" #: ../templates/default/mymap.html.twig:23 msgid "Select your town." msgstr "Select your town." #: ../templates/default/mymap.html.twig:24 -msgid "In the database, town is set to: '%town'" -msgstr "In the database, town is set to: '%town'" +#, php-format +msgid "In the database, town is set to: '%1$s'" +msgstr "In the database, town is set to: '%1$s'" #: ../templates/default/mymap.html.twig:80 -msgid "You clicked at %p" -msgstr "You clicked at %p" +#, php-format +msgid "You clicked at %1$s" +msgstr "You clicked at %1$s" #: ../templates/default/mymap.html.twig:80 #: ../templates/default/mymap.html.twig:153 diff --git a/lang/maps_es.utf8.po b/lang/maps_es.utf8.po index 9a144f6..0758848 100644 --- a/lang/maps_es.utf8.po +++ b/lang/maps_es.utf8.po @@ -39,9 +39,11 @@ msgstr "" "No se han cargado las coordenadas. ¿Quizá las tablas del complemento no " "existen en la base de datos?" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" -msgstr "Posición geográfica de %member" +#, php-format +msgid "%1$s geographic position" +msgstr "Posición geográfica de %1$s" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 #: ../lib/GaletteMaps/PluginGaletteMaps.php:60 @@ -131,9 +133,11 @@ msgstr "Mi localización" msgid "Geolocalize" msgstr "Geolocalizar" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" -msgstr "Geolocalizar %membername" +#, php-format +msgid "Geolocalize %1$s" +msgstr "Geolocalizar %1$s" #: ../tempcache/maps.html.twig:115 msgid "aka" @@ -223,20 +227,23 @@ msgid "Choose your location" msgstr "Escoge tu ubicación" #: ../tempcache/mymap.html.twig:79 -msgid "Choose %member location" -msgstr "Escoge la ubicación de %member" +#, php-format +msgid "Choose %1$s location" +msgstr "Escoge la ubicación de %1$s" #: ../tempcache/mymap.html.twig:89 msgid "Select your town." msgstr "Escoge tu población." #: ../tempcache/mymap.html.twig:93 -msgid "In the database, town is set to: '%town'" -msgstr "En la base de datos, la población está indicada como: '%town'" +#, php-format +msgid "In the database, town is set to: '%1$s'" +msgstr "En la base de datos, la población está indicada como: '%1$s'" #: ../tempcache/mymap.html.twig:188 -msgid "You clicked at %p" -msgstr "Has pulsado en %p" +#, php-format +msgid "You clicked at %1$s" +msgstr "Has pulsado en %1$s" #: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312 #: ../tempcache/mymap.html.twig:341 diff --git a/lang/maps_fr_FR.utf8.po b/lang/maps_fr_FR.utf8.po index 57a5ce2..3c284a3 100644 --- a/lang/maps_fr_FR.utf8.po +++ b/lang/maps_fr_FR.utf8.po @@ -36,9 +36,11 @@ msgstr "" "Les coordonnées n'ont pas été chargées. Peut-être les tables du plugin " "n'existent-elles pas dans la base de données ?" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" -msgstr "Position géographique de %member" +#, php-format +msgid "%1$s geographic position" +msgstr "Position géographique de %1$s" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 #: ../lib/GaletteMaps/PluginGaletteMaps.php:60 @@ -120,9 +122,11 @@ msgstr "Ma localisation" msgid "Geolocalize" msgstr "Géolocaliser" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" -msgstr "Géolocaliser %membername" +#, php-format +msgid "Geolocalize %1$s" +msgstr "Géolocaliser %1$s" #: ../tempcache/maps.html.twig:115 msgid "aka" @@ -219,20 +223,23 @@ msgid "Choose your location" msgstr "Choisissez votre localisation" #: ../tempcache/mymap.html.twig:79 -msgid "Choose %member location" -msgstr "Choisissez la localisation de %member" +#, php-format +msgid "Choose %1$s location" +msgstr "Choisissez la localisation de %1$s" #: ../tempcache/mymap.html.twig:89 msgid "Select your town." msgstr "Sélectionnez votre ville." #: ../tempcache/mymap.html.twig:93 -msgid "In the database, town is set to: '%town'" -msgstr "Dans la base, la ville définie est « %town »" +#, php-format +msgid "In the database, town is set to: '%1$s'" +msgstr "Dans la base, la ville définie est « %1$s »" #: ../tempcache/mymap.html.twig:188 -msgid "You clicked at %p" -msgstr "Vous avez cliqué à %p" +#, php-format +msgid "You clicked at %1$s" +msgstr "Vous avez cliqué à %1$s" #: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312 #: ../tempcache/mymap.html.twig:341 diff --git a/lang/maps_it_IT.utf8.po b/lang/maps_it_IT.utf8.po index 6fd6f3b..53d65d8 100644 --- a/lang/maps_it_IT.utf8.po +++ b/lang/maps_it_IT.utf8.po @@ -37,9 +37,11 @@ msgstr "" "Le coordinate non sono state caricate. Forse le tabelle dei plugin non " "esistono nel database?" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" -msgstr "Posizione geografica del %member" +#, php-format +msgid "%1$s geographic position" +msgstr "Posizione geografica del %1$s" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 #: ../lib/GaletteMaps/PluginGaletteMaps.php:60 @@ -129,9 +131,11 @@ msgstr "La mia localizzazione" msgid "Geolocalize" msgstr "Geolocalizza" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" -msgstr "Geolocalizza %nomeutente" +#, php-format +msgid "Geolocalize %1$s" +msgstr "Geolocalizza %1$s" #: ../tempcache/maps.html.twig:115 msgid "aka" @@ -221,20 +225,23 @@ msgid "Choose your location" msgstr "Scegli la tua posizione" #: ../tempcache/mymap.html.twig:79 -msgid "Choose %member location" -msgstr "Scegli posizione del %member" +#, php-format +msgid "Choose %1$s location" +msgstr "Scegli posizione del %1$s" #: ../tempcache/mymap.html.twig:89 msgid "Select your town." msgstr "Seleziona la tua città." #: ../tempcache/mymap.html.twig:93 -msgid "In the database, town is set to: '%town'" -msgstr "Nel database, la città è impostata su: '%town'" +#, php-format +msgid "In the database, town is set to: '%1$s'" +msgstr "Nel database, la città è impostata su: '%1$s'" #: ../tempcache/mymap.html.twig:188 -msgid "You clicked at %p" -msgstr "Hai fatto clic su %p" +#, php-format +msgid "You clicked at %1$s" +msgstr "Hai fatto clic su %1$s" #: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312 #: ../tempcache/mymap.html.twig:341 diff --git a/lang/maps_nb_NO.utf8.po b/lang/maps_nb_NO.utf8.po index 827f426..aeccd8f 100644 --- a/lang/maps_nb_NO.utf8.po +++ b/lang/maps_nb_NO.utf8.po @@ -28,8 +28,10 @@ msgid "" "database?" msgstr "" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" +#, php-format +msgid "%1$s geographic position" msgstr "" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 @@ -112,8 +114,10 @@ msgstr "" msgid "Geolocalize" msgstr "" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" +#, php-format +msgid "Geolocalize %1$s" msgstr "" #: ../tempcache/maps.html.twig:115 @@ -204,7 +208,8 @@ msgid "Choose your location" msgstr "" #: ../tempcache/mymap.html.twig:79 -msgid "Choose %member location" +#, php-format +msgid "Choose %1$s location" msgstr "" #: ../tempcache/mymap.html.twig:89 @@ -212,11 +217,13 @@ msgid "Select your town." msgstr "" #: ../tempcache/mymap.html.twig:93 -msgid "In the database, town is set to: '%town'" +#, php-format +msgid "In the database, town is set to: '%1$s'" msgstr "" #: ../tempcache/mymap.html.twig:188 -msgid "You clicked at %p" +#, php-format +msgid "You clicked at %1$s" msgstr "" #: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312 diff --git a/lang/maps_oc.utf8.po b/lang/maps_oc.utf8.po index f129c22..3e49383 100644 --- a/lang/maps_oc.utf8.po +++ b/lang/maps_oc.utf8.po @@ -32,8 +32,10 @@ msgid "" "database?" msgstr "" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" +#, php-format +msgid "%1$s geographic position" msgstr "" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 @@ -116,8 +118,10 @@ msgstr "" msgid "Geolocalize" msgstr "" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" +#, php-format +msgid "Geolocalize %1$s" msgstr "" #: ../tempcache/maps.html.twig:115 @@ -208,7 +212,8 @@ msgid "Choose your location" msgstr "" #: ../tempcache/mymap.html.twig:79 -msgid "Choose %member location" +#, php-format +msgid "Choose %1$s location" msgstr "" #: ../tempcache/mymap.html.twig:89 @@ -216,11 +221,13 @@ msgid "Select your town." msgstr "" #: ../tempcache/mymap.html.twig:93 -msgid "In the database, town is set to: '%town'" +#, php-format +msgid "In the database, town is set to: '%1$s'" msgstr "" #: ../tempcache/mymap.html.twig:188 -msgid "You clicked at %p" +#, php-format +msgid "You clicked at %1$s" msgstr "" #: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312 diff --git a/lang/maps_ota.utf8.po b/lang/maps_ota.utf8.po index 8bc5ee6..b1d9733 100644 --- a/lang/maps_ota.utf8.po +++ b/lang/maps_ota.utf8.po @@ -28,8 +28,10 @@ msgid "" "database?" msgstr "" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" +#, php-format +msgid "%1$s geographic position" msgstr "" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 @@ -112,8 +114,10 @@ msgstr "" msgid "Geolocalize" msgstr "" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" +#, php-format +msgid "Geolocalize %1$s" msgstr "" #: ../tempcache/maps.html.twig:115 @@ -204,7 +208,8 @@ msgid "Choose your location" msgstr "" #: ../tempcache/mymap.html.twig:79 -msgid "Choose %member location" +#, php-format +msgid "Choose %1$s location" msgstr "" #: ../tempcache/mymap.html.twig:89 @@ -212,11 +217,13 @@ msgid "Select your town." msgstr "" #: ../tempcache/mymap.html.twig:93 -msgid "In the database, town is set to: '%town'" +#, php-format +msgid "In the database, town is set to: '%1$s'" msgstr "" #: ../tempcache/mymap.html.twig:188 -msgid "You clicked at %p" +#, php-format +msgid "You clicked at %1$s" msgstr "" #: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312 diff --git a/lang/maps_pt.utf8.po b/lang/maps_pt.utf8.po index ac4c271..56c64ec 100644 --- a/lang/maps_pt.utf8.po +++ b/lang/maps_pt.utf8.po @@ -39,9 +39,11 @@ msgstr "" "As coordenadas não foram carregadas. Talvez as tabelas do plugin não existam " "na base de dados ?" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" -msgstr "%member geográfica do membro" +#, php-format +msgid "%1$s geographic position" +msgstr "%1$s geográfica do membro" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 #: ../lib/GaletteMaps/PluginGaletteMaps.php:60 @@ -131,9 +133,11 @@ msgstr "Minha localização" msgid "Geolocalize" msgstr "Geolocalizar" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" -msgstr "Geolocalizar %membername" +#, php-format +msgid "Geolocalize %1$s" +msgstr "Geolocalizar %1$s" #: ../tempcache/maps.html.twig:115 msgid "aka" @@ -223,7 +227,8 @@ msgid "Choose your location" msgstr "Escolha sua localização" #: ../tempcache/mymap.html.twig:79 -msgid "Choose %member location" +#, fuzzy, php-format +msgid "Choose %1$s location" msgstr "Selecione a localização do membro" #: ../tempcache/mymap.html.twig:89 @@ -231,12 +236,14 @@ msgid "Select your town." msgstr "Selecione sua cidade." #: ../tempcache/mymap.html.twig:93 -msgid "In the database, town is set to: '%town'" -msgstr "No banco de dados, a cidade está definida como: '%town'" +#, php-format +msgid "In the database, town is set to: '%1$s'" +msgstr "No banco de dados, a cidade está definida como: '%1$s'" #: ../tempcache/mymap.html.twig:188 -msgid "You clicked at %p" -msgstr "Você clicou em %p" +#, php-format +msgid "You clicked at %1$s" +msgstr "Você clicou em %1$s" #: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312 #: ../tempcache/mymap.html.twig:341 diff --git a/lang/maps_pt_BR.utf8.po b/lang/maps_pt_BR.utf8.po index f375650..54c8f7d 100644 --- a/lang/maps_pt_BR.utf8.po +++ b/lang/maps_pt_BR.utf8.po @@ -36,9 +36,11 @@ msgstr "" "As coordenadas não foram carregadas. Talvez as tabelas do plugin não existam " "no banco de dados?" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" -msgstr "%member geográfica do membro" +#, php-format +msgid "%1$s geographic position" +msgstr "%1$s geográfica do membro" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 #: ../lib/GaletteMaps/PluginGaletteMaps.php:60 @@ -128,9 +130,11 @@ msgstr "Minha localização" msgid "Geolocalize" msgstr "Geolocalização" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" -msgstr "Geolocalização do %membername" +#, php-format +msgid "Geolocalize %1$s" +msgstr "Geolocalização do %1$s" #: ../tempcache/maps.html.twig:115 msgid "aka" @@ -220,20 +224,23 @@ msgid "Choose your location" msgstr "Escolha sua localização" #: ../tempcache/mymap.html.twig:79 -msgid "Choose %member location" -msgstr "Selecione a localização do %member" +#, php-format +msgid "Choose %1$s location" +msgstr "Selecione a localização do %1$s" #: ../tempcache/mymap.html.twig:89 msgid "Select your town." msgstr "Selecione sua cidade." #: ../tempcache/mymap.html.twig:93 -msgid "In the database, town is set to: '%town'" -msgstr "No banco de dados, a cidade está definida como: '%town'" +#, php-format +msgid "In the database, town is set to: '%1$s'" +msgstr "No banco de dados, a cidade está definida como: '%1$s'" #: ../tempcache/mymap.html.twig:188 -msgid "You clicked at %p" -msgstr "Você clicou em %p" +#, php-format +msgid "You clicked at %1$s" +msgstr "Você clicou em %1$s" #: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312 #: ../tempcache/mymap.html.twig:341 diff --git a/lang/maps_ru.utf8.po b/lang/maps_ru.utf8.po index f610b56..68e122b 100644 --- a/lang/maps_ru.utf8.po +++ b/lang/maps_ru.utf8.po @@ -37,9 +37,11 @@ msgstr "" "Координаты не были загружены. Возможно, таблицы плагина не существует в базе " "данных?" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" -msgstr "%member географическое положение" +#, php-format +msgid "%1$s geographic position" +msgstr "%1$s географическое положение" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 #: ../lib/GaletteMaps/PluginGaletteMaps.php:60 @@ -129,9 +131,11 @@ msgstr "Моя локализация" msgid "Geolocalize" msgstr "Геолокализация" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" -msgstr "Геолокализация %membername" +#, php-format +msgid "Geolocalize %1$s" +msgstr "Геолокализация %1$s" #: ../tempcache/maps.html.twig:115 msgid "aka" @@ -223,20 +227,23 @@ msgid "Choose your location" msgstr "Выберите местоположение" #: ../tempcache/mymap.html.twig:79 -msgid "Choose %member location" -msgstr "Выберите местоположение %member" +#, php-format +msgid "Choose %1$s location" +msgstr "Выберите местоположение %1$s" #: ../tempcache/mymap.html.twig:89 msgid "Select your town." msgstr "Выберите свой город." #: ../tempcache/mymap.html.twig:93 -msgid "In the database, town is set to: '%town'" -msgstr "В базе данных город имеет значение: '%town'" +#, php-format +msgid "In the database, town is set to: '%1$s'" +msgstr "В базе данных город имеет значение: '%1$s'" #: ../tempcache/mymap.html.twig:188 -msgid "You clicked at %p" -msgstr "Вы нажали на %p" +#, php-format +msgid "You clicked at %1$s" +msgstr "Вы нажали на %1$s" #: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312 #: ../tempcache/mymap.html.twig:341 diff --git a/lang/maps_si.utf8.po b/lang/maps_si.utf8.po index 8f759c3..3fb3292 100644 --- a/lang/maps_si.utf8.po +++ b/lang/maps_si.utf8.po @@ -28,8 +28,10 @@ msgid "" "database?" msgstr "" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" +#, php-format +msgid "%1$s geographic position" msgstr "" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 @@ -112,8 +114,10 @@ msgstr "" msgid "Geolocalize" msgstr "" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" +#, php-format +msgid "Geolocalize %1$s" msgstr "" #: ../tempcache/maps.html.twig:115 @@ -204,7 +208,8 @@ msgid "Choose your location" msgstr "" #: ../tempcache/mymap.html.twig:79 -msgid "Choose %member location" +#, php-format +msgid "Choose %1$s location" msgstr "" #: ../tempcache/mymap.html.twig:89 @@ -212,11 +217,13 @@ msgid "Select your town." msgstr "" #: ../tempcache/mymap.html.twig:93 -msgid "In the database, town is set to: '%town'" +#, php-format +msgid "In the database, town is set to: '%1$s'" msgstr "" #: ../tempcache/mymap.html.twig:188 -msgid "You clicked at %p" +#, php-format +msgid "You clicked at %1$s" msgstr "" #: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312 diff --git a/lang/maps_sl.utf8.po b/lang/maps_sl.utf8.po index de7b95b..4cfc8ff 100644 --- a/lang/maps_sl.utf8.po +++ b/lang/maps_sl.utf8.po @@ -37,8 +37,10 @@ msgstr "" "Koordinate niso bile naložene. Morda tabele vtičnikov ne obstajajo v zbirki " "podatkov?" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" +#, fuzzy, php-format +msgid "%1$s geographic position" msgstr "% geografski položaj člana" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 @@ -121,9 +123,11 @@ msgstr "Moja lokalizacija" msgid "Geolocalize" msgstr "Geolokaliziraj" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" -msgstr "Geolokaliziraj %membername" +#, php-format +msgid "Geolocalize %1$s" +msgstr "Geolokaliziraj %1$s" #: ../tempcache/maps.html.twig:115 msgid "aka" @@ -216,20 +220,23 @@ msgid "Choose your location" msgstr "Izberite svojo lokacijo" #: ../tempcache/mymap.html.twig:79 -msgid "Choose %member location" -msgstr "Izberite lokacijo %member" +#, php-format +msgid "Choose %1$s location" +msgstr "Izberite lokacijo %1$s" #: ../tempcache/mymap.html.twig:89 msgid "Select your town." msgstr "Izberite svoje mesto." #: ../tempcache/mymap.html.twig:93 -msgid "In the database, town is set to: '%town'" -msgstr "V podatkovni bazi je mesto nastavljeno na: '%town'" +#, php-format +msgid "In the database, town is set to: '%1$s'" +msgstr "V podatkovni bazi je mesto nastavljeno na: '%1$s'" #: ../tempcache/mymap.html.twig:188 -msgid "You clicked at %p" -msgstr "Kliknili ste ob %p" +#, php-format +msgid "You clicked at %1$s" +msgstr "Kliknili ste ob %1$s" #: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312 #: ../tempcache/mymap.html.twig:341 diff --git a/lang/maps_ta.utf8.po b/lang/maps_ta.utf8.po index 82d0d68..703304d 100644 --- a/lang/maps_ta.utf8.po +++ b/lang/maps_ta.utf8.po @@ -36,9 +36,11 @@ msgid "" "database?" msgstr "ஒருங்கிணைப்புகள் ஏற்றப்படவில்லை. தரவுத்தளத்தில் சொருகி அட்டவணைகள் இல்லை?" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" -msgstr "%உறுப்பினர் புவியியல் நிலை" +#, php-format +msgid "%1$s geographic position" +msgstr "%1$s புவியியல் நிலை" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 #: ../lib/GaletteMaps/PluginGaletteMaps.php:60 @@ -128,9 +130,11 @@ msgstr "எனது உள்ளூராக்கல்" msgid "Geolocalize" msgstr "சியோலோகலைச்" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" -msgstr "Jeolocalize %membername" +#, php-format +msgid "Geolocalize %1$s" +msgstr "Jeolocalize %1$s" #: ../tempcache/maps.html.twig:115 msgid "aka" @@ -220,20 +224,23 @@ msgid "Choose your location" msgstr "உங்கள் இருப்பிடத்தைத் தேர்வுசெய்க" #: ../tempcache/mymap.html.twig:79 -msgid "Choose %member location" -msgstr "%உறுப்பினர் இருப்பிடத்தைத் தேர்வுசெய்க" +#, php-format +msgid "Choose %1$s location" +msgstr "%1$s இருப்பிடத்தைத் தேர்வுசெய்க" #: ../tempcache/mymap.html.twig:89 msgid "Select your town." msgstr "உங்கள் ஊரைத் தேர்ந்தெடுக்கவும்." #: ../tempcache/mymap.html.twig:93 -msgid "In the database, town is set to: '%town'" -msgstr "தரவுத்தளத்தில், நகரம் இதற்கு அமைக்கப்பட்டுள்ளது: '%நகரம்'" +#, php-format +msgid "In the database, town is set to: '%1$s'" +msgstr "தரவுத்தளத்தில், நகரம் இதற்கு அமைக்கப்பட்டுள்ளது: '%1$s'" #: ../tempcache/mymap.html.twig:188 -msgid "You clicked at %p" -msgstr "நீங்கள் %ப" +#, php-format +msgid "You clicked at %1$s" +msgstr "நீங்கள் %1$s" #: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312 #: ../tempcache/mymap.html.twig:341 diff --git a/lang/maps_tr.utf8.po b/lang/maps_tr.utf8.po index 90bde6e..5863fc0 100644 --- a/lang/maps_tr.utf8.po +++ b/lang/maps_tr.utf8.po @@ -33,9 +33,11 @@ msgid "" "database?" msgstr "Koordinatlar yüklenmedi. Plugin tabloları veritabanında olmayabilir." +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" -msgstr "%member coğrafi posizyon" +#, php-format +msgid "%1$s geographic position" +msgstr "%1$s coğrafi posizyon" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 #: ../lib/GaletteMaps/PluginGaletteMaps.php:60 @@ -117,8 +119,10 @@ msgstr "Benim lokalizasyonum" msgid "Geolocalize" msgstr "" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" +#, php-format +msgid "Geolocalize %1$s" msgstr "" #: ../tempcache/maps.html.twig:115 @@ -211,7 +215,8 @@ msgid "Choose your location" msgstr "" #: ../tempcache/mymap.html.twig:79 -msgid "Choose %member location" +#, php-format +msgid "Choose %1$s location" msgstr "" #: ../tempcache/mymap.html.twig:89 @@ -219,11 +224,13 @@ msgid "Select your town." msgstr "" #: ../tempcache/mymap.html.twig:93 -msgid "In the database, town is set to: '%town'" +#, php-format +msgid "In the database, town is set to: '%1$s'" msgstr "" #: ../tempcache/mymap.html.twig:188 -msgid "You clicked at %p" +#, php-format +msgid "You clicked at %1$s" msgstr "" #: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312 diff --git a/lang/maps_uk.utf8.po b/lang/maps_uk.utf8.po index 0f7dbbf..e650f7c 100644 --- a/lang/maps_uk.utf8.po +++ b/lang/maps_uk.utf8.po @@ -35,9 +35,11 @@ msgid "" msgstr "" "Координати не завантажено. Можливо, таблиць додатків не існує в базі даних?" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/Controllers/MapsController.php:133 -msgid "%member geographic position" -msgstr "Географічне положення %member" +#, php-format +msgid "%1$s geographic position" +msgstr "Географічне положення %1$s" #: ../lib/GaletteMaps/Controllers/MapsController.php:170 #: ../lib/GaletteMaps/PluginGaletteMaps.php:60 @@ -127,9 +129,11 @@ msgstr "Моя локалізація" msgid "Geolocalize" msgstr "Геолокалізувати" +#. TRANS: parameter is the member name #: ../lib/GaletteMaps/PluginGaletteMaps.php:154 -msgid "Geolocalize %membername" -msgstr "Геолокалізувати %membername" +#, php-format +msgid "Geolocalize %1$s" +msgstr "Геолокалізувати %1$s" #: ../tempcache/maps.html.twig:115 msgid "aka" @@ -219,20 +223,23 @@ msgid "Choose your location" msgstr "Виберіть своє місцеперебування" #: ../tempcache/mymap.html.twig:79 -msgid "Choose %member location" -msgstr "Оберіть розташування %member" +#, php-format +msgid "Choose %1$s location" +msgstr "Оберіть розташування %1$s" #: ../tempcache/mymap.html.twig:89 msgid "Select your town." msgstr "Виберіть своє місто." #: ../tempcache/mymap.html.twig:93 -msgid "In the database, town is set to: '%town'" -msgstr "У базі даних установлено місто: '%town'" +#, php-format +msgid "In the database, town is set to: '%1$s'" +msgstr "У базі даних установлено місто: '%1$s'" #: ../tempcache/mymap.html.twig:188 -msgid "You clicked at %p" -msgstr "Ви натиснули на %p" +#, php-format +msgid "You clicked at %1$s" +msgstr "Ви натиснули на %1$s" #: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312 #: ../tempcache/mymap.html.twig:341 diff --git a/lang/pt.utf8/LC_MESSAGES/maps.mo b/lang/pt.utf8/LC_MESSAGES/maps.mo index 186ec81..78aa68c 100644 Binary files a/lang/pt.utf8/LC_MESSAGES/maps.mo and b/lang/pt.utf8/LC_MESSAGES/maps.mo differ diff --git a/lang/pt_BR.utf8/LC_MESSAGES/maps.mo b/lang/pt_BR.utf8/LC_MESSAGES/maps.mo index 4fb6e17..928759b 100644 Binary files a/lang/pt_BR.utf8/LC_MESSAGES/maps.mo and b/lang/pt_BR.utf8/LC_MESSAGES/maps.mo differ diff --git a/lang/ru.utf8/LC_MESSAGES/maps.mo b/lang/ru.utf8/LC_MESSAGES/maps.mo index da8d3cc..cf52501 100644 Binary files a/lang/ru.utf8/LC_MESSAGES/maps.mo and b/lang/ru.utf8/LC_MESSAGES/maps.mo differ diff --git a/lang/sl.utf8/LC_MESSAGES/maps.mo b/lang/sl.utf8/LC_MESSAGES/maps.mo index 3f9b74d..2684772 100644 Binary files a/lang/sl.utf8/LC_MESSAGES/maps.mo and b/lang/sl.utf8/LC_MESSAGES/maps.mo differ diff --git a/lang/ta.utf8/LC_MESSAGES/maps.mo b/lang/ta.utf8/LC_MESSAGES/maps.mo index 193c315..5027cc2 100644 Binary files a/lang/ta.utf8/LC_MESSAGES/maps.mo and b/lang/ta.utf8/LC_MESSAGES/maps.mo differ diff --git a/lang/tr.utf8/LC_MESSAGES/maps.mo b/lang/tr.utf8/LC_MESSAGES/maps.mo index c2706f9..0864e20 100644 Binary files a/lang/tr.utf8/LC_MESSAGES/maps.mo and b/lang/tr.utf8/LC_MESSAGES/maps.mo differ diff --git a/lang/uk.utf8/LC_MESSAGES/maps.mo b/lang/uk.utf8/LC_MESSAGES/maps.mo index a3ca83d..8824d7e 100644 Binary files a/lang/uk.utf8/LC_MESSAGES/maps.mo and b/lang/uk.utf8/LC_MESSAGES/maps.mo differ diff --git a/lib/GaletteMaps/Controllers/MapsController.php b/lib/GaletteMaps/Controllers/MapsController.php index 1f6f1f3..7fe2096 100644 --- a/lib/GaletteMaps/Controllers/MapsController.php +++ b/lib/GaletteMaps/Controllers/MapsController.php @@ -166,10 +166,10 @@ public function localizeMember(Request $request, Response $response, ?int $id = } $params = [ - 'page_title' => _T('Maps', 'maps') . ' - ' . str_replace( - '%member', - $member->sfullname, - _T('%member geographic position', 'maps') + 'page_title' => _T('Maps', 'maps') . ' - ' . sprintf( + //TRANS: parameter is the member name + _T('%1$s geographic position', 'maps'), + $member->sfullname ), 'member' => $member, 'can_edit' => $can_edit, diff --git a/lib/GaletteMaps/PluginGaletteMaps.php b/lib/GaletteMaps/PluginGaletteMaps.php index c6970f1..3b9d441 100644 --- a/lib/GaletteMaps/PluginGaletteMaps.php +++ b/lib/GaletteMaps/PluginGaletteMaps.php @@ -145,10 +145,10 @@ public function getListActions(Adherent $member): array return [ [ 'label' => _T("Geolocalize", "maps"), - 'title' => str_replace( - '%membername', - $member->sname, - _T("Geolocalize %membername", "maps") + 'title' => sprintf( + //TRANS: parameter is the member name + _T('Geolocalize %1$s', 'maps'), + $member->sname ), 'route' => [ 'name' => 'maps_localize_member', diff --git a/templates/default/common_html.html.twig b/templates/default/common_html.html.twig index f1b21f8..c62bee3 100644 --- a/templates/default/common_html.html.twig +++ b/templates/default/common_html.html.twig @@ -4,31 +4,20 @@ # SPDX-License-Identifier: GPL-3.0-or-later #} +{# images are decorative: each one comes with its text #}
- - - - - - - - - - - - - -
- {{ _T( - - {{ _T("Member") }} -
- {{ _T( - - {{ _T("Member (company)", "maps") }} -
- {{ _T( - - {{ _T("Search result", "maps") }} -
+
diff --git a/templates/default/common_scripts.html.twig b/templates/default/common_scripts.html.twig index d13b7db..4f2b24a 100644 --- a/templates/default/common_scripts.html.twig +++ b/templates/default/common_scripts.html.twig @@ -15,157 +15,35 @@ {% endif %} - - +}|merge(page_config ?? {}) %} +{# HEX flags keep "" and friends harmless inside the script element #} + + diff --git a/templates/default/maps.html.twig b/templates/default/maps.html.twig index 2fa6b15..969c921 100644 --- a/templates/default/maps.html.twig +++ b/templates/default/maps.html.twig @@ -14,35 +14,9 @@ {% endblock %} {% block javascripts %} - {% include '@PluginGaletteMaps/common_scripts.html.twig' %} - + } %} {% endblock %} diff --git a/templates/default/maps_preferences.html.twig b/templates/default/maps_preferences.html.twig index 3bbe2d5..08cfb11 100644 --- a/templates/default/maps_preferences.html.twig +++ b/templates/default/maps_preferences.html.twig @@ -18,7 +18,7 @@ } %} -
+

{{ _T("Your own values", "maps") }}

{% include "components/forms/checkbox.html.twig" with { @@ -70,12 +70,5 @@ {% endblock %} {% block javascripts %} - + {% endblock %} diff --git a/templates/default/mymap.html.twig b/templates/default/mymap.html.twig index 75f16be..c147357 100644 --- a/templates/default/mymap.html.twig +++ b/templates/default/mymap.html.twig @@ -10,38 +10,32 @@
{% if towns is defined and towns|length > 0 %} -