Show
Ignore:
Timestamp:
10/05/07 20:07:02 (1 year ago)
Author:
anarcat
Message:

fix a longstanding issue in AlternC: don't show translation links for
which AlternC is not translated

this is done by checking if the locales/LANG directory exists, so it's
not foolproof, but it's better than simply checking if the locale is
configured (which is still done).

a bit of code refactoring was done while i'm here

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/bureau/class/config.php

    r1945 r1997  
    133133 
    134134/* Language */ 
    135 bindtextdomain("alternc", "/var/alternc/bureau/locales"); 
    136  
    137 if (!$do_not_set_lang_env) { 
    138   include("lang_env.php"); 
    139 
     135include_once("lang_env.php"); 
    140136 
    141137$mem=new m_mem();