Error when I want to add a gallery in a page
-
Hi,
When I want to add a gallery in a page I have no display. Then I can’t add a gallery.
I found a javascript error due to french translation.
In the display_taj_js.php line 657 : var tooltip = ‘<?php _e(‘Sets an SEO-friendly name to this gallery for URLs. Currently only in use by the Pro Lightbox.’, ‘nggallery’); ?>’;
The french traduction is “Donnez à cette galerie un nom qui facilitera son référencement par les moteurs de recherche. N’est effectif que dans Pro Lightbox”The apostrophe pose problem.
I solves the problem by changing ‘ by “.
var tooltip = “<?php _e(‘Sets an SEO-friendly name to this gallery for URLs. Currently only in use by the Pro Lightbox.’, ‘nggallery’); ?>”;
Can you change this in the module ?
The other solution is to update french traduction an add backslashes before all apostrophe.
Thanks
- The topic ‘Error when I want to add a gallery in a page’ is closed to new replies.