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')");
@ -155,4 +155,4 @@
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_vfs (owner_id, createdby_id, modifiedby_id, created, modified, size, mime_type, deleteable, comment, app, directory, name, link_directory, link_name) VALUES (0,0,0,'1970-01-01',NULL,NULL,'Directory','Y',NULL,NULL,'/','', NULL, NULL)");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_vfs (owner_id, createdby_id, modifiedby_id, created, modified, size, mime_type, deleteable, comment, app, directory, name, link_directory, link_name) VALUES (0,0,0,'1970-01-01',NULL,NULL,'Directory','Y',NULL,NULL,'/','home', NULL, NULL)");
?>
?>

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