0

h1 html代码的客户登录页面是

<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>

并且有

<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>

bodyhtml代码下。

我发现所有这些都会有那些无用的代码,如果它是由echo $this->__(). 如何删除无用的代码?

4

1 回答 1

2

看起来 Magentoinline translations已启用。您可以在管理员下禁用它System > Configuration > Developer > Translate Inline > Enabled for frontend

于 2012-08-04T10:22:55.830 回答