/[cvs]/nfo/php/libs/org.netfrag.flib/Site/Boot.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.flib/Site/Boot.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by jonen, Thu Dec 19 10:26:25 2002 UTC revision 1.6 by joko, Sun Dec 22 14:20:08 2002 UTC
# Line 3  Line 3 
3  //    $Id$  //    $Id$
4  //    -------------------------------------------------------------------------  //    -------------------------------------------------------------------------
5  //    $Log$  //    $Log$
6    //    Revision 1.6  2002/12/22 14:20:08  joko
7    //    + comment
8    //
9  //    Revision 1.5  2002/12/19 10:26:25  jonen  //    Revision 1.5  2002/12/19 10:26:25  jonen
10  //    + set_locale on 'lt_init()' according to choosen languange  //    + set_locale on 'lt_init()' according to choosen languange
11  //  //
# Line 160  class Site_Boot { Line 163  class Site_Boot {
163    
164      // Set locale according to choosed language (needed for date/time functions)      // Set locale according to choosed language (needed for date/time functions)
165      // TODO: set this according to user's profile      // TODO: set this according to user's profile
166        // TODO: make an flib/Application/l10n/Locale.php from this (available by doing e.g. an '$locale_key = $app->l10n->getLocaleKey()')
167        // TODO: don't wire this to the locale-text setting
168        //             ---> actually wire the locale-text setting to $app->l10n->getLocaleKey()      (the other way round....)
169      $langkey = $this->localetext->getCurrentLanguage();      $langkey = $this->localetext->getCurrentLanguage();
170      if($langkey == "de") {      if($langkey == "de") {
171          setlocale (LC_ALL, 'de_DE');          setlocale (LC_ALL, 'de_DE');

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed