Ignore:
Timestamp:
Jul 2, 2014, 2:43:29 PM (10 years ago)
Author:
plg
Message:

i18n for the new HTML5 upload (use i18n files from plupload)

optional specific $lang_info[jquery_code] and $lang_info[plupload_code] to load the right i18n file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/photos_add_direct.tpl

    r28703 r28917  
    77{combine_css path="themes/default/js/plugins/jquery.jgrowl.css"}
    88{combine_css path="themes/default/js/plugins/plupload/jquery.plupload.queue/css/jquery.plupload.queue.css"}
     9
     10{assign var="plupload_i18n" value="themes/default/js/plugins/plupload/i18n/`$lang_info.plupload_code`.js"}
     11{if "PHPWG_ROOT_PATH"|@constant|@cat:$plupload_i18n|@file_exists}
     12  {combine_script id="plupload_i18n-`$lang_info.plupload_code`" load="footer" path=$plupload_i18n require="jquery.plupload.queue"}
     13{/if}
    914
    1015{include file='include/colorbox.inc.tpl'}
Note: See TracChangeset for help on using the changeset viewer.