Language string in imgalbum

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

Posts: 2528
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia

Language string in imgalbum

Postby Tata » Mon Apr 10, 2017 7:37 am

I use imgalbum at in various albums. Now I see that in zoomed pictures, there is fron language strings in $plugin_tx['imgalbum']['magnificpopup_counter']. It writes e.g. (in SK): Foto 2 af 34. In sk.php is defined

Code: Select all

$plugin_tx['imgalbum']['magnificpopup_counter']="Obrázok: %curr% z %total%"
The only file using this variable is /plugins/imgalbum/libs/magnificpopup/magnific-popup.css and it has

Code: Select all

            //tCounter: '<span class=\"mfp-counter\">Foto: %curr% af %total%</span>'
            tCounter: '".$plugin_tx[$plugin]['magnificpopup_counter']."'

I tried to add $sl to globals. Also tried to directly rewrite the string. Nothing has helped. The Counter sound Danish, anyway.
Thanks to Chris's hint, the expressions had to be correncted in plugins/imgalbum/libs/lightbox/js/lightbox.js #71 and 72. This is useful only on webpage od one language, however.
Last edited by Tata on Tue Apr 11, 2017 9:38 pm, edited 1 time in total.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Return to “Addons and Plugins”

Who is online

Users browsing this forum: No registered users and 1 guest