Dotclear


Ignore:
Timestamp:
09/18/13 21:47:24 (12 years ago)
Author:
Denis Jean-Chirstian <contact@…>
Branch:
default
Message:

Send lang code to l10n for plural form at stratégic places

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/public/prepend.php

    r1179 r1949  
    6969$_lang = preg_match('/^[a-z]{2}(-[a-z]{2})?$/',$_lang) ? $_lang : 'en'; 
    7070 
     71l10n::lang($_lang); 
    7172if (l10n::set(dirname(__FILE__).'/../../locales/'.$_lang.'/date') === false && $_lang != 'en') { 
    7273     l10n::set(dirname(__FILE__).'/../../locales/en/date'); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map