includes/lang.php
changeset 215 94db56b8124f
parent 210 2b283402e4e4
child 239 0f1b353570a7
equal deleted inserted replaced
214:a6ed8b6cdbe1 215:94db56b8124f
   422     foreach ( $subs as $key => $value )
   422     foreach ( $subs as $key => $value )
   423     {
   423     {
   424       $subs[$key] = strval($value);
   424       $subs[$key] = strval($value);
   425       $string = str_replace("%{$key}%", "{$subs[$key]}", $string);
   425       $string = str_replace("%{$key}%", "{$subs[$key]}", $string);
   426     }
   426     }
   427     return "[L] $string";
   427     return "L $string";
   428   }
   428   }
   429   
   429   
   430 } // class Language
   430 } // class Language
   431 
   431 
   432 ?>
   432 ?>