[Fusionforge-commits] r11847 - branches/Branch_5_1/src/common/docman/views

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Mon Dec 20 15:00:45 CET 2010


Author: nerville
Date: 2010-12-20 15:00:44 +0100 (Mon, 20 Dec 2010)
New Revision: 11847

Modified:
   branches/Branch_5_1/src/common/docman/views/listfile.php
Log:
port from trunk: fix missing gettext

Modified: branches/Branch_5_1/src/common/docman/views/listfile.php
===================================================================
--- branches/Branch_5_1/src/common/docman/views/listfile.php	2010-12-20 13:58:53 UTC (rev 11846)
+++ branches/Branch_5_1/src/common/docman/views/listfile.php	2010-12-20 14:00:44 UTC (rev 11847)
@@ -104,10 +104,10 @@
 echo '</div>';
 
 if (isset($nested_docs[$dirid]) && is_array($nested_docs[$dirid])) {
-	$tabletop = array('', 'Filename', 'Title', 'Description', 'Author', 'Last time', 'Status', 'Size');
+	$tabletop = array('', _('Filename'), _('Title'), _('Description'), _('Author'), _('Last time'), _('Status'), _('Size'));
 	$classth = array('unsortable', '', '', '', '', '', '', '');
-	if (forge_check_perm ('docman', $group_id, 'approve'))
-		$tabletop[] = 'Actions';
+	if (forge_check_perm('docman', $group_id, 'approve'))
+		$tabletop[] = _('Actions');
 		$classth[] = 'unsortable';
 	echo '<div class="docmanDiv">';
 	echo $HTML->listTableTop($tabletop, false, 'sortable_docman_listfile', 'sortable', $classth);




More information about the Fusionforge-commits mailing list