Changeset 162

Show
Ignore:
Timestamp:
01/21/06 21:28:18 (3 years ago)
Author:
misja
Message:

Missed an exception to the rule, visual editor language selection is now final.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/units/tinymce/main.php

    r161 r162  
    1717     
    1818    // Keep base language, no variations for now 
    19     $lang = explode("_", $language); 
     19    $lang = substr($language, 0, 2); 
    2020 
    2121    // Loose the trailing slash 
     
    2626    <script language="javascript" type="text/javascript"> 
    2727    tinyMCE.init({ 
    28     language : "$lang[0]", 
     28    language : "$lang", 
    2929    mode : "exact", 
    3030    elements : "new_weblog_post,new_weblog_comment",