From b927e32fa14869bc3a48d1fba6b2a161b9606270 Mon Sep 17 00:00:00 2001
From: Fabio Bas <ctrlaltca@gmail.com>
Date: Wed, 21 Jan 2015 09:21:46 +0100
Subject: Add namespaces: Exceptions, I18N, Security

---
 framework/I18N/TChoiceFormat.php                  | 6 ++++--
 framework/I18N/TDateFormat.php                    | 6 ++++--
 framework/I18N/TGlobalization.php                 | 5 +++--
 framework/I18N/TGlobalizationAutoDetect.php       | 6 ++++--
 framework/I18N/TI18NControl.php                   | 5 +++--
 framework/I18N/TNumberFormat.php                  | 6 ++++--
 framework/I18N/TTranslate.php                     | 6 ++++--
 framework/I18N/TTranslateParameter.php            | 6 ++++--
 framework/I18N/Translation.php                    | 6 ++++--
 framework/I18N/core/ChoiceFormat.php              | 5 +++--
 framework/I18N/core/CultureInfo.php               | 6 ++++--
 framework/I18N/core/DateFormat.php                | 6 ++++--
 framework/I18N/core/DateTimeFormatInfo.php        | 6 ++++--
 framework/I18N/core/Gettext/TGettext.php          | 6 ++++--
 framework/I18N/core/Gettext/TGettext_MO.php       | 5 +++--
 framework/I18N/core/Gettext/TGettext_PO.php       | 6 ++++--
 framework/I18N/core/HTTPNegotiator.php            | 6 ++++--
 framework/I18N/core/IMessageSource.php            | 6 ++++--
 framework/I18N/core/MessageCache.php              | 6 ++++--
 framework/I18N/core/MessageFormat.php             | 6 ++++--
 framework/I18N/core/MessageSource.php             | 5 +++--
 framework/I18N/core/MessageSource_Database.php    | 6 ++++--
 framework/I18N/core/MessageSource_MySQL.php       | 6 ++++--
 framework/I18N/core/MessageSource_SQLite.php      | 8 +++++---
 framework/I18N/core/MessageSource_XLIFF.php       | 6 ++++--
 framework/I18N/core/MessageSource_gettext.php     | 6 ++++--
 framework/I18N/core/NumberFormat.php              | 6 ++++--
 framework/I18N/core/NumberFormatInfo.php          | 6 ++++--
 framework/I18N/core/TCache_Lite.php               | 4 +++-
 framework/I18N/core/TMessageSourceIOException.php | 5 +++--
 framework/I18N/core/util.php                      | 4 +++-
 31 files changed, 117 insertions(+), 61 deletions(-)

(limited to 'framework/I18N')

diff --git a/framework/I18N/TChoiceFormat.php b/framework/I18N/TChoiceFormat.php
index 4525aaad..20130e3e 100644
--- a/framework/I18N/TChoiceFormat.php
+++ b/framework/I18N/TChoiceFormat.php
@@ -6,9 +6,11 @@
  * @link http://www.pradosoft.com/
  * @copyright Copyright &copy; 2005-2014 PradoSoft
  * @license http://www.pradosoft.com/license/
- * @package System.I18N
+ * @package Prado\I18N
  */
 
+namespace Prado\I18N;
+
  /**
  * Get the ChoiceFormat class.
  */
@@ -71,7 +73,7 @@ Prado::using('System.I18N.TTranslate');
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v1.0, last update on Fri Dec 24 21:38:49 EST 2004
- * @package System.I18N
+ * @package Prado\I18N
  */
 class TChoiceFormat extends TTranslate
 {
diff --git a/framework/I18N/TDateFormat.php b/framework/I18N/TDateFormat.php
index e7846be7..f5b2c6ec 100644
--- a/framework/I18N/TDateFormat.php
+++ b/framework/I18N/TDateFormat.php
@@ -6,9 +6,11 @@
  * @link http://www.pradosoft.com/
  * @copyright Copyright &copy; 2005-2014 PradoSoft
  * @license http://www.pradosoft.com/license/
- * @package System.I18N
+ * @package Prado\I18N
  */
 
+namespace Prado\I18N;
+
 /**
  * Get the DateFormat class.
  */
@@ -56,7 +58,7 @@ Prado::using('System.I18N.TI18NControl');
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v1.0, last update on Sat Dec 11 15:25:11 EST 2004
- * @package System.I18N
+ * @package Prado\I18N
  */
 class TDateFormat extends TI18NControl implements IDataRenderer
 {
diff --git a/framework/I18N/TGlobalization.php b/framework/I18N/TGlobalization.php
index 3fbaa2b4..67c77092 100644
--- a/framework/I18N/TGlobalization.php
+++ b/framework/I18N/TGlobalization.php
@@ -6,9 +6,10 @@
  * @link http://www.pradosoft.com/
  * @copyright Copyright &copy; 2005-2014 PradoSoft
  * @license http://www.pradosoft.com/license/
- * @package System.I18N
+ * @package Prado\I18N
  */
 
+namespace Prado\I18N;
 
 /**
  * TGlobalization contains settings for Culture, Charset
@@ -20,7 +21,7 @@
  *
  * @author Wei Zhuo<weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.66 $  $Date: ${DATE} ${TIME} $
- * @package System.I18N
+ * @package Prado\I18N
  * @since 3.0
  */
 class TGlobalization extends TModule
diff --git a/framework/I18N/TGlobalizationAutoDetect.php b/framework/I18N/TGlobalizationAutoDetect.php
index a79a128d..e5488e17 100644
--- a/framework/I18N/TGlobalizationAutoDetect.php
+++ b/framework/I18N/TGlobalizationAutoDetect.php
@@ -7,9 +7,11 @@
  * @copyright Copyright &copy; 2005-2014 PradoSoft
  * @license http://www.pradosoft.com/license/
  * @version $Revision: 1.66 $  $Date: ${DATE} ${TIME} $
- * @package System.I18N
+ * @package Prado\I18N
  */
 
+namespace Prado\I18N;
+
 /**
  * Import the HTTPNeogtiator
  */
@@ -21,7 +23,7 @@ Prado::using('System.I18N.core.HTTPNegotiator');
  *
  * @author Wei Zhuo<weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.66 $  $Date: ${DATE} ${TIME} $
- * @package System.I18N
+ * @package Prado\I18N
  */
 class TGlobalizationAutoDetect extends TGlobalization
 {
diff --git a/framework/I18N/TI18NControl.php b/framework/I18N/TI18NControl.php
index 96fc8b62..73f44420 100644
--- a/framework/I18N/TI18NControl.php
+++ b/framework/I18N/TI18NControl.php
@@ -6,9 +6,10 @@
  * @link http://www.pradosoft.com/
  * @copyright Copyright &copy; 2005-2014 PradoSoft
  * @license http://www.pradosoft.com/license/
- * @package System.I18N
+ * @package Prado\I18N
  */
 
+namespace Prado\I18N;
 
 /**
  * TI18NControl class.
@@ -27,7 +28,7 @@
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v1.0, last update on Sat Dec 11 15:25:11 EST 2004
- * @package System.I18N
+ * @package Prado\I18N
  */
 class TI18NControl extends TControl
 {
diff --git a/framework/I18N/TNumberFormat.php b/framework/I18N/TNumberFormat.php
index 89eab245..0af6d893 100644
--- a/framework/I18N/TNumberFormat.php
+++ b/framework/I18N/TNumberFormat.php
@@ -6,9 +6,11 @@
  * @link http://www.pradosoft.com/
  * @copyright Copyright &copy; 2005-2014 PradoSoft
  * @license http://www.pradosoft.com/license/
- * @package System.I18N
+ * @package Prado\I18N
  */
 
+namespace Prado\I18N;
+
 /**
  * Get the NumberFormat class.
  */
@@ -61,7 +63,7 @@ Prado::using('System.I18N.TI18NControl');
   *
   * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
   * @version v1.0, last update on Sat Dec 11 17:49:56 EST 2004
-  * @package System.I18N
+  * @package Prado\I18N
   */
 class TNumberFormat extends TI18NControl implements IDataRenderer
 {
diff --git a/framework/I18N/TTranslate.php b/framework/I18N/TTranslate.php
index 1365b937..516c3416 100644
--- a/framework/I18N/TTranslate.php
+++ b/framework/I18N/TTranslate.php
@@ -6,9 +6,11 @@
  * @link http://www.pradosoft.com/
  * @copyright Copyright &copy; 2005-2014 PradoSoft
  * @license http://www.pradosoft.com/license/
- * @package System.I18N
+ * @package Prado\I18N
  */
 
+namespace Prado\I18N;
+
 /**
  * Get the parent control class.
  */
@@ -57,7 +59,7 @@ Prado::using('System.I18N.TI18NControl');
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v1.0, last update on Fri Dec 24 21:38:49 EST 2004
- * @package System.I18N
+ * @package Prado\I18N
  */
 class TTranslate extends TI18NControl
 {
diff --git a/framework/I18N/TTranslateParameter.php b/framework/I18N/TTranslateParameter.php
index d5c41230..9a60f772 100644
--- a/framework/I18N/TTranslateParameter.php
+++ b/framework/I18N/TTranslateParameter.php
@@ -6,9 +6,11 @@
  * @link http://www.pradosoft.com/
  * @copyright Copyright &copy; 2005-2014 PradoSoft
  * @license http://www.pradosoft.com/license/
- * @package System.I18N
+ * @package Prado\I18N
  */
 
+namespace Prado\I18N;
+
 /**
  * TTranslateParameter component should be used inside the TTranslate component to
  * allow parameter substitution.
@@ -36,7 +38,7 @@
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v3.0, last update on Friday, 6 January 2006
- * @package System.I18N
+ * @package Prado\I18N
  */
 class TTranslateParameter extends TControl
 {
diff --git a/framework/I18N/Translation.php b/framework/I18N/Translation.php
index 9592ef53..14e58031 100644
--- a/framework/I18N/Translation.php
+++ b/framework/I18N/Translation.php
@@ -6,9 +6,11 @@
  * @link http://www.pradosoft.com/
  * @copyright Copyright &copy; 2005-2014 PradoSoft
  * @license http://www.pradosoft.com/license/
- * @package System.I18N
+ * @package Prado\I18N
  */
 
+namespace Prado\I18N;
+
 /**
  * Get the MessageFormat class.
  */
@@ -22,7 +24,7 @@ Prado::using('System.I18N.core.MessageFormat');
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v1.0, last update on Tue Dec 28 11:54:48 EST 2004
- * @package System.I18N
+ * @package Prado\I18N
  */
 class Translation extends TComponent
 {
diff --git a/framework/I18N/core/ChoiceFormat.php b/framework/I18N/core/ChoiceFormat.php
index f5db61db..6b61bb17 100644
--- a/framework/I18N/core/ChoiceFormat.php
+++ b/framework/I18N/core/ChoiceFormat.php
@@ -14,9 +14,10 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.1 $  $Date: 2005/01/11 07:19:39 $
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 
+namespace Prado\I18N\core;
 
 /**
  * ChoiceFormat class.
@@ -74,7 +75,7 @@
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v1.0, last update on Fri Dec 24 20:46:16 EST 2004
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 class ChoiceFormat
 {
diff --git a/framework/I18N/core/CultureInfo.php b/framework/I18N/core/CultureInfo.php
index fc20b833..7283175a 100644
--- a/framework/I18N/core/CultureInfo.php
+++ b/framework/I18N/core/CultureInfo.php
@@ -13,9 +13,11 @@
  * {@link http://prado.sourceforge.net/}
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 
+namespace Prado\I18N\core;
+
 /**
  * CultureInfo class.
  *
@@ -43,7 +45,7 @@
  * For example, Australian English is "en_AU".
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 class CultureInfo
 {
diff --git a/framework/I18N/core/DateFormat.php b/framework/I18N/core/DateFormat.php
index 6cfe1bfc..50bdf53c 100644
--- a/framework/I18N/core/DateFormat.php
+++ b/framework/I18N/core/DateFormat.php
@@ -13,9 +13,11 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.8 $  $Date: 2005/12/15 07:14:49 $
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 
+namespace Prado\I18N\core;
+
 /**
  * Get the DateTimeFormatInfo class.
  */
@@ -43,7 +45,7 @@ require_once(dirname(__FILE__).'/util.php');
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v1.0, last update on Sat Dec 04 14:10:49 EST 2004
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 class DateFormat
 {
diff --git a/framework/I18N/core/DateTimeFormatInfo.php b/framework/I18N/core/DateTimeFormatInfo.php
index d4deee1f..2f6e894f 100644
--- a/framework/I18N/core/DateTimeFormatInfo.php
+++ b/framework/I18N/core/DateTimeFormatInfo.php
@@ -14,9 +14,11 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.2 $  $Date: 2005/01/05 03:15:14 $
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 
+namespace Prado\I18N\core;
+
 /**
  * Get the CultureInfo class.
  */
@@ -73,7 +75,7 @@ require_once(dirname(__FILE__).'/CultureInfo.php');
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v1.0, last update on Fri Dec 03 22:30:31 EST 2004
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 class DateTimeFormatInfo
 {
diff --git a/framework/I18N/core/Gettext/TGettext.php b/framework/I18N/core/Gettext/TGettext.php
index 2c5f91c7..860a9208 100644
--- a/framework/I18N/core/Gettext/TGettext.php
+++ b/framework/I18N/core/Gettext/TGettext.php
@@ -13,9 +13,11 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.4 $  $Date: 2005/01/09 23:36:23 $
- * @package System.I18N.core
+ * @package Prado\I18N\core\Gettext
  */
 
+namespace Prado\I18N\core\Gettext;
+
 // +----------------------------------------------------------------------+
 // | PEAR :: File :: Gettext                                              |
 // +----------------------------------------------------------------------+
@@ -54,7 +56,7 @@
  * @author      Michael Wallner <mike@php.net>
  * @version     $Revision: 1.4 $
  * @access      public
- * @package System.I18N.core
+ * @package Prado\I18N\core\Gettext
  */
 class TGettext
 {
diff --git a/framework/I18N/core/Gettext/TGettext_MO.php b/framework/I18N/core/Gettext/TGettext_MO.php
index 3e84ef2e..d78b88e4 100644
--- a/framework/I18N/core/Gettext/TGettext_MO.php
+++ b/framework/I18N/core/Gettext/TGettext_MO.php
@@ -13,9 +13,10 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.3 $  $Date: 2005/08/27 03:21:12 $
- * @package System.I18N.core
+ * @package Prado\I18N\core\Gettext
  */
 
+namespace Prado\I18N\core\Gettext;
 
 // +----------------------------------------------------------------------+
 // | PEAR :: File :: Gettext :: MO                                        |
@@ -48,7 +49,7 @@ require_once dirname(__FILE__).'/TGettext.php';
  * @author      Michael Wallner <mike@php.net>
  * @version     $Revision: 1.3 $
  * @access      public
- * @package System.I18N.core
+ * @package Prado\I18N\core\Gettext
  */
 class TGettext_MO extends TGettext
 {
diff --git a/framework/I18N/core/Gettext/TGettext_PO.php b/framework/I18N/core/Gettext/TGettext_PO.php
index 950a5de3..9651da2e 100644
--- a/framework/I18N/core/Gettext/TGettext_PO.php
+++ b/framework/I18N/core/Gettext/TGettext_PO.php
@@ -13,9 +13,11 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.2 $  $Date: 2005/01/05 03:15:14 $
- * @package System.I18N.core
+ * @package Prado\I18N\core\Gettext
  */
 
+namespace Prado\I18N\core\Gettext;
+
 // +----------------------------------------------------------------------+
 // | PEAR :: File :: Gettext :: PO                                        |
 // +----------------------------------------------------------------------+
@@ -47,7 +49,7 @@ require_once dirname(__FILE__).'/TGettext.php';
  * @author      Michael Wallner <mike@php.net>
  * @version     $Revision: 1.2 $
  * @access      public
- * @package System.I18N.core
+ * @package Prado\I18N\core\Gettext
  */
 class TGettext_PO extends TGettext
 {
diff --git a/framework/I18N/core/HTTPNegotiator.php b/framework/I18N/core/HTTPNegotiator.php
index 26b532b8..9c96d568 100644
--- a/framework/I18N/core/HTTPNegotiator.php
+++ b/framework/I18N/core/HTTPNegotiator.php
@@ -14,9 +14,11 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.2 $  $Date: 2005/01/05 03:15:14 $
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 
+namespace Prado\I18N\core;
+
 /**
  * Include the CultureInfo class.
  */
@@ -29,7 +31,7 @@ require_once(dirname(__FILE__).'/CultureInfo.php');
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v1.0, last update on Fri Dec 24 16:01:35 EST 2004
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 class HTTPNegotiator
 {
diff --git a/framework/I18N/core/IMessageSource.php b/framework/I18N/core/IMessageSource.php
index f8263b97..32c56ebf 100644
--- a/framework/I18N/core/IMessageSource.php
+++ b/framework/I18N/core/IMessageSource.php
@@ -14,9 +14,11 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.3 $  $Date: 2005/01/09 22:15:32 $
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
  
+namespace Prado\I18N\core;
+
 /**
  * IMessageSource interface.
  * 
@@ -27,7 +29,7 @@
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v1.0, last update on Fri Dec 24 17:40:19 EST 2004
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 interface IMessageSource
 {
diff --git a/framework/I18N/core/MessageCache.php b/framework/I18N/core/MessageCache.php
index ad310258..722f2aac 100644
--- a/framework/I18N/core/MessageCache.php
+++ b/framework/I18N/core/MessageCache.php
@@ -2,9 +2,11 @@
 /**
  * Translation table cache.
  * @author $Author: weizhuo $
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 
+namespace Prado\I18N\core;
+
 /**
  * Load the cache lite library.
  */
@@ -13,7 +15,7 @@ require_once(dirname(__FILE__).'/TCache_Lite.php');
 /**
  * Cache the translation table into the file system.
  * It can cache each cataloug+variant or just the whole section.
- * @package System.I18N.core
+ * @package Prado\I18N\core
  * @author $Author: weizhuo $
  */
 class MessageCache
diff --git a/framework/I18N/core/MessageFormat.php b/framework/I18N/core/MessageFormat.php
index fd0d445d..64e53454 100644
--- a/framework/I18N/core/MessageFormat.php
+++ b/framework/I18N/core/MessageFormat.php
@@ -14,9 +14,11 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.5 $  $Date: 2005/08/27 03:21:12 $
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 
+namespace Prado\I18N\core;
+
 /**
  * Get the MessageSource classes.
  */
@@ -49,7 +51,7 @@ require_once(dirname(__FILE__).'/util.php');
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v1.0, last update on Fri Dec 24 20:46:16 EST 2004
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 class MessageFormat
 {
diff --git a/framework/I18N/core/MessageSource.php b/framework/I18N/core/MessageSource.php
index 50c13334..db24237a 100644
--- a/framework/I18N/core/MessageSource.php
+++ b/framework/I18N/core/MessageSource.php
@@ -13,9 +13,10 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.4 $  $Date: 2005/12/17 06:11:28 $
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 
+namespace Prado\I18N\core;
 
  /**
   * Get the IMessageSource interface.
@@ -68,7 +69,7 @@ require_once(dirname(__FILE__).'/MessageCache.php');
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v1.0, last update on Fri Dec 24 19:55:49 EST 2004
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 abstract class MessageSource implements IMessageSource
 {	
diff --git a/framework/I18N/core/MessageSource_Database.php b/framework/I18N/core/MessageSource_Database.php
index 142c28db..d887954d 100644
--- a/framework/I18N/core/MessageSource_Database.php
+++ b/framework/I18N/core/MessageSource_Database.php
@@ -11,9 +11,11 @@
  * The latest version of PRADO can be obtained from:
  * {@link http://prado.sourceforge.net/}
  *
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 
+namespace Prado\I18N\core;
+
 /**
  * Get the MessageSource class file.
  */
@@ -26,7 +28,7 @@ require_once(dirname(__FILE__).'/MessageSource.php');
  *
  * See the MessageSource::factory() method to instantiate this class.
  *
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 class MessageSource_Database extends MessageSource
 {
diff --git a/framework/I18N/core/MessageSource_MySQL.php b/framework/I18N/core/MessageSource_MySQL.php
index 743694fa..52715ecd 100644
--- a/framework/I18N/core/MessageSource_MySQL.php
+++ b/framework/I18N/core/MessageSource_MySQL.php
@@ -14,9 +14,11 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.4 $  $Date: 2005/02/25 09:59:40 $
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 
+namespace Prado\I18N\core;
+
 /**
  * Get the MessageSource class file.
  */
@@ -36,7 +38,7 @@ require_once(dirname(__FILE__).'/util.php');
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v1.0, last update on Fri Dec 24 16:58:58 EST 2004
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 class MessageSource_MySQL extends MessageSource
 {
diff --git a/framework/I18N/core/MessageSource_SQLite.php b/framework/I18N/core/MessageSource_SQLite.php
index 46b5d865..78e4e78d 100644
--- a/framework/I18N/core/MessageSource_SQLite.php
+++ b/framework/I18N/core/MessageSource_SQLite.php
@@ -14,9 +14,11 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.4 $  $Date: 2005/02/25 09:59:40 $
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
- 
+
+namespace Prado\I18N\core;
+
 /**
  * Get the MessageSource class file.
  */
@@ -36,7 +38,7 @@ require_once(dirname(__FILE__).'/util.php');
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v1.0, last update on Fri Dec 24 16:58:58 EST 2004
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 class MessageSource_SQLite extends MessageSource
 {
diff --git a/framework/I18N/core/MessageSource_XLIFF.php b/framework/I18N/core/MessageSource_XLIFF.php
index 198a1290..3b3a8813 100644
--- a/framework/I18N/core/MessageSource_XLIFF.php
+++ b/framework/I18N/core/MessageSource_XLIFF.php
@@ -14,9 +14,11 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.8 $  $Date: 2005/12/17 06:11:28 $
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 
+namespace Prado\I18N\core;
+
 /**
  * Get the MessageSource class file.
  */
@@ -35,7 +37,7 @@ require_once(dirname(__FILE__).'/MessageSource.php');
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v1.0, last update on Fri Dec 24 16:18:44 EST 2004
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 class MessageSource_XLIFF extends MessageSource
 {
diff --git a/framework/I18N/core/MessageSource_gettext.php b/framework/I18N/core/MessageSource_gettext.php
index 4419c395..f5af9f0d 100644
--- a/framework/I18N/core/MessageSource_gettext.php
+++ b/framework/I18N/core/MessageSource_gettext.php
@@ -14,9 +14,11 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.7 $  $Date: 2005/12/17 06:11:28 $
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 
+namespace Prado\I18N\core;
+
 /**
  * Get the MessageSource class file.
  */
@@ -37,7 +39,7 @@ require_once(dirname(__FILE__).'/Gettext/TGettext.php');
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v1.0, last update on Fri Dec 24 16:18:44 EST 2004
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 class MessageSource_gettext extends MessageSource
 {
diff --git a/framework/I18N/core/NumberFormat.php b/framework/I18N/core/NumberFormat.php
index ded64782..4bd8c838 100644
--- a/framework/I18N/core/NumberFormat.php
+++ b/framework/I18N/core/NumberFormat.php
@@ -14,9 +14,11 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.6 $  $Date: 2005/12/20 09:32:42 $
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 
+namespace Prado\I18N\core;
+
 /**
  * Get the NumberFormatInfo class file.
  */
@@ -69,7 +71,7 @@ require_once(dirname(__FILE__).'/util.php');
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v1.0, last update on Fri Dec 10 18:10:20 EST 2004
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 class NumberFormat
 {
diff --git a/framework/I18N/core/NumberFormatInfo.php b/framework/I18N/core/NumberFormatInfo.php
index 2a666726..4b37e64d 100644
--- a/framework/I18N/core/NumberFormatInfo.php
+++ b/framework/I18N/core/NumberFormatInfo.php
@@ -14,9 +14,11 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.3 $  $Date: 2005/08/04 05:27:19 $
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 
+namespace Prado\I18N\core;
+
 /**
  * Get the CultureInfo class file.
  */
@@ -43,7 +45,7 @@ require_once(dirname(__FILE__).'/CultureInfo.php');
  *
  * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version v1.0, last update on Sun Dec 05 14:48:26 EST 2004
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 class NumberFormatInfo
 {
diff --git a/framework/I18N/core/TCache_Lite.php b/framework/I18N/core/TCache_Lite.php
index 69e1c308..fddba41b 100644
--- a/framework/I18N/core/TCache_Lite.php
+++ b/framework/I18N/core/TCache_Lite.php
@@ -14,9 +14,11 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.3 $  $Date: 2005/10/09 10:24:12 $
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 
+namespace Prado\I18N\core;
+
 /**
 * Fast, light and safe Cache Class
 *
diff --git a/framework/I18N/core/TMessageSourceIOException.php b/framework/I18N/core/TMessageSourceIOException.php
index 6eaaf939..dea7031e 100644
--- a/framework/I18N/core/TMessageSourceIOException.php
+++ b/framework/I18N/core/TMessageSourceIOException.php
@@ -13,9 +13,10 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.4 $  $Date: 2005/12/17 06:11:28 $
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 
+namespace Prado\I18N\core;
 
 /**
  * TMessageSourceIOException thrown when unable to modify message source
@@ -23,7 +24,7 @@
  *
  * @author Wei Zhuo<weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.4 $  $Date: 2005/12/17 06:11:28 ${DATE} ${TIME} $
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 class TMessageSourceIOException extends TException
 {
diff --git a/framework/I18N/core/util.php b/framework/I18N/core/util.php
index f84c4fb2..c5f15467 100644
--- a/framework/I18N/core/util.php
+++ b/framework/I18N/core/util.php
@@ -14,10 +14,12 @@
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
  * @version $Revision: 1.3 $  $Date: 2005/08/27 03:21:12 $
- * @package System.I18N.core
+ * @package Prado\I18N\core
  */
 
 
+namespace Prado\I18N\core;
+
 	/**
 	 * For a given DSN (database connection string), return some information
 	 * about the DSN. This function comes from PEAR's DB package.
-- 
cgit v1.2.3