From 3da7c94b7a71b394eac9271b611a35f7c345d3c2 Mon Sep 17 00:00:00 2001 From: Ludovic CHEVALIER Date: Sun, 20 May 2012 18:04:48 +0200 Subject: [PATCH] [Internationalisation] +Anglais --- contenu/page-carte_de_sites.html | 6 +++--- inclure/boite.html | 6 +++--- inclure/iframe_carte.html | 2 +- lang/carte_de_sites_en.php | 5 +++++ lang/carte_de_sites_fr.php | 5 +++++ 5 files changed, 17 insertions(+), 7 deletions(-) diff --git a/contenu/page-carte_de_sites.html b/contenu/page-carte_de_sites.html index 8221417..8d5347c 100755 --- a/contenu/page-carte_de_sites.html +++ b/contenu/page-carte_de_sites.html @@ -46,7 +46,7 @@ - var cloudmadeAttribution = 'Map data © 2011 OpenStreetMap contributors, Imagery © 2011 CloudMade
[(#ENV{lien}|!={non}|oui)(Voir la carte en plus grand)]', + var cloudmadeAttribution = 'Map data © 2011 OpenStreetMap contributors, Imagery © 2011 CloudMade
[(#ENV{lien}|!={non}|oui)(<:carte_de_sites:grande_carte:>)]', cloudmadeOptions = {maxZoom: 18, attribution: cloudmadeAttribution}, cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/{styleId}/256/{z}/{x}/{y}.png'; @@ -75,7 +75,7 @@ function onMapClick(e) { var latlngStr = '(' + e.latlng.lat.toFixed(18) + ',' + e.latlng.lng.toFixed(18) + ')'; popup.setLatLng(e.latlng); - popup.setContent("Coordonnees de votre clic (Latitude, Longitude)" + latlngStr); + popup.setContent("<:carte_de_sites:coordonnees_clic:>" + latlngStr); map.openPopup(popup); } ] @@ -90,7 +90,7 @@ [(#ENV{legende}|!={non}|oui) -

Legende

+

<:carte_de_sites:legende:>

] [(#ENV{legende}|!={non}|oui) diff --git a/inclure/boite.html b/inclure/boite.html index 236f86a..de86a80 100644 --- a/inclure/boite.html +++ b/inclure/boite.html @@ -1,7 +1,7 @@ //Definition des fonds de carte var baseMaps = { - "Vue de nuit ;-)": midnightCommander, - "Vue de jour": minimal + "<:carte_de_sites:vue_nuit:>": midnightCommander, + "<:carte_de_sites:vue_jour:>": minimal }; //Definition des calques de marqueurs @@ -13,4 +13,4 @@ layersControl = new L.Control.Layers(baseMaps,overlayMaps); //Construction de la boite - map.addControl(layersControl); \ No newline at end of file + map.addControl(layersControl); diff --git a/inclure/iframe_carte.html b/inclure/iframe_carte.html index 12fd01d..74fe6d6 100644 --- a/inclure/iframe_carte.html +++ b/inclure/iframe_carte.html @@ -1,6 +1,6 @@ [(#ENV{afficher_iframe}|=={oui}|oui)
-

Copier-coller le code ci-dessous pour l'intègrer à votre site oueb / Copy and paste the following code to insert the map in your website

+

<:carte_de_sites:aide_iframe:>

diff --git a/lang/carte_de_sites_en.php b/lang/carte_de_sites_en.php index 229dbc0..4e4fcb1 100644 --- a/lang/carte_de_sites_en.php +++ b/lang/carte_de_sites_en.php @@ -3,5 +3,10 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'carte' => 'Map', 'legende' => 'Key', 'inclure_carte' => 'To insert the map in your website ...', +'coordonnees_clic' => 'Coordinates of your clic (Latitude,Longitude)', +'vue_nuit' => 'Night view', +'vue_jour' => 'Day view', +'aide_iframe' => 'Copy and paste the following code to insert the map in your website.', +'grande_carte' => 'Go to the fullscreen map', ); ?> diff --git a/lang/carte_de_sites_fr.php b/lang/carte_de_sites_fr.php index f1c6648..44994b3 100644 --- a/lang/carte_de_sites_fr.php +++ b/lang/carte_de_sites_fr.php @@ -3,5 +3,10 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'carte' => 'Carte', 'legende' => 'Légende', 'inclure_carte' => 'Pour inclure la carte dans votre site oueb ...', +'coordonnees_clic' => 'Coordonnées de votre clic (Latitude,Longitude)', +'vue_nuit' => 'Vue de nuit', +'vue_jour' => 'Vue de jour', +'aide_iframe' => 'Insérer le code ci-dessous pour inté la carte dans votre site oueb.', +'grande_carte' => 'Voir la carte en plus grand', ); ?> -- 2.20.1