Project

General

Profile

Actions

Bug #3492

open

Unit should be pluralized by default

Added by Shaun Walbridge about 16 years ago. Updated over 15 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
utilities
Target version:
Start date:
09/23/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3492

Description

In eml-physical.xsl, the template 'physicalsize' should see if the unit is greater than one, and pluralize accordingly. Currently, it just reads:
<xsl:value-of select="./@unit"/>

Perhaps instead, it could read:
<xsl:value-of select="./@unit"/>
<xsl:if test="@unit > '1'">
s
</xsl:if>

Mostly annoying because most EML documents with entities have a byte count, and it displays as '145902 byte' currently.


Related issues

Is duplicate of EML - Bug #3491: stylesheet fix for eml-physical.xsl, byte unitsResolvedMatt Jones09/22/2008

Actions
Actions

Also available in: Atom PDF