Event module 1.24 translation problem
univie - July 1, 2003 - 21:35
| Project: | Event |
| Component: | modules |
| Category: | bug report |
| Priority: | normal |
| Assigned: | killes@www.drop.org |
| Status: | closed |
Jump to:
Description
event,module 1.22
does not translate days of the week and monthnames in the date-location-line

#1
What exactly is the "date-location-line" ?
#2
Think I found it. Please test and close.
#3
Sorry something is wrong with the "fixed" event.module.
#1 get error:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /usr/home/vrp/html/modules/event.module on line 177
Parse error: parse error, unexpected '\"' in /usr/home/vrp/html/modules/event.module on line 177
I erased the "\" in line 177 [\"large\"]
$output .= "<br /> ". strtr(t("%date at %location."), array("%date" => format_date($node->start, \"large\"), "%location" => $node->location)) ."<br />";#2 But the date (day of week and name of month) remains still untranslated
#4
Additional bug in event.module?
in the detail-textarea it is not possible to make lines by using just returns
texttext
text
is shown as
text text textonly html-formatting is possible.
#5
It is fixed now. Hopefully.
#6
Thank You for Your efforts.
The module works without error.
But no translation of day and months name. More details:
#1 The tranlsation works on the calendar block in the sidebar
#2The tranlsation works in the form
this is code line 268
form .= form_select("", "year", ($year ? $year : date("Y")), $years). form_select("", "month", ($month ? $month : date("m")), $months) . form_select("", "day", ($day ? $day : date("d")), $days) . form_submit(t("Show"));#3 But it does not work in the line where event date and location are presented
I think this is code line 177
$output .= "<br /> ". strtr(t("%date at %location."), array("%date" => format_date($node->start, "large"), "%location" => $node->location)) ."<br />";Sure I can help myself to change the date format from "large" to "small". then there are no names of day or months. But this is not the elegant way.
#4 The problem with the line feeds still exists (But maybe I am wrong and html-formatting is standard input. But other modules don't need html for delivering content which make the usability for people with no html-knowledg better.
#7
(see # 4 above message)
the line break and formatting works now as it should. Great. Thank You.
#8