equal
deleted
inserted
replaced
193 { |
193 { |
194 if ( !$lang ) |
194 if ( !$lang ) |
195 { |
195 { |
196 // $lang isn't initted yet, this happens sometimes on the usercp/emailpassword form. |
196 // $lang isn't initted yet, this happens sometimes on the usercp/emailpassword form. |
197 // Try to init it if we have ENANO_LANG_ID and enano_lang; if not, report an error. |
197 // Try to init it if we have ENANO_LANG_ID and enano_lang; if not, report an error. |
|
198 load_component('l10n'); |
198 if ( typeof(enano_lang) == 'object' && typeof(ENANO_LANG_ID) == 'number' ) |
199 if ( typeof(enano_lang) == 'object' && typeof(ENANO_LANG_ID) == 'number' ) |
199 { |
200 { |
200 language_onload(); |
201 language_onload(); |
201 } |
202 } |
202 else |
203 else |