enabled Slovenian language, thanks to Dragos translations

This commit is contained in:
Ralf Becker 2003-10-17 22:41:59 +00:00
parent 0103ae5f98
commit 50f3f7be43
3 changed files with 15 additions and 5 deletions

View File

@ -113,7 +113,7 @@
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('sh','Serbo-Croatian','No')"); $oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('sh','Serbo-Croatian','No')");
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('si','Singhalese','No')"); $oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('si','Singhalese','No')");
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('sk','Slovak','No')"); $oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('sk','Slovak','No')");
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('sl','Slovenian','No')"); $oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('sl','Slovenian','Yes')");
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('sm','Samoan','No')"); $oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('sm','Samoan','No')");
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('sn','Shona','No')"); $oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('sn','Shona','No')");
$oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('so','Somali','No')"); $oProc->query("INSERT INTO phpgw_languages (lang_id, lang_name, available) VALUES ('so','Somali','No')");

View File

@ -15,7 +15,7 @@
/* Basic information about this app */ /* Basic information about this app */
$setup_info['phpgwapi']['name'] = 'phpgwapi'; $setup_info['phpgwapi']['name'] = 'phpgwapi';
$setup_info['phpgwapi']['title'] = 'phpgwapi'; $setup_info['phpgwapi']['title'] = 'phpgwapi';
$setup_info['phpgwapi']['version'] = '0.9.99.005'; $setup_info['phpgwapi']['version'] = '0.9.99.006';
$setup_info['phpgwapi']['versions']['current_header'] = '1.24'; $setup_info['phpgwapi']['versions']['current_header'] = '1.24';
$setup_info['phpgwapi']['enable'] = 3; $setup_info['phpgwapi']['enable'] = 3;
$setup_info['phpgwapi']['app_order'] = 1; $setup_info['phpgwapi']['app_order'] = 1;

View File

@ -882,7 +882,9 @@
return $GLOBALS['setup_info']['phpgwapi']['currentver']; return $GLOBALS['setup_info']['phpgwapi']['currentver'];
} }
/*
* More eGroupWare 0.9.99 updates
*/
$test[] = '0.9.99.003'; $test[] = '0.9.99.003';
function phpgwapi_upgrade0_9_99_003() function phpgwapi_upgrade0_9_99_003()
@ -919,7 +921,6 @@
'precision' => '4' 'precision' => '4'
)); ));
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.99.004'; $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.99.004';
return $GLOBALS['setup_info']['phpgwapi']['currentver']; return $GLOBALS['setup_info']['phpgwapi']['currentver'];
} }
@ -932,8 +933,17 @@
'type' => 'longtext' 'type' => 'longtext'
)); ));
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.99.005'; $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.99.005';
return $GLOBALS['setup_info']['phpgwapi']['currentver']; return $GLOBALS['setup_info']['phpgwapi']['currentver'];
} }
$test[] = '0.9.99.005';
function phpgwapi_upgrade0_9_99_005()
{
$GLOBALS['phpgw_setup']->db->query("UPDATE phpgw_languages SET available='Yes' WHERE lang_id='sl'");
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.99.006';
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
?> ?>