Changeset 60 for trunk/popups/link.html


Ignore:
Timestamp:
04/05/05 13:22:31 (14 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/popups/link.html

    r19 r60  
    77    window.resizeTo(400, 200); 
    88 
    9 I18N = window.opener.HTMLArea.I18N.dialogs; 
     9HTMLArea = window.opener.HTMLArea; 
    1010 
    1111function i18n(str) { 
    12   return (I18N[str] || str); 
     12  return (HTMLArea._lc(str, 'HTMLArea')); 
    1313}; 
    1414 
     
    2323 
    2424function Init() { 
    25   __dlg_translate(I18N); 
     25  __dlg_translate('HTMLArea'); 
    2626  __dlg_init(); 
    2727  var param = window.dialogArguments; 
Note: See TracChangeset for help on using the changeset viewer.