From fdb1771010ad1e3e33940449590aac3bea2d318d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 25 Nov 2011 06:33:01 +0000 Subject: [PATCH] =?UTF-8?q?changing=20french=20language=20from=20"French"?= =?UTF-8?q?=20to=20"Fran=C3=A7ais"=20for=20*updating*=20installations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- phpgwapi/setup/setup.inc.php | 2 +- phpgwapi/setup/tables_update.inc.php | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/phpgwapi/setup/setup.inc.php b/phpgwapi/setup/setup.inc.php index c7577748fa..c3696971da 100755 --- a/phpgwapi/setup/setup.inc.php +++ b/phpgwapi/setup/setup.inc.php @@ -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; diff --git a/phpgwapi/setup/tables_update.inc.php b/phpgwapi/setup/tables_update.inc.php index a0d38b4ebf..e45ebc88ae 100644 --- a/phpgwapi/setup/tables_update.inc.php +++ b/phpgwapi/setup/tables_update.inc.php @@ -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'; +}