changing french language from "French" to "Français" for *updating* installations

This commit is contained in:
Ralf Becker 2011-11-25 06:33:01 +00:00
parent 217eaad2d8
commit fdb1771010
2 changed files with 11 additions and 1 deletions

View File

@ -12,7 +12,7 @@
/* Basic information about this app */
$setup_info['phpgwapi']['name'] = 'phpgwapi';
$setup_info['phpgwapi']['title'] = 'EGroupware API';
$setup_info['phpgwapi']['version'] = '1.9.011';
$setup_info['phpgwapi']['version'] = '1.9.012';
$setup_info['phpgwapi']['versions']['current_header'] = '1.29';
$setup_info['phpgwapi']['enable'] = 3;
$setup_info['phpgwapi']['app_order'] = 1;

View File

@ -316,3 +316,13 @@ function phpgwapi_upgrade1_9_010()
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.9.011';
}
/**
* Language: French --> Français
*/
function phpgwapi_upgrade1_9_011()
{
$GLOBALS['egw_setup']->db->insert($GLOBALS['egw_setup']->languages_table,array('lang_name' => 'Français'),array('lang_id' => 'fr'),__LINE__,__FILE__);
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.9.012';
}