Magnific translation bug?
-
Topic
-
I think there is a bug wiht Magnific translation. “Next” becomes “Previoius” and “Previous” is “null”.
At bottom of source code it says:
"lightbox_next":"Previous","lightbox_previous":null
as part of “var themeblvd =”
And previous is always null.
I added
'lightbox_next' => __( 'Next', 'themeblvd_frontend' ), 'lightbox_previous' => __( 'Previous', 'themeblvd_frontend' ),
to locals.php, function theme_get_js_locals
And in same file under “// Magnific Popup Lightbox integration” changed
$locals['lightbox_next'] = themeblvd_get_local('next'); $locals['lightbox_previous'] = themeblvd_get_local('previous');
to
$locals['lightbox_next'] = themeblvd_get_local('lightbox_next'); $locals['lightbox_previous'] = themeblvd_get_local('lightbox_previous');
Not sure if correct but it seems to work and there has to be something screwy about “null” 🙂
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.