Projects ⇒ Bugs ⇒ #360: Terms not translated in block-Forums_scroll_Last_post.php ⇒ CPG Dragonfly™ CMS
Bug #360 Terms not translated in block-Forums_scroll_Last_post.php
Project: Dragonfly 9.0 -> 9.0.2 Category: Blocks
Submitted: Tuesday, March 15, 2005 (17:49:21) Modified: Monday, April 25, 2005 (22:40:09)
Status: Closed Assigned to: Trevor
PHP Version: 5.0.3 HTTPD Server: Apache 2.0

View/Vote Add Comment

by: Mich
There are some terms that needs a string in translations

Reproduce code:
Terms not translated on lines 71-80

while (list($topic_id, $topic_last_post_id, $topic_title, $forum_name, $forum_id, $username, $user_id, $poster_id, $post_time) = $db->sql_fetchrow($result)) {
$post_time = formatDateTime($post_time, '%b %d, %Y at %T');
$content .= "<img src=\"$iconpath/icon_mini_message.gif\" border=\"0\" alt=\"\" />\n"
.'<a href="'.getlink("Forums&amp;file=viewtopic&amp;p=$topic_last_post_id#$topic_last_post_id")."\"><strong>$topic_title</strong></a><br />\n"
.'<i>Last post by <a href="'.getlink("Your_Account&amp;profile=$username")."\">$username</a>"
.' in <a href="'.getlink("Forums&amp;file=viewforum&amp;f=$forum_id")."\">$forum_name</a> $post_time</i>"
."<br /><br />\n";

Expected result:
Translated terms.

Actual result:
untranslated terms.
by: Mich
The terms are "Last post by ... in ... at ..."
by: Trevor
This bug has been fixed in the CVS.

Snapshots of the sources are packaged every 6 hours; this change
will be in the next snapshot. You can grab the snapshot at the
Downloads section.

Thank you for the report, and for helping us to make CPG-Nuke 9.0 -> 9.0.2 better.
User Info

Welcome Anonymous


Support for DragonflyCMS in a other languages: