2012-08-04 5 views
0

H1 HTML 코드의 고객의 로그인 페이지가Magento 템플릿의 이상한 점 은요?

<h1 class="translate-inline" 
translate="[{shown:'Create an Account',translated:'Create an Account',original:'Create an Account',location:'Heading level 1',scope:'Mage_Customer'}]"> 
Create an Account 
</h1> 

하고 body HTML 코드에서

<span class="translate-inline-title translate-inline" 
translate="[{shown:'Create New Customer Account',translated:'Create New Customer Account',original:'Create New Customer Account',location:'Page title',scope:'Mage_Customer'}]"> 
TITLE 
</span> 

있다.

echo $this->__()으로 생성 된 코드는 모두 쓸모없는 코드입니다. 쓸데없는 코드를 제거하려면 어떻게해야합니까?

답변

2

Magento의 inline translations처럼 보이게 설정되어 있습니다. 관리자에서 비활성화 할 수 있습니다. System > Configuration > Developer > Translate Inline > Enabled for frontend

관련 문제