Bonjour,
Je viens de mettre à jour et le site Katrynou en 14.4.0 et son Bootstrap Darkroom en 2.5.22.
C'est génial d'avoir créé des sous-titres pour l'admin du plugin, mais ils ne sont pas (ou pas tous) localisés. Quand je suis en français, ya encore de l'anglais qui traîne.
Comment puis-je aider ?
Statistiques
137 geotagged items in your gallery
Display map on picture page
Configuration if the active theme has a right pannel
Configuration if the active theme has a left pannel
Display map on category page
This will display a map where the category description is
Ajoute une carte dans la catégorie "Description" : Oui Non
Affiche une carte mondiale de l'album "description", affichera toutes les images dans l'album.
Show the map on all pages of the category : Oui Non
This will show a map on all pages of a category, not just in the category's description
Montrer la carte à :
Affichera la carte à l'indice spécifié
Hauteur de la carte :
en pixel
Largeur de la carte :
en pixel ou automatique
Sélectionnez un fichier GPX à afficher sur toutes les cartes de description des catégorie
Other places the map is displayed
Dernière modification par Katryne (2024-05-21 13:38:55)
Hors ligne
Bonjour
créer une issue
https://github.com/Piwigo/piwigo-openstreetmap/issues
A très vite
Hors ligne
Github, c'est uniquement sous la torture que j'y vais. J'y ai bien un compte, mais je ne sais même pas y télécharger un fichier, alors créer une issue ... Bon je l'ai déjà fait, il faut juste que je me motive, et je ferai ça demain.
Merci
Hors ligne
Titre du post modifié. Issue Github publiée : [Github] piwigo-openstreetmap issue #256
Hors ligne
Hello voisin ! J'ai déjà regardé sur Piwigo-Translate et c'est marqué 100% traduit. Je crois qu'en l'état, la localisation complète n'est pas prévue.
Hors ligne
Salut
J'ai regardé le fichier et ça se passe dans : admin-config.tpl et j'ai fait la trad!!
A+
{html_head} <link rel="stylesheet" href="{$OSM_PATH}fontello/css/osm.css" /> <style> {literal} .osm_layout { text-align: left; border: 2px solid rgb(221, 221, 221); padding: 1em; margin: 1em; } .content h3{ text-align:left; margin:15px; } .content .section-title:hover{ cursor:pointer; } #right_pannel, #left_pannel, #main_menu, #gpx_map, #batch_manager_map{ display:none; } label{ cursor:initial; } .content h3 ~ h3{ margin-top:20px; } FIELDSET{ padding:0; margin:0 30px; } FORM.properties UL{ margin:0 15px; } {/literal} </style> {/html_head} This plugin display geographical location in your gallery using<a href="http://www.openstreetmap.org/" target="_blank">OpenStreetMap</a>. <br/><br/> Refer to the <a href="https://github.com/xbgmsharp/piwigo-openstreetmap/wiki" target="_blanck">plugin documentation</a> for additional information. Create an <a href="https://github.com/xbgmsharp/piwigo-openstreetmap/issues" target="_blanck">issue</a> for support, or feedback, or feature request. <div class="osm_layout"> <legend>{'Statistics'|@translate}</legend> <ul> <li class="update_summary_new">{$NB_GEOTAGGED} {'geotagged items in your gallery'|@translate}</li> </ul> </div> <form method="post" action="" class="properties"> <h3><i class="icon-picture"></i{'Display map on picture pageConfiguration if the active theme has a right pannel</h3> <fieldset> <legend class="section-title" onclick="toggle_accordion(this)"><i class="icon-plus"></i>{'Configuration if the active theme has a right pannel'|@translate}</legend> <ul id="right_pannel"> <li> <label>{'SHOWLOCATION'|@translate} : </label> <label><input type="radio" name="osm_right_panel" value="true" {if $right_panel.enabled}checked="checked"{/if}/> {'Yes'|@translate}</label> <label><input type="radio" name="osm_right_panel" value="false" {if not $right_panel.enabled}checked="checked"{/if}/> {'No'|@translate}</label> <br/><small>{'SHOWLOCATION_DESC'|@translate}</small> </li> <li> <label>{'ADD_BEFORE'|@translate} : </label> <select name="osm_add_before"> {html_options options=$AVAILABLE_ADD_BEFORE selected=$right_panel.add_before} </select> <br/><small>{'ADD_BEFORE_DESC'|@translate}</small> </li> <li> <label>{'HEIGHT'|@translate} : </label> <input type="text" value="{$right_panel.height}" name="osm_height" size="4" required/> <br/><small>{'HEIGHT_DESC'|@translate}</small> </li> <li> <label>{'ZOOM'|@translate} : </label> <select name="osm_zoom"> {html_options options=$AVAILABLE_ZOOM selected=$right_panel.zoom} </select> <br/><small>{'ZOOM_DESC'|@translate}</small> </li> <li> <label>{'RIGHTLINK'|@translate} : </label> <input type="text" value="{$right_panel.link}" name="osm_right_link" size="20"/> <br/><small>{'RIGHTLINK_DESC'|@translate}</small> </li> <li> <label>{'RIGHTLINKCSS'|@translate} : </label> <input type="text" value="{$right_panel.linkcss}" name="osm_right_linkcss" size="60" placeholder="vertical-align: top; color: red;"/> <br/><small>{'RIGHTLINKCSS_DESC'|@translate}</small> </li> <li> <label>{'SHOWOSM'|@translate} : </label> <label><input type="radio" name="osm_showosm" value="true" {if $right_panel.showosm}checked="checked"{/if}/> {'Yes'|@translate}</label> <label><input type="radio" name="osm_showosm" value="false" {if not $right_panel.showosm}checked="checked"{/if}/> {'No'|@translate}</label> <br/><small>{'SHOWOSM_DESC'|@translate}</small> </li> <li> <label>{'SHOWLATLON'|@translate} : </label> <label><input type="radio" name="osm_showlatlon" value="true" {if $right_panel.showlatlon}checked="checked"{/if}/> {'Yes'|@translate}</label> <label><input type="radio" name="osm_showlatlon" value="false" {if not $right_panel.showlatlon}checked="checked"{/if}/> {'No'|@translate}</label> <br/><small>{'SHOWLATLON_DESC'|@translate}</small> </li> </ul> </fieldset> <fieldset> <legend class="section-title" onclick="toggle_accordion(this)"><i class="icon-plus"></i>{'Configuration if the active theme has a left pannel'|@translate}</legend> <ul id="left_pannel"> <li> <label>{'SHOWWORLDMAPLEFT'|@translate} : </label> <label><input type="radio" name="osm_left_menu" value="true" {if $left_menu.enabled}checked="checked"{/if}/> {'Yes'|@translate}</label> <label><input type="radio" name="osm_left_menu" value="false" {if not $left_menu.enabled}checked="checked"{/if}/> {'No'|@translate}</label> <br/><small>{'SHOWWORLDMAPLEFT_DESC'|@translate}</small> </li> <li> <label>{'LAYOUT_MAP'|@translate} : </label> <select name="osm_left_layout"> {html_options options=$AVAILABLE_LAYOUT selected=$left_menu.layout} </select> <br/><small>{'LAYOUT_MAP_DESC'|@translate}</small> </li> <li> <label>{'LEFTLINK'|@translate} : </label> <input type="text" value="{$left_menu.link}" name="osm_left_link" size="20"/> <br/><small>{'LEFTLINK_DESC'|@translate}</small> </li> <li> <label>{'LEFTPOPUP'|@translate} : </label> <select name="osm_left_popup"> {html_options options=$AVAILABLE_POPUP selected=$left_menu.popup} </select> <br/><small>{'LEFTPOPUP_DESC'|@translate}</small> </li> <li> <label>{'LEFTPOPUPINFO'|@translate} : </label><br/> <div style="padding-left: 25px"> <input type="checkbox" name="osm_left_popupinfo_name" value="true" {if $left_menu.popupinfo_name}checked="checked"{/if}/> {'POPUPNAME'|@translate}<br /> <input type="checkbox" name="osm_left_popupinfo_img" value="true" {if $left_menu.popupinfo_img}checked="checked"{/if}/> {'POPUPTHUMB'|@translate}<br /> <input type="checkbox" name="osm_left_popupinfo_link" value="true" {if $left_menu.popupinfo_link}checked="checked"{/if}/> {'POPUPLINK'|@translate}<br /> <input type="checkbox" name="osm_left_popupinfo_comment" value="true" {if $left_menu.popupinfo_comment}checked="checked"{/if}/> {'POPUPCOMMENT'|@translate}<br /> <input type="checkbox" name="osm_left_popupinfo_author" value="true" {if $left_menu.popupinfo_author}checked="checked"{/if}/> {'POPUPAUTHOR'|@translate} </div> <small>{'LEFTPOPUPINFO_DESC'|@translate}</small> </li> <li> <label>{'AUTO_CENTER'|@translate} : </label> <label><input id="autocenter_enabled" type="radio" name="osm_left_autocenter" value="true" {if $left_menu.autocenter}checked="checked"{/if} onchange="autocenter_toggle(this);"/> {'Yes'|@translate}</label> <label><input type="radio" name="osm_left_autocenter" value="false" {if not $left_menu.autocenter}checked="checked"{/if} onchange="autocenter_toggle(this);"/> {'No'|@translate}</label> <br/><small>{'AUTO_CENTER_HELP'|@translate}</small> </li> <li id="osm_left_zoom_block"> <label>{'ZOOM'|@translate} : </label> <select name="osm_left_zoom"> {html_options options=$AVAILABLE_ZOOM selected=$left_menu.zoom} </select> <br/><small>{'ZOOM_DESC'|@translate}</small> </li> <li id="osm_left_center_block"> <label>{'CENTER_MAP'|@translate} : </label> <input type="text" value="{$left_menu.center}" name="osm_left_center" size="30" placeholder="0,0"/> <br/><small>{'CENTER_MAP_DESC'|@translate}</small> </li> </ul> </fieldset> <h3><i class="icon-sitemap"></i>{'Display map on category page'|@translate}</h3> <fieldset> <legend>{'This will display a map where the category description is'|@translate}</legend> <ul> <li> <label>{'SHOWCMAP'|@translate} : </label> <label><input type="radio" name="osm_category_description" value="true" {if $category_description.enabled}checked="checked"{/if}/> {'Yes'|@translate}</label> <label><input type="radio" name="osm_category_description" value="false" {if not $category_description.enabled}checked="checked"{/if}/> {'No'|@translate}</label> <br/><small>{'SHOWCMAP_DESC'|@translate}</small> </li> <li> <label>Show the map on all pages of the category : </label> <label><input type="radio" name="osm_category_description" value="true" {if $category_description.enabled}checked="checked"{/if}/> {'Yes'|@translate}</label> <label><input type="radio" name="osm_category_description" value="false" {if not $category_description.enabled}checked="checked"{/if}/> {'No'|@translate}</label> <br/><small>This will show a map on all pages of a category, not just in the category's description</small> </li> <li> <label>{'POSITION_INDEX_CMAP'|@translate} : </label> <select name="osm_cat_index"> {html_options options=$AVAILABLE_CAT_INDEX selected=$category_description.index} </select> <br/><small>{'POSITION_INDEX_CMAP_DESC'|@translate}</small> </li> <li> <label>{'HEIGHT'|@translate} : </label> <input type="text" value="{$category_description.height}" name="osm_cat_height" size="4" required placeholder="200"/> <br/><small>{'HEIGHT_DESC'|@translate}</small> </li> <li> <label>{'WIDTH'|@translate} : </label> <input type="text" value="{$category_description.width}" name="osm_cat_width" size="4" required placeholder="auto"/> <br/><small>{'WIDTH_DESC'|@translate}</small> </li> <li> <label>{'DISPLAY_GPX_FILE'|@translate}</label> <select name="osm_display_gpx"> <option value="">--</option> {foreach from=$AVAILABLE_GPX item=GPX_FILE} <option value="{$GPX_FILE.id}" {if $category_description.display_gpx == $GPX_FILE.id} selected {/if}>{$GPX_FILE.name}</option> {/foreach} </select><br> </li> </ul> </fieldset> <h3><i class="osm-globe"></i>{'Other places the map is displayed'|@translate}</h3> <fieldset> <legend class="section-title" onclick="toggle_accordion(this)"><i class="icon-plus"></i>{'M_MAP'|@translate}</legend> <ul id="main_menu"> <li> <label>{'SHOWMMAP'|@translate} : </label> <label><input type="radio" name="osm_main_menu" value="true" {if $main_menu.enabled}checked="checked"{/if}/> {'Yes'|@translate}</label> <label><input type="radio" name="osm_main_menu" value="false" {if not $main_menu.enabled}checked="checked"{/if}/> {'No'|@translate}</label> <br/><small>{'SHOWMMAP_DESC'|@translate}</small> </li> <li> <label>{'HEIGHT'|@translate} : </label> <input type="text" value="{$main_menu.height}" name="osm_menu_height" size="4" required placeholder="200"/> <br/><small>{'HEIGHT_DESC'|@translate}</small> </li> </ul> </fieldset> <fieldset> <legend class="section-title" onclick="toggle_accordion(this)"><i class="icon-plus"></i>{'GPX_MAP'|@translate}</legend> <ul id="gpx_map"> <li> <label>{'HEIGHT'|@translate} : </label> <input type="text" value="{$gpx.height}" name="osm_gpx_height" size="4" required placeholder="500"/> <br/><small>{'HEIGHT_DESC'|@translate}</small> </li> <li> <label>{'GPX_WIDTH'|@translate} : </label> <input type="text" value="{$gpx.width}" name="osm_gpx_width" size="4" required placeholder="320"/> <br/><small>{'WIDTH_DESC'|@translate}</small> </li> </ul> </fieldset> <fieldset> <legend class="section-title" onclick="toggle_accordion(this)"><i class="icon-plus"></i>{'Batch Manager'|@translate} {'MAP'|@translate}</legend> <ul id="batch_manager_map"> <li> <label>{'HEIGHT'|@translate} {$GLOBAL_MODE}: </label> <input type="text" value="{$batch.global_height}" name="osm_batch_global_height" size="4" required placeholder="200"/> <br/><small>{'HEIGHT_DESC'|@translate}</small> </li> <li> <label>{'HEIGHT'|@translate} {$SINGLE_MODE}: </label> <input type="text" value="{$batch.unit_height}" name="osm_batch_unit_height" size="4" required placeholder="200"/> <br/><small>{'HEIGHT_DESC'|@translate}</small> </li> </ul> </fieldset> <h3><i class="osm-map"></i>{'G_MAP'|@translate}</h3> <fieldset> <ul> <li> <img id="tile_preview" align="right" src=""> <label>{'BASELAYER'|@translate} : </label> <select name="osm_baselayer" id="osm_baselayer" onchange="tile_toggle(this)"> {html_options options=$AVAILABLE_BASELAYER selected=$map.baselayer} </select> <br/><small>{'BASELAYER_DESC'|@translate}</small><br/> <small>Check out <a href="http://leaflet-extras.github.io/leaflet-providers/preview/" target="_blank">this example</a> with half a hundred different layers to choose from.</small> </li> <div id="custom-tile-toggle" style="visibility:hidden; width:0px; height:0px; display:none;"> <fieldset> <li> <label>{'CUSTOMBASELAYER'|@translate} : </label> <input type="text" value="{$map.custombaselayer}" name="osm_custombaselayer" id="osm_custombaselayer" size="40"/> <br/><small>{'CUSTOMBASELAYER_DESC'|@translate}</small> </li> <li> <label>{'CUSTOMBASELAYERURL'|@translate} : </label> <input type="text" value="{$map.custombaselayerurl}" name="osm_custombaselayerurl" id="osm_custombaselayerurl" onchange="tile_toggle(this)" size="40"/> <br/><small>{'CUSTOMBASELAYERURL_DESC'|@translate}</small> </li> </fieldset> </div> <div id="mapquest-tile-toggle" style="visibility:hidden; width:0px; height:0px; display:none;"> <fieldset> <li> <label>{'MAPQUEST_APIKEY'|@translate} : </label> <input type="text" value="{$map.mapquest_apikey}" name="osm_mapquestapi" id="osm_mapquestapi" size="40"/> <br/><small>{'MAPQUEST_APIKEY_DESC'|@translate} Check out <a href="http://www.mapquestapi.com/" target="_blank">MapQuest API</a></small> </li> </fieldset> </div> <li> <label>{'NOWORLDWARP'|@translate} : </label> <label><input type="radio" name="osm_noworldwarp" value="true" {if $map.noworldwarp}checked="checked"{/if}/> {'Yes'|@translate}</label> <label><input type="radio" name="osm_noworldwarp" value="false" {if not $map.noworldwarp}checked="checked"{/if}/> {'No'|@translate}</label> <br/><small>{'NOWORLDWARP_DESC'|@translate}</small> </li> <li> <label>{'ATTRLEAFLET'|@translate} : </label> <label><input type="radio" name="osm_attrleaflet" value="true" {if $map.attrleaflet}checked="checked"{/if}/> {'Yes'|@translate}</label> <label><input type="radio" name="osm_attrleaflet" value="false" {if not $map.attrleaflet}checked="checked"{/if}/> {'No'|@translate}</label> <br/><small>{'ATTRLEAFLET_DESC'|@translate}</small> </li> <li> <label>{'ATTRIMAGERY'|@translate} : </label> <label><input type="radio" name="osm_attrimagery" value="true" {if $map.attrimagery}checked="checked"{/if}/> {'Yes'|@translate}</label> <label><input type="radio" name="osm_attrimagery" value="false" {if not $map.attrimagery}checked="checked"{/if}/> {'No'|@translate}</label> <br/><small>{'ATTRIMAGERY_DESC'|@translate}</small> </li> <li> <label>{'ATTRPLUGIN'|@translate} : </label> <label><input type="radio" name="osm_attrplugin" value="true" {if $map.attrplugin}checked="checked"{/if}/> {'Yes'|@translate}</label> <label><input type="radio" name="osm_attrplugin" value="false" {if not $map.attrplugin}checked="checked"{/if}/> {'No'|@translate}</label> <br/><small>{'ATTRPLUGIN_DESC'|@translate}</small> </li> </ul> </fieldset> <h3><i class="osm-pin"></i>{'H_PIN'|@translate}</h3> <fieldset> <ul> <li> <img id="pin_preview" align="left" src=""> <label >{'PIN'|@translate} : </label> <select name="osm_pin" id="osm_pin" onchange="pin_toggle(this)"> {html_options options=$AVAILABLE_PIN selected=$pin.pin} </select> <br/><small>{'PIN_DESC'|@translate}</small> </li> <div id="custom-pin-toggle" style="visibility:hidden; width:0px; height:0px; display:none;"> <li> <label>{'PINPATH'|@translate} : </label> <input type="text" value="{$pin.pinpath}" name="osm_pinpath" size="40"/> <br/><small>{'PINPATH_DESC'|@translate}</small> </li> <li> <label>{'PINSIZE'|@translate} : </label> <input type="text" value="{$pin.pinsize}" name="osm_pinsize" size="6"/> <br/><small>{'PINSIZE_DESC'|@translate}</small> </li> <li> <label>{'PINSHADOWPATH'|@translate} : </label> <input type="text" value="{$pin.pinshadowpath}" name="osm_pinshadowpath" size="40"/> <br/><small>{'PINSHADOWPATH_DESC'|@translate}</small> </li> <li> <label>{'PINSHADOWSIZE'|@translate} : </label> <input type="text" value="{$pin.pinshadowsize}" name="osm_pinshadowsize" size="4"/> <br/><small>{'PINSHADOWSIZE_DESC'|@translate}</small> </li> <li> <label>{'PINOFFSET'|@translate} : </label> <input type="text" value="{$pin.pinoffset}" name="osm_pinoffset" size="4"/> <br/><small>{'PINOFFSET_DESC'|@translate}</small> </li> <li> <label>{'PINPOPUPOFFSET'|@translate} : </label> <input type="text" value="{$pin.pinpopupoffset}" name="osm_pinpopupoffset" size="4"/> <br/><small>{'PINPOPUPOFFSET_DESC'|@translate}</small> </li> </div> </ul> </fieldset> <p> <input class="submit" type="submit" value="{'Save Settings'|@translate}" name="submit"/> </p> </form> {literal} <script type="text/javascript"> function tile_toggle() { var div_custom = document.getElementById("custom-tile-toggle"); var div_mapquest = document.getElementById("mapquest-tile-toggle"); var select = document.getElementById("osm_baselayer").value; //alert(select.selectedIndex); if (select == "custom") // If custom { div_custom.removeAttribute("style"); div_mapquest.setAttribute("style","visibility:hidden; width:0px; height:0px; display:none;"); } else if (select.startsWith("mapquest")) // If mapquest { div_mapquest.removeAttribute("style"); div_custom.setAttribute("style","visibility:hidden; width:0px; height:0px; display:none;"); } else { div_custom.setAttribute("style","visibility:hidden; width:0px; height:0px; display:none;"); div_mapquest.setAttribute("style","visibility:hidden; width:0px; height:0px; display:none;"); } tile_preview(); } function pin_toggle() { var div = document.getElementById("custom-pin-toggle"); var select = document.getElementById("osm_pin"); //alert(select.selectedIndex); if (select.selectedIndex == 9) // If custom { div.removeAttribute("style"); } else { div.setAttribute("style","visibility:hidden; width:0px; height:0px; display:none;"); } pin_preview(); } function autocenter_toggle() { var radio = document.getElementById("autocenter_enabled"); var zoom_block = document.getElementById("osm_left_zoom_block"); var center_block = document.getElementById("osm_left_center_block"); if (radio.checked) // If autocenter { zoom_block.setAttribute("style", "display:none;"); center_block.setAttribute("style", "display:none;"); } else { zoom_block.removeAttribute("style"); center_block.removeAttribute("style"); } } function tile_preview() { var select = document.getElementById("osm_baselayer"); var custom_url = document.getElementById("osm_custombaselayerurl").value; if ( custom_url ) { custom_url = custom_url.replace('{z}', '5').replace('{x}', '15').replace('{y}', '11'); } else { custom_url = 'NULL'; } baselayer = new Array( '{/literal}{$OSM_PATH}{literal}leaflet/icons/preview_openstreetmap_mapnik.png', '{/literal}{$OSM_PATH}{literal}leaflet/icons/preview_openstreetmap_blackandwhite.png', '{/literal}{$OSM_PATH}{literal}leaflet/icons/preview_openstreetmap_fr.png', '{/literal}{$OSM_PATH}{literal}leaflet/icons/preview_openstreetmap_de.png', '{/literal}{$OSM_PATH}{literal}leaflet/icons/preview_openstreetmap_fr.png', '{/literal}{$OSM_PATH}{literal}leaflet/icons/preview_mapquest.png', '{/literal}{$OSM_PATH}{literal}leaflet/icons/preview_mapquest_aerial.png', '{/literal}{$OSM_PATH}{literal}leaflet/icons/preview_toner.png', custom_url, '{/literal}{$OSM_PATH}{literal}leaflet/icons/preview_Esri.WorldTopoMap.png' ); //alert(baselayer[select.selectedIndex]); var img_elem = document.getElementById("tile_preview"); if (baselayer[select.selectedIndex] == "NULL") { img_elem.setAttribute("style","visibility:hidden; width:0px; height:0px; display:none;"); } else { img_elem.removeAttribute("style"); img_elem.src = baselayer[select.selectedIndex]; } } function pin_preview() { var select = document.getElementById("osm_pin"); pins = new Array( 'NULL', '{/literal}{$OSM_PATH}{literal}leaflet/images/marker-blue.png', '{/literal}{$OSM_PATH}{literal}leaflet/images/marker-green.png', '{/literal}{$OSM_PATH}{literal}leaflet/images/marker-red.png', '{/literal}{$OSM_PATH}{literal}leaflet/images/leaf-green.png', '{/literal}{$OSM_PATH}{literal}leaflet/images/leaf-orange.png', '{/literal}{$OSM_PATH}{literal}leaflet/images/leaf-red.png', '{/literal}{$OSM_PATH}{literal}leaflet/images/mapicons-blue.png', '{/literal}{$OSM_PATH}{literal}leaflet/images/mapicons-green.png', 'NULL', 'NULL' ); //alert(pins[select.selectedIndex]); var img_elem = document.getElementById("pin_preview"); if (pins[select.selectedIndex] == "NULL") { img_elem.setAttribute("style","visibility:hidden; width:0px; height:0px; display:none;"); } else { img_elem.removeAttribute("style"); img_elem.setAttribute("style","padding-right: 5px;"); img_elem.src = pins[select.selectedIndex]; } } function toggle_accordion(clicked_element){ console.log($(clicked_element)); $(clicked_element).next().toggle(); var icon = $(clicked_element).children("i"); icon.toggleClass("icon-plus"); icon.toggleClass("osm-minus"); } window.onload = pin_preview(); window.onload = tile_preview(); window.onload = autocenter_toggle() </script> {/literal}
En ligne
Re
J'ai oublié un morceau !!
$lang['Display map on picture page'] = 'Afficher la carte Configuration if the active theme has a left pannel'; $lang['Configuration if the active theme has a right pannel'] = 'Configuration si le thème actif a un panneau de droite'; $lang['Configuration if the active theme has a left pannel'] = Configuration si le thème actif a un panneau de gauche'; $lang['Display map on category page'] = 'Afficher la carte sur la page de catégorie'; $lang['This will display a map where the category description is'] = 'Cela affichera une carte où la description de la catégorie est'; $lang[' geotagged items in your gallery'] = 'éléments géolocalisés dans votre galerie';
A=
En ligne
ohhh ahhhh
Le 2e morceau, c'est dans l'onglet langues de Local Files Editor, je suppose ?
Je te dirai merci quand j'aurai installé ...
Hors ligne
Katryne a écrit:
ohhh ahhhh
Le 2e morceau, c'est dans l'onglet langues de Local Files Editor, je suppose ?
Je te dirai merci quand j'aurai installé ...
Oui !!
En ligne
Pas encore merci.
- le nom du fichier c'est avec un _ pas un -
- dans les lignes pour les langues, manque un ' devant un = 'Configuration (3e ligne)
- ça marche pas encore à cause d'une erreur ligne 56, mais je sais pas laquelle. Voici ce que me donne la page de config d'OSM :
Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "file:/homepages/18/d149996993/htdocs/photos/plugins/piwigo-openstreetmap/admin/admin_config.tpl" on line 56 "<legend class="section-title" onclick="toggle_accordion(this)"><i class="icon-plus"></i>{'Configuration if the active theme has a right pannel'|@translate}</legend>" - Unexpected "Configuration", expected one of: "}" <-- thrown in /homepages/18/d149996993/htdocs/photos/plugins/piwigo-openstreetmap/admin/admin_config.tpl on line 56
Hors ligne
Re
Bon, j'ai fait ça un peu rapidement, donc l'erreur vient de la ligne 54, si j'ai bien compris !!
<h3><i class="icon-picture"></i{'Display map on picture page'|@translate}</h3>
En ligne
Merci Dreamer. C'est mieux ya plus d'erreur d'affichage, mais les traducs sont incomplètes. Je fais le point demain. Il est trop tard...
Hors ligne
Bonjour, bonsoir !
Malgré les efforts de Dreamer, certaines chaînes de langue ne sont toujours pas localisées. Il ne s'agit pas seulement de traduire, mais il faut créer la possibilité de traduire dans le fichier admin/admin_config.tpl du plugin (et peut-être ailleurs, parce que je n'y ai pas trouvé tout).
This plugin display geographical location in your gallery usingOpenStreetMap.
Refer to the plugin documentation for additional information. Create an issue for support, or feedback, or feature request.
137 geotagged items in your gallery
Show the map on all pages of the category : Oui Non
This will show a map on all pages of a category, not just in the category's description
Other places the map is displayed
Check out this example with half a hundred different layers to choose from.
No Worldwarp
Merci d'avance à qui pourrait faire cela ? (déjà posté sur Github)
Dernière modification par Katryne (2024-06-06 15:11:44)
Hors ligne