OSB enhancements to date

This commit is contained in:
Deon George
2010-11-30 09:41:08 +11:00
parent 8715a2059b
commit ec6a542bc3
478 changed files with 23423 additions and 9309 deletions

View File

@@ -48,7 +48,7 @@ class CORE_translate {
function get_lang_pack($module, $language) {
# define the language names / ids (must match the language.name & language.id fields in the DB
$this->lang_arr[0] = 'english';
$this->lang_arr[0] = 'en';
# get the Core language pack
if($module=='CORE') {
@@ -132,6 +132,10 @@ class CORE_translate {
$language = DEFAULT_LANGUAGE;
}
#@todo TEMP
if ($language == 'en')
$language = 'english';
if(empty($module)) $module = 'CORE';
if(!empty($resource)) {