diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2014-04-30 19:08:28 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-04-30 09:16:21 -0700 |
commit | 1739b4879aba545e29c5a85621b9a9e9a341cb4c (patch) | |
tree | eb8859dad6c9e8954e21bb1e00d86a0a09967a67 /xslt | |
parent | 97e9be1ba6040aad02891806e5f0fa6e30827815 (diff) | |
download | subsurface-1739b4879aba545e29c5a85621b9a9e9a341cb4c.tar.gz |
Improve header wording for CSV export
Duration is better term than time for the length of the dive. Also
remove the repetitive word dive from some of the header fields.
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/xml2csv.xslt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/xml2csv.xslt b/xslt/xml2csv.xslt index 56461bc58..3ba6b85be 100644 --- a/xslt/xml2csv.xslt +++ b/xslt/xml2csv.xslt @@ -6,7 +6,7 @@ <xsl:variable name="fs">,</xsl:variable> <xsl:template match="/divelog/dives"> - <xsl:value-of select="concat('"dive number"', $fs, '"dive date"', $fs, '"dive time"', $fs, '"time"', $fs, '"depth"', $fs, '"temperature"', $fs, '"pressure"')"/> + <xsl:value-of select="concat('"dive number"', $fs, '"date"', $fs, '"time"', $fs, '"duration"', $fs, '"depth"', $fs, '"temperature"', $fs, '"pressure"')"/> <xsl:text> </xsl:text> <xsl:apply-templates select="dive|trip/dive"/> |