mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
enabled 'zh'=Chinese(simplified), changed version to 0.9.99.003
This commit is contained in:
parent
8e9ea3667f
commit
9400580dbf
@ -145,7 +145,7 @@
|
||||
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('wo','Wolof','No')");
|
||||
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('xh','Xhosa','No')");
|
||||
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('yo','Yoruba','No')");
|
||||
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('zh','Chinese','No')");
|
||||
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('zh','Chinese(simplified)','Yes')");
|
||||
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('zt','Chinese(Taiwan)','Yes')");
|
||||
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('zu','Zulu','No')");
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
/* Basic information about this app */
|
||||
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
||||
$setup_info['phpgwapi']['title'] = 'phpgwapi';
|
||||
$setup_info['phpgwapi']['version'] = '0.9.99.002';
|
||||
$setup_info['phpgwapi']['version'] = '0.9.99.003';
|
||||
$setup_info['phpgwapi']['versions']['current_header'] = '1.24';
|
||||
$setup_info['phpgwapi']['enable'] = 3;
|
||||
$setup_info['phpgwapi']['app_order'] = 1;
|
||||
|
@ -575,7 +575,7 @@
|
||||
|
||||
// this is the 0.9.15.004 update, needed for the polish translations
|
||||
$GLOBALS['phpgw_setup']->db->query("UPDATE languages set available='Yes' WHERE lang_id='pl'");
|
||||
|
||||
|
||||
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.14.500';
|
||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
|
||||
}
|
||||
@ -752,8 +752,7 @@
|
||||
// unfortunally they are still in the tables_current of 0.9.14.508
|
||||
// so it depends on having a new or an updated install, if one have them or not
|
||||
// we now check if they are there and drop them if thats the case
|
||||
//echo "<pre>"; print_r(debug_backtrace()); echo "</pre>\n";
|
||||
//echo "<pre>"; print_r($GLOBALS['phpgw_setup']->oProc); echo "</pre>\n";
|
||||
|
||||
$GLOBALS['phpgw_setup']->oProc->m_oTranslator->_GetColumns($GLOBALS['phpgw_setup']->oProc,'phpgw_accounts',$columns);
|
||||
$columns = explode(',',$columns);
|
||||
if (in_array('account_permissions',$columns))
|
||||
@ -822,6 +821,16 @@
|
||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
|
||||
}
|
||||
|
||||
$test[] = '0.9.99.002';
|
||||
function phpgwapi_upgrade0_9_99_002()
|
||||
{
|
||||
// needed for the chinese(simplified) translations
|
||||
$GLOBALS['phpgw_setup']->db->query("UPDATE phpgw_languages SET lang_name='Chinese(simplified)',available='Yes' WHERE lang_id='zh'");
|
||||
|
||||
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.99.003';
|
||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
|
||||
}
|
||||
|
||||
/*
|
||||
* Updates from phpGroupWare .16 branch
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user