added spanish spain and spanish mexico

This commit is contained in:
Lars Kneschke 2004-01-02 21:33:59 +00:00
parent 803a930a22
commit 6a5b4e957e
2 changed files with 12 additions and 1 deletions

View File

@ -37,7 +37,8 @@
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('el','Greek','No')");
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('en','English / US','Yes')");
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('eo','Esperanto','No')");
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('es','Spanish','Yes')");
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('es-es','Spanish / Spain','Yes')");
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('es-mx','Spanish / Mexico','Yes')");
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('et','Estonian','No')");
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('eu','Basque','No')");
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('fa','Persian','No')");

View File

@ -954,4 +954,14 @@
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.99.008';
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
$test[] = '0.9.99.008';
function phpgwapi_upgrade0_9_99_008()
{
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('es-es','Spanish / Spain','Yes')");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('es-mx','Spanish / Mexico','Yes')");
$GLOBALS['phpgw_setup']->oProc->query("DELETE FROM phpgw_languages where lang_id='es'");
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.99.009';
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
?>