-
iCagenda
-
iCagenda Theme Packs
-
[SOLVED] Mistake in default.event.php
[SOLVED] Mistake in default.event.php
-
Ralerope
-
Topic Author
-
New Member
-
Less
More
-
Posts: 1
-
Thank you received: 0
-
-
5 months 4 days ago - 5 months 2 days ago #18541
by 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.
Last edit: 5 months 2 days ago by Lyr!C. Reason: [SOLVED]
Please Log in or Create an account to join the conversation.
-
Lyr!C
-
-
Administrator
-
-
Lead Developer
Less
More
-
Posts: 6762
-
Thank you received: 605
-
-
-
-
5 months 2 days ago #18544
by Lyr!C
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.5
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)
.
The following user(s) said Thank You: Ralerope
Please Log in or Create an account to join the conversation.
-
iCagenda
-
iCagenda Theme Packs
-
[SOLVED] Mistake in default.event.php
Time to create page: 0.100 seconds