Ignore:
Timestamp:
03/21/10 19:20:07 (10 years ago)
Author:
grum
Message:

Fix some bug, enhance some functionnalities, and make plugin ready to be translated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMetaData/amd_pip.class.inc.php

    r5183 r5226  
    125125        $value=$picturesTags[$key]->getLabel(); 
    126126 
    127         if($picturesTags[$key]->isTranslatable()) 
    128           $translatable="y"; 
    129         else 
    130           $translatable="n"; 
    131  
    132127        if($value instanceof DateTime) 
    133128        { 
     
    155150          ); 
    156151        } 
    157         $md['lines'][L10n::get($picturesTags[$key]->getName())]=$value; 
     152        $md['lines'][L10n::get($picturesTags[$key]->getName())]=$this->prepareValueForDisplay($value, $picturesTags[$key]->isTranslatable()); 
    158153      } 
    159154    } 
Note: See TracChangeset for help on using the changeset viewer.