Ignore:
Timestamp:
04/05/05 13:22:31 (15 years ago)
Author:
niko
Message:

ticket #98: new i18n-system:

  • changed every use of HTMLArea.I18N to HTMLArea._lc-function
  • implemented HTMLArea._loadlang
  • converted all language-files into the new system
  • converted all language-files into utf-8
  • removed all jp-* language-files except jp-utf8.js (and renamed it into jp.js)
  • removed all en.js-files (not needed by the new system)
  • removed all empty i18n-files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ImageManager/editorFrame.php

    r43 r60  
    3131 
    3232if(window.top) 
    33         I18N = window.top.I18N; 
     33        HTMLArea = window.top.HTMLArea; 
    3434 
    3535function i18n(str) { 
    36         if(I18N) 
    37                 return (I18N[str] || str); 
    38         else 
    39                 return str; 
     36    return HTMLArea._lc(str, 'ImageManager'); 
    4037}; 
    4138         
Note: See TracChangeset for help on using the changeset viewer.