Skip to content

Commit 51a0c5b

Browse files
maximehuranFlyingmana
authored andcommitted
Add translation to note
When we create a product attribute like this : ```php $installer->addAttribute(Mage_Catalog_Model_Product::ENTITY, "associated_title", array( // [...] 'note' => 'My Note', // [...] )); ``` The note is not translated even if the translation exists. So this change call the translation for the note information.
1 parent afc58e8 commit 51a0c5b

File tree

1 file changed

+1
-1
lines changed
  • app/design/adminhtml/default/default/template/catalog/form/renderer/fieldset

1 file changed

+1
-1
lines changed

app/design/adminhtml/default/default/template/catalog/form/renderer/fieldset/element.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<td class="value">
4747
<?php echo trim($this->getElementHtml()) ?>
4848
<?php if ($_element->getNote()) : ?>
49-
<p class="note"><?php echo $_element->getNote() ?></p>
49+
<p class="note"><?php echo $this->__($_element->getNote()); ?></p>
5050
<?php endif; ?>
5151
</td>
5252
<td class="scope-label"><span class="nobr"><?php echo $this->getScopeLabel() ?></span></td>

0 commit comments

Comments
 (0)