Jump to content

Parts of the page is not translating


Recommended Posts

Oops.  I got the dev team to look into this more closely, and you are right, there are a few typos in the code. :-[

 

It's already been fixed for the next release.

 

In the meantime, you can fix it yourself quite easily.  In /modules/blockpermanentlinks, just open the file: blockpermanentlinks-header.tpl and replace all the code in there with the following code:

 

<ul id="permanent_links">
    <!-- Sitemap -->
    <li class="sitemap">
        <a href="{$base_dir}sitemap.php">{l s='sitemap' mod='blockpermanentlinks'}</a>
    </li>
    <!-- Contact -->
    <li class="contact">
        <a href="{$base_dir}contact-form.php">{l s='contact' mod='blockpermanentlinks'}</a>
    </li>
    <!-- Bookmark -->
    <li class="add_bookmark">
        <a href="javascript:addBookmark('{$shop_name}', '{$come_from}');">{l s='bookmark this page' mod='blockpermanentlinks'}</a>
    </li>
</ul>

 

Then re-start the Back Office and re-translate.  That should work; let us know if it doesn't. :)

Link to comment
Share on other sites

ops i forgot to say i did different...

 

i try this way but didn't work. so i changed file "blockpermanentlinks.tpl" like this:

 

<!-- Block permanent links module -->
<div id="permanent_links">
<!-- Sitemap -->
<div class="sitemap">
	<a href="{$base_dir}sitemap.php"><img src="{$img_dir}icon/sitemap.png" alt="{l s='Mapa do Site' mod='blockpermanentlink'}" title="{l s='Mapa do Site' mod='blockpermanentlink'}" /></a> 
	<a href="{$base_dir}sitemap.php">{l s='Mapa do Site' mod='blockpermanentlink'}</a>
</div>
<!-- Contact -->
<div class="contact">
	<a href="{$base_dir}contact-form.php"><img src="{$img_dir}icon/contact.png" alt="{l s='Contato' mod='blockpermanentlink'}" title="{l s='Contato' mod='blockpermanentlink'}" /></a> 
	<a href="{$base_dir}contact-form.php">{l s='Contato' mod='blockpermanentlink'}</a>
</div>
<!-- Bookmark -->
<div class="add_bookmark">
	<script>writeBookmarkLink('{$come_from}', '{$shop_name}', '{l s='Adicionar aos Favoritos' mod='blockpermanentlink'}', '{$img_dir}icon/star.png');</script>
	<script>writeBookmarkLink('{$come_from}', '{$shop_name}', '{l s='Adicionar aos Favoritos' mod='blockpermanentlink'}');</script>
</div>
</div>
<!-- /Block permanent links module -->

 

now is ok :D

Link to comment
Share on other sites

×
×
  • Create New...