Main menu

Forum


[SOLVED] Mistake in default.event.php

  • Ralerope
  • Autore della discussione
  • New Member
  • New Member
Di più
1 Mese 1 Settimana fa - 1 Mese 1 Settimana fa #18541 da Ralerope
[SOLVED] Mistake in default.event.php è stato creato da Ralerope
Hi. You have a mistake in your code:

com_icagenda/site/themes/packs/default/default.event.php

at Line 89:

mistake: <div class="ic-divCell ic-label"><?php echo $EVENT_VIEW_DATE_LABEL; ?></div>

should be: <div class="ic-divCell ic-label"><?php echo JText::_('COM_ICAGENDA_EVENT_DATE'); ?></div>

Otherwise it is not possible to translate the label.
Ultima Modifica 1 Mese 1 Settimana fa da Lyr!C. Motivo: [SOLVED]

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
1 Mese 1 Settimana fa #18544 da Lyr!C
Risposta da Lyr!C al topic Mistake in default.event.php
Hello,

No, there's no error, and you can translate the strings (with language overrides)

The label is singluar or plural depending on the date(s): single or period or even multiple dates.

The variable there will return the correct label, singular or plural.

To translate it, there are 2 strings:
COM_ICAGENDA_EVENT_DATES_LABEL="Dates"
COM_ICAGENDA_EVENT_DATES_LABEL_1="Date"

Hope this helps?

Best regards,
Cyril

Latest version : iCagenda 3.9.3
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Ringraziano per il messaggio: Ralerope

Si prega Accedi o Crea un account a partecipare alla conversazione.

Tempo creazione pagina: 0.204 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new