GNU Patch #500 - Enabling Polish language. THIS WORKS AS AN API UPGRADE.

This commit is contained in:
skeeter 2002-09-01 13:00:39 +00:00
parent b53e0f1c94
commit 306bd52803
3 changed files with 14 additions and 3 deletions

View File

@ -98,7 +98,7 @@
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('om','Oromo / Afan','No')");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('or','Oriya','No')");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('pa','Punjabi','No')");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('pl','Polish','No')");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('pl','Polish','Yes')");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('ps','Pashto / Pushto','No')");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('pt','Portuguese','No')");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('qu','Quechua','No')");

View File

@ -94,4 +94,14 @@
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.004';
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
$test[] = '0.9.15.004';
function phpgwapi_upgrade0_9_15_004()
{
$GLOBALS['phpgw_setup']->db->query("UPDATE phpgw_languages set available='Yes' WHERE lang_id='pl'");
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.005';
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
?>

View File

@ -14,3 +14,4 @@ da Danish
nl Dutch
no Norwegian
sv Swedish
pl Polski