[Fusionforge-commits] r7791 - in branches/Branch_4_8/gforge/www: forum forum/include project/admin
Julien HEYMAN
jheyman at libremir.placard.fr.eu.org
Wed Jun 10 15:45:25 CEST 2009
Author: jheyman
Date: 2009-06-10 15:45:25 +0200 (Wed, 10 Jun 2009)
New Revision: 7791
Modified:
branches/Branch_4_8/gforge/www/forum/attachment.php
branches/Branch_4_8/gforge/www/forum/include/AttachManager.class.php
branches/Branch_4_8/gforge/www/forum/index.php
branches/Branch_4_8/gforge/www/project/admin/massfinish.php
Log:
Missing translations
Modified: branches/Branch_4_8/gforge/www/forum/attachment.php
===================================================================
--- branches/Branch_4_8/gforge/www/forum/attachment.php 2009-06-10 08:47:49 UTC (rev 7790)
+++ branches/Branch_4_8/gforge/www/forum/attachment.php 2009-06-10 13:45:25 UTC (rev 7791)
@@ -160,7 +160,7 @@
exit_error(_('Error'),$fh->getErrorMessage());
}
if (!db_result($res,0,'filename')) {
- $filename = "No attach found";
+ $filename = _("No attach found");
} else {
$filename = db_result($res,0,'filename');
}
Modified: branches/Branch_4_8/gforge/www/forum/include/AttachManager.class.php
===================================================================
--- branches/Branch_4_8/gforge/www/forum/include/AttachManager.class.php 2009-06-10 08:47:49 UTC (rev 7790)
+++ branches/Branch_4_8/gforge/www/forum/include/AttachManager.class.php 2009-06-10 13:45:25 UTC (rev 7791)
@@ -144,8 +144,8 @@
exit_error('Error', _('Could Not Get Forum Object'));
} else {
if ( ((user_getid() == $attach_userid) || ($f->userIsAdmin())) && (!$msg->isPending()) ) { //only permit the user who created the attach to delete it, or an admin
- $attach .= " <a href=\"javascript:manageattachments('".util_make_url ("/forum/attachment.php?attachid=$attachid&group_id=$group_id&forum_id=$forum_id&msg_id=$msg_id&edit=yes")."','no');\">" . "<font size=\"-3\">" . html_image('ic/forum_edit.gif','37','15',array('alt'=>"Edit")) . "</font></a>";
- $attach .= " <a href=\"javascript:manageattachments('".util_make_url("/forum/attachment.php?attachid=$attachid&group_id=$group_id&forum_id=$forum_id&delete=yes")."','yes');\">" . "<font size=\"-3\">" . html_image('ic/forum_delete.gif','16','18',array('alt'=>"Delete")) . "</font></a>";
+ $attach .= " <a href=\"javascript:manageattachments('".util_make_url ("/forum/attachment.php?attachid=$attachid&group_id=$group_id&forum_id=$forum_id&msg_id=$msg_id&edit=yes")."','no');\">" . "<font size=\"-3\">" . html_image('ic/forum_edit.gif','37','15',array('alt'=>_("Edit"))) . "</font></a>";
+ $attach .= " <a href=\"javascript:manageattachments('".util_make_url("/forum/attachment.php?attachid=$attachid&group_id=$group_id&forum_id=$forum_id&delete=yes")."','yes');\">" . "<font size=\"-3\">" . html_image('ic/forum_delete.gif','16','18',array('alt'=>_("Delete"))) . "</font></a>";
}
}
} else {
@@ -156,7 +156,7 @@
} else {
$attach = html_image('ic/cfolder15.png',"15","13",array("border"=>"0")) . _('No attachment found');
if ( ((user_getid() == $msg->getPosterID()) || ($f->userIsAdmin())) && (!$msg->isPending()) ) { //only permit an admin or the user who created the message to insert an attach
- $attach .= " <a href=\"javascript:manageattachments('".util_make_url ("/forum/attachment.php?attachid=0&group_id=$group_id&forum_id=$forum_id&msg_id=$msg_id&edit=yes")."','no');\">" . "<font size=\"-3\">" . html_image('ic/forum_add.gif','37','15',array('alt'=>"Add")) . "</font></a>";
+ $attach .= " <a href=\"javascript:manageattachments('".util_make_url ("/forum/attachment.php?attachid=0&group_id=$group_id&forum_id=$forum_id&msg_id=$msg_id&edit=yes")."','no');\">" . "<font size=\"-3\">" . html_image('ic/forum_add.gif','37','15',array('alt'=>_("Add"))) . "</font></a>";
}
}
}
Modified: branches/Branch_4_8/gforge/www/forum/index.php
===================================================================
--- branches/Branch_4_8/gforge/www/forum/index.php 2009-06-10 08:47:49 UTC (rev 7790)
+++ branches/Branch_4_8/gforge/www/forum/index.php 2009-06-10 13:45:25 UTC (rev 7791)
@@ -56,7 +56,7 @@
// echo _('<p>Choose a forum and you can browse, search, and post messages.<p>');
- echo $HTML->subMenu(array("My Monitored Forums"),array("/forum/myforums.php?group_id=$group_id"));
+ echo $HTML->subMenu(array(_("My Monitored Forums")),array("/forum/myforums.php?group_id=$group_id"));
$tablearr=array(_('Forum'),_('Description'),_('Threads'),_('Posts'), _('Last Post'),_('Moderation Level'));
echo $HTML->listTableTop($tablearr);
Modified: branches/Branch_4_8/gforge/www/project/admin/massfinish.php
===================================================================
--- branches/Branch_4_8/gforge/www/project/admin/massfinish.php 2009-06-10 08:47:49 UTC (rev 7790)
+++ branches/Branch_4_8/gforge/www/project/admin/massfinish.php 2009-06-10 13:45:25 UTC (rev 7791)
@@ -99,7 +99,7 @@
}
-echo '<input type="submit" name="finished" value="Add All">
+echo '<input type="submit" name="finished" value="'._('Add All').'">
</form>';
project_admin_footer(array());
More information about the Fusionforge-commits
mailing list