This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Tagged: 

Magnific translation bug?

  • Creator
    Topic
  • #10284
    karlo
    Participant

    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)
  • Author
    Replies
  • #10297
    Jason Bobich
    Keymaster

    Awesome, thank you for finding this. I’ve got this fixed for Jump Start 1.1.1.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.