summaryrefslogtreecommitdiff
path: root/framework/I18N/core
diff options
context:
space:
mode:
Diffstat (limited to 'framework/I18N/core')
-rw-r--r--framework/I18N/core/Gettext/MO.php2
-rw-r--r--framework/I18N/core/Gettext/PO.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/I18N/core/Gettext/MO.php b/framework/I18N/core/Gettext/MO.php
index 3e84ef2e..1afb5ea5 100644
--- a/framework/I18N/core/Gettext/MO.php
+++ b/framework/I18N/core/Gettext/MO.php
@@ -77,7 +77,7 @@ class TGettext_MO extends TGettext
* @return object File_Gettext_MO
* @param string $file path to GNU MO file
*/
- function TGettext_MO($file = '')
+ function __construct($file = '')
{
$this->file = $file;
}
diff --git a/framework/I18N/core/Gettext/PO.php b/framework/I18N/core/Gettext/PO.php
index 950a5de3..3caccf88 100644
--- a/framework/I18N/core/Gettext/PO.php
+++ b/framework/I18N/core/Gettext/PO.php
@@ -58,7 +58,7 @@ class TGettext_PO extends TGettext
* @return object File_Gettext_PO
* @param string path to GNU PO file
*/
- function TGettext_PO($file = '')
+ function __construct($file = '')
{
$this->file = $file;
}