[pLog-svn] r7134 - in plugins/branches/lifetype-1.2: moblog/install recaptcha/class/action recaptcha/class/view technorati/class/tests
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Tue Sep 13 14:58:25 EDT 2011
Author: jondaley
Date: 2011-09-13 14:58:25 -0400 (Tue, 13 Sep 2011)
New Revision: 7134
Modified:
plugins/branches/lifetype-1.2/moblog/install/moblog.php
plugins/branches/lifetype-1.2/recaptcha/class/action/pluginrecaptchaupdateconfigaction.class.php
plugins/branches/lifetype-1.2/recaptcha/class/view/pluginrecaptchaconfigview.class.php
plugins/branches/lifetype-1.2/technorati/class/tests/plugintechnorati_test.class.php
Log:
update plugins for new locale class
Modified: plugins/branches/lifetype-1.2/moblog/install/moblog.php
===================================================================
--- plugins/branches/lifetype-1.2/moblog/install/moblog.php 2011-09-13 18:55:05 UTC (rev 7133)
+++ plugins/branches/lifetype-1.2/moblog/install/moblog.php 2011-09-13 18:58:25 UTC (rev 7134)
@@ -303,9 +303,9 @@
MoblogLogger::log( "There was an error adding the post to the database.");
}
else {
- lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/ltlocales.class.php" );
$config =& Config::getConfig();
- $locale =& Locales::getLocale( $config->getValue("default_locale" ));
+ $locale =& LTLocales::getLocale( $config->getValue("default_locale" ));
$responseBody = $locale->pr("moblog_body",$request->getTopic());
if( count($request->getAttachments()) > 0 ) {
Modified: plugins/branches/lifetype-1.2/recaptcha/class/action/pluginrecaptchaupdateconfigaction.class.php
===================================================================
--- plugins/branches/lifetype-1.2/recaptcha/class/action/pluginrecaptchaupdateconfigaction.class.php 2011-09-13 18:55:05 UTC (rev 7133)
+++ plugins/branches/lifetype-1.2/recaptcha/class/action/pluginrecaptchaupdateconfigaction.class.php 2011-09-13 18:58:25 UTC (rev 7134)
@@ -67,7 +67,7 @@
$blogSettings->setValue( "plugin_recaptcha_pubkey", $this-> _pubkey);
$blogSettings->setValue( "plugin_recaptcha_theme", $this-> _theme);
- $locale = Locales::getLocale( $blogSettings->getValue( "locale" ) );
+ $locale = LTLocales::getLocale( $blogSettings->getValue( "locale" ) );
$tmp = trim($this->_locale->tr("recaptcha_mangled_key"));
if ( $tmp != $this->_privkey )
{
Modified: plugins/branches/lifetype-1.2/recaptcha/class/view/pluginrecaptchaconfigview.class.php
===================================================================
--- plugins/branches/lifetype-1.2/recaptcha/class/view/pluginrecaptchaconfigview.class.php 2011-09-13 18:55:05 UTC (rev 7133)
+++ plugins/branches/lifetype-1.2/recaptcha/class/view/pluginrecaptchaconfigview.class.php 2011-09-13 18:58:25 UTC (rev 7134)
@@ -45,7 +45,7 @@
// But only, if it was set previously.
if ( $PrivKey != "" && $mangleKey )
{
- $locale = Locales::getLocale( $blogSettings->getValue( "locale" ) );
+ $locale = LTLocales::getLocale( $blogSettings->getValue( "locale" ) );
$PrivKey = trim($locale->tr("recaptcha_mangled_key"));
}
Modified: plugins/branches/lifetype-1.2/technorati/class/tests/plugintechnorati_test.class.php
===================================================================
--- plugins/branches/lifetype-1.2/technorati/class/tests/plugintechnorati_test.class.php 2011-09-13 18:55:05 UTC (rev 7133)
+++ plugins/branches/lifetype-1.2/technorati/class/tests/plugintechnorati_test.class.php 2011-09-13 18:58:25 UTC (rev 7134)
@@ -12,7 +12,7 @@
lt_include( PLOG_CLASS_PATH."class/dao/userstatus.class.php" );
lt_include( PLOG_CLASS_PATH."class/net/xmlrpc/IXR_Library.lib.php" );
lt_include( PLOG_CLASS_PATH."class/net/url.class.php" );
- lt_include( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+ lt_include( PLOG_CLASS_PATH."class/locale/ltlocales.class.php" );
lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfields.class.php" );
lt_include( PLOG_CLASS_PATH."class/dao/customfields/customfield.class.php" );
@@ -55,7 +55,7 @@
}
// load a UTF-8 locale
- $zhLocale =& Locales::getLocale( "zh_CN" );
+ $zhLocale =& LTLocales::getLocale( "zh_CN" );
// create the test blog
$blogs = new Blogs();
More information about the pLog-svn
mailing list