Permalink
Browse files

- Change use of old templateInit()/ezi18n() api and use class based a…

…pi's introduced in 4.3 instead

git-svn-id: http://svn.projects.ez.no/ezstarrating/trunk@126 618b1747-3c4a-446e-984b-cba050883b41
  • Loading branch information...
1 parent d9c3acf commit 924281881067afcf01c2eec90693b92cf700aac8 @andrerom andrerom committed Oct 13, 2010
@@ -7,6 +7,8 @@ Changes from version 1.2.0 to 1.3.0
*Enhancements*
+- Change use of old templateInit()/ezi18n() api and use class based api's introduced in 4.3 instead
+
Changes from version 1.1.0 to 1.2.0
====================================
@@ -27,7 +27,7 @@
* Only to be used by {@link ezsrRatingObject::fetchNodeByRating()}
* As other fetch functions won't have the needed rating values in the returned data.
*
- * @author André R.
+ * @author Andr� R.
*
*/
@@ -82,7 +82,7 @@ static function makeObjectsArray( $array , $with_contentobject = true )
if( $node['node_id'] == 1 )
{
if( !isset( $node['name'] ) || !$node['name'] )
- $node['name'] = ezi18n( 'kernel/content', 'Top Level Nodes' );
+ $node['name'] = ezpI18n::tr( 'kernel/content', 'Top Level Nodes' );
}
$object = new self( $node );
@@ -33,7 +33,7 @@ class ezsrRatingType extends eZDataType
*/
function __construct()
{
- parent::__construct( self::DATA_TYPE_STRING, ezi18n( 'extension/ezstarrating/datatype', 'Star Rating', 'Datatype name' ), array( 'serialize_supported' => true ) );
+ parent::__construct( self::DATA_TYPE_STRING, ezpI18n::tr( 'extension/ezstarrating/datatype', 'Star Rating', 'Datatype name' ), array( 'serialize_supported' => true ) );
}
/*!

0 comments on commit 9242818

Please sign in to comment.