OSB enhancements to date
This commit is contained in:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user