Jump to content
  • 0

Mailalerts - tłumaczenie


Kuba

Question

Hejhej,

 

Czy ktoś z Was wie jak można prztłumaczyć tekst na stronie modułu ps_emailalerts? Sam nagłówek da się przetłumaczyć bez problemu, natomiast nigdzie w tłumaczeniach nie widzę fragmentu "You don't have any email alerts yet" (ale jak zmienię oryginalny tekst w pliku, to na angielskiej stronie też się zmienia - jedyny problem, że Presta nie widzi, że może to przetłumaczyć).

Poniżej kod:

{block name='page_content'}
  <h2>{l s='My alerts' d='Modules.Mailalerts.Shop'}</h2>
  {if $mailAlerts}
      <ul>
      {foreach from=$mailAlerts item=mailAlert}
        <li>{include 'module:ps_emailalerts/views/templates/front/mailalerts-account-line.tpl' mailAlert=$mailAlert}</li>
      {/foreach}
      </ul>
  {else}
    <p class="warning">{l s="You don't have any mail alerts yet." d='Modules.Mailalerts.Shop'}</p>
  {/if}
{/block}

 

Macie jakiś pomysł?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Na samym początku było właśnie w pojedynczych i problem ten sam :( Co dziwne, pierwszy string z nagłówkiem działa i tłumaczy i zmienia się normalnie. Natomiast przy tłumaczeniu pojawia się "ModulesMailalertsShop - 1 wyrażeń - Brakuje -1" - może to jakiś trop?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...