Browse Source

reverted pluralization

pull/653/head
ajstanley 9 years ago
parent
commit
7e687cf97f
  1. 4
      islandora.module

4
islandora.module

@ -2189,9 +2189,9 @@ function islandora_islandora_overview_object(AbstractObject $object) {
} }
} }
} }
$headers = format_plural(count($rows), t('Content Model'), t('Content Models')); $header = count($rows) > 1 ? t('Content Models') : t('Content Model');
$table = theme('table', array( $table = theme('table', array(
'header' => array($headers), 'header' => array($header),
'rows' => $rows, 'rows' => $rows,
'empty' => t('No Islandora content model associated with this object.'))); 'empty' => t('No Islandora content model associated with this object.')));
return array('cmodels' => $table); return array('cmodels' => $table);

Loading…
Cancel
Save