[limb-svn] r6481 - in 3.x/trunk/limb/i18n/src: toolkit translation
svn at limb-project.com
svn at limb-project.com
Thu Nov 1 17:17:34 MSK 2007
Author: serega
Date: 2007-11-01 17:17:34 +0300 (Thu, 01 Nov 2007)
New Revision: 6481
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6481
Modified:
3.x/trunk/limb/i18n/src/toolkit/lmbI18NTools.class.php
3.x/trunk/limb/i18n/src/translation/lmbQtDictionaryBackend.class.php
Log:
-- using different locator identifiers for locale files and translation files
Modified: 3.x/trunk/limb/i18n/src/toolkit/lmbI18NTools.class.php
===================================================================
--- 3.x/trunk/limb/i18n/src/toolkit/lmbI18NTools.class.php 2007-11-01 12:12:57 UTC (rev 6480)
+++ 3.x/trunk/limb/i18n/src/toolkit/lmbI18NTools.class.php 2007-11-01 14:17:34 UTC (rev 6481)
@@ -79,7 +79,7 @@
function createLocaleObject($locale)
{
- $file = $this->toolkit->findFileByAlias($locale . '.ini', LIMB_LOCALE_INCLUDE_PATH, 'i18n');
+ $file = $this->toolkit->findFileByAlias($locale . '.ini', LIMB_LOCALE_INCLUDE_PATH, 'i18n_locale');
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-11-01 12:12:57 UTC (rev 6480)
+++ 3.x/trunk/limb/i18n/src/translation/lmbQtDictionaryBackend.class.php 2007-11-01 14:17:34 UTC (rev 6481)
@@ -77,7 +77,7 @@
function mapToFile($locale, $domain)
{
- return lmbToolkit :: instance()->findFileByAlias($domain . '.' . $locale . '.ts', $this->search_path, 'i18n');
+ return lmbToolkit :: instance()->findFileByAlias($domain . '.' . $locale . '.ts', $this->search_path, 'i18n_translations');
}
function getDOMDocument($dictionary)
More information about the limb-svn
mailing list