[pLog-svn] r928 - plog/trunk/class/action/admin

mark at devel.plogworld.net mark at devel.plogworld.net
Thu Feb 3 03:30:43 GMT 2005


Author: mark
Date: 2005-02-03 03:30:42 +0000 (Thu, 03 Feb 2005)
New Revision: 928

Modified:
   plog/trunk/class/action/admin/adminupdateresourcealbumaction.class.php
Log:
Update $message not translate bug.

Modified: plog/trunk/class/action/admin/adminupdateresourcealbumaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdateresourcealbumaction.class.php	2005-02-02 19:38:01 UTC (rev 927)
+++ plog/trunk/class/action/admin/adminupdateresourcealbumaction.class.php	2005-02-03 03:30:42 UTC (rev 928)
@@ -62,7 +62,7 @@
 
             if( !$album ) {
             	$this->_view = new AdminResourcesListView( $this->_blogInfo );( $this->_blogInfo );
-                $this->_view->setErrorMessage( "error_updating_album" );
+                $this->_view->setErrorMessage( $this->_locale->tr("error_updating_album" ) );
                 $this->setCommonData();
 
                 return false;
@@ -78,7 +78,7 @@
             // and update the data in the database
             if( !$albums->updateAlbum( $album )) {
             	$this->_view = new AdminResourcesListView( $this->_blogInfo );( $this->_blogInfo );
-                $this->_view->setErrorMessage( "error_updating_album" );
+                $this->_view->setErrorMessage( $this->_locale->tr("error_updating_album" ) );
             	$this->setCommonData();
 
                 return false;




More information about the pLog-svn mailing list