[limb-svn] r6035 - in 3.x/trunk/limb/i18n/src: toolkit translation
svn at limb-project.com
svn at limb-project.com
Mon Jul 2 10:31:13 MSD 2007
Author: serega
Date: 2007-07-02 10:31:13 +0400 (Mon, 02 Jul 2007)
New Revision: 6035
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6035
Modified:
3.x/trunk/limb/i18n/src/toolkit/lmbI18NTools.class.php
3.x/trunk/limb/i18n/src/translation/lmbQtDictionaryBackend.class.php
Log:
-- minor fix due to FS packages refactoring
Modified: 3.x/trunk/limb/i18n/src/toolkit/lmbI18NTools.class.php
===================================================================
--- 3.x/trunk/limb/i18n/src/toolkit/lmbI18NTools.class.php 2007-07-02 06:30:10 UTC (rev 6034)
+++ 3.x/trunk/limb/i18n/src/toolkit/lmbI18NTools.class.php 2007-07-02 06:31:13 UTC (rev 6035)
@@ -1,23 +1,23 @@
<?php
-/*
- * Limb PHP Framework
- *
- * @link http://limb-project.com
- * @copyright Copyright © 2004-2007 BIT(http://bit-creative.com)
- * @license LGPL http://www.gnu.org/copyleft/lesser.html
+/*
+ * Limb PHP Framework
+ *
+ * @link http://limb-project.com
+ * @copyright Copyright © 2004-2007 BIT(http://bit-creative.com)
+ * @license LGPL http://www.gnu.org/copyleft/lesser.html
*/
lmb_require('limb/toolkit/src/lmbAbstractTools.class.php');
lmb_require('limb/i18n/src/locale/lmbLocale.class.php');
lmb_require('limb/i18n/src/translation/lmbQtDictionaryBackend.class.php');
- at define('LIMB_LOCALE_INCLUDE_PATH', 'i18n/locale;limb/i18n/i18n/locale');
-
+ at define('LIMB_LOCALE_INCLUDE_PATH', 'i18n/locale;limb/i18n/i18n/locale');
+
/**
* class lmbI18NTools.
*
* @package i18n
* @version $Id$
- */
+ */
class lmbI18NTools extends lmbAbstractTools
{
protected $current_locale;
@@ -79,7 +79,7 @@
function createLocaleObject($locale)
{
- $file = $this->toolkit->findFileAlias($locale . '.ini', LIMB_LOCALE_INCLUDE_PATH, 'i18n');
+ $file = $this->toolkit->findFileByAlias($locale . '.ini', LIMB_LOCALE_INCLUDE_PATH, 'i18n');
if(defined('LIMB_VAR_DIR'))
return new lmbLocale($locale, new lmbCachedIni($file, LIMB_VAR_DIR . '/locale/'));
Modified: 3.x/trunk/limb/i18n/src/translation/lmbQtDictionaryBackend.class.php
===================================================================
--- 3.x/trunk/limb/i18n/src/translation/lmbQtDictionaryBackend.class.php 2007-07-02 06:30:10 UTC (rev 6034)
+++ 3.x/trunk/limb/i18n/src/translation/lmbQtDictionaryBackend.class.php 2007-07-02 06:31:13 UTC (rev 6035)
@@ -1,22 +1,22 @@
<?php
-/*
- * Limb PHP Framework
- *
- * @link http://limb-project.com
- * @copyright Copyright © 2004-2007 BIT(http://bit-creative.com)
- * @license LGPL http://www.gnu.org/copyleft/lesser.html
+/*
+ * Limb PHP Framework
+ *
+ * @link http://limb-project.com
+ * @copyright Copyright © 2004-2007 BIT(http://bit-creative.com)
+ * @license LGPL http://www.gnu.org/copyleft/lesser.html
*/
lmb_require('limb/i18n/src/translation/lmbI18NDictionary.class.php');
lmb_require('limb/fs/src/exception/lmbFileNotFoundException.class.php');
- at define('LIMB_TRANSLATIONS_INCLUDE_PATH', 'i18n/translations;limb/*/i18n/translations');
-
+ at define('LIMB_TRANSLATIONS_INCLUDE_PATH', 'i18n/translations;limb/*/i18n/translations');
+
/**
* class lmbQtDictionaryBackend.
*
* @package i18n
* @version $Id$
- */
+ */
class lmbQtDictionaryBackend //extends lmbDictionaryBackend ???
{
protected $use_cache = false;
@@ -77,7 +77,7 @@
function mapToFile($locale, $domain)
{
- return lmbToolkit :: instance()->findFileAlias($domain . '.' . $locale . '.ts', $this->search_path, 'i18n');
+ return lmbToolkit :: instance()->findFileByAlias($domain . '.' . $locale . '.ts', $this->search_path, 'i18n');
}
function getDOMDocument($dictionary)
More information about the limb-svn
mailing list