Changeset 28098


Ignore:
Timestamp:
Apr 6, 2014, 4:05:06 PM (10 years ago)
Author:
flop25
Message:

reload local lang files to allow override

Location:
extensions/TakeATour
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/TakeATour/language/en_UK/plugin.lang.php

    r28097 r28098  
    1414$lang['first_contact_title5'] = '';
    1515$lang['first_contact_stp5'] = 'Then click the button to select photos to send from your computer';
    16 $lang['first_contact_stp5'] = '';
    1716$lang['first_contact_title6'] = '';
    1817$lang['first_contact_stp6'] = 'You see that photos are being listed. Add at least 2 pictures and when you\'re ready click the button Start Upload';
  • extensions/TakeATour/main.inc.php

    r28097 r28098  
    4545  $tour_to_launch=pwg_get_session_var('tour_to_launch');
    4646  load_language('plugin.lang', PHPWG_PLUGINS_PATH .'TakeATour/');
     47  load_language('lang', PHPWG_ROOT_PATH.PWG_LOCAL_DIR, array('no_fallback'=>true, 'local'=>true) );
    4748  $template->set_filename('TAT_js_css', PHPWG_PLUGINS_PATH.'TakeATour/tpl/js_css.tpl');
    4849  $template->parse('TAT_js_css');//http://piwigo.org/forum/viewtopic.php?id=23248
Note: See TracChangeset for help on using the changeset viewer.