[PATCH] Identify converted files as imported

Miika Turkia miika.turkia at gmail.com
Fri Mar 8 10:12:38 PST 2013


Signed-off-by: Miika Turkia <miika.turkia at gmail.com>
---
 xslt/DivingLog.xslt           |    2 +-
 xslt/MacDive.xslt             |    2 +-
 xslt/SuuntoSDM.xslt           |    2 +-
 xslt/divelogs.xslt            |    2 +-
 xslt/jdivelog2subsurface.xslt |    2 +-
 xslt/udcf.xslt                |    2 +-
 xslt/uddf.xslt                |    2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/xslt/DivingLog.xslt b/xslt/DivingLog.xslt
index 91c5d50..4e7dc8b 100644
--- a/xslt/DivingLog.xslt
+++ b/xslt/DivingLog.xslt
@@ -3,7 +3,7 @@
   <xsl:output method="xml" indent="yes"/>
 
   <xsl:template match="/">
-    <divelog program='subsurface' version='2'>
+    <divelog program='subsurface-import' version='2'>
       <dives>
         <xsl:apply-templates select="/Divinglog/Logbook/Dive"/>
       </dives>
diff --git a/xslt/MacDive.xslt b/xslt/MacDive.xslt
index c719e69..4d83006 100644
--- a/xslt/MacDive.xslt
+++ b/xslt/MacDive.xslt
@@ -3,7 +3,7 @@
   <xsl:output method="xml" indent="yes"/>
 
   <xsl:template match="/">
-    <divelog program='subsurface' version='2'>
+    <divelog program='subsurface-import' version='2'>
       <settings>
         <xsl:for-each select="/dives/dive">
           <divecomputerid deviceid="ffffffff">
diff --git a/xslt/SuuntoSDM.xslt b/xslt/SuuntoSDM.xslt
index 3a56a10..7256952 100644
--- a/xslt/SuuntoSDM.xslt
+++ b/xslt/SuuntoSDM.xslt
@@ -5,7 +5,7 @@
 
   <xsl:template match="/">
     <dives>
-      <program name="subsurface" version="1"/>
+      <program name="subsurface-import" version="1"/>
       <xsl:apply-templates select="/SUUNTO/MSG"/>
     </dives>
   </xsl:template>
diff --git a/xslt/divelogs.xslt b/xslt/divelogs.xslt
index 3855c15..f66ffcc 100644
--- a/xslt/divelogs.xslt
+++ b/xslt/divelogs.xslt
@@ -4,7 +4,7 @@
   <xsl:output method="xml" indent="yes"/>
 
   <xsl:template match="/">
-    <divelog program='subsurface' version='2'>
+    <divelog program='subsurface-import' version='2'>
       <dives>
         <xsl:apply-templates select="DIVELOGSDATA"/>
       </dives>
diff --git a/xslt/jdivelog2subsurface.xslt b/xslt/jdivelog2subsurface.xslt
index b36eb96..5f3f37d 100644
--- a/xslt/jdivelog2subsurface.xslt
+++ b/xslt/jdivelog2subsurface.xslt
@@ -5,7 +5,7 @@
 
   <xsl:template match="/">
     <dives>
-      <program name="subsurface" version="1"/>
+      <program name="subsurface-import" version="1"/>
       <xsl:apply-templates select="/JDiveLog/JDive"/>
     </dives>
   </xsl:template>
diff --git a/xslt/udcf.xslt b/xslt/udcf.xslt
index 4f33626..b3c93e8 100644
--- a/xslt/udcf.xslt
+++ b/xslt/udcf.xslt
@@ -4,7 +4,7 @@
   <xsl:output method="xml" indent="yes"/>
 
   <xsl:template match="/">
-    <divelog program="subsurface" version="2">
+    <divelog program="subsurface-import" version="2">
       <settings>
         <divecomputerid deviceid="ffffffff">
           <xsl:apply-templates select="/PROFILE/DEVICE|/profile/device"/>
diff --git a/xslt/uddf.xslt b/xslt/uddf.xslt
index 5f11738..4af79d8 100644
--- a/xslt/uddf.xslt
+++ b/xslt/uddf.xslt
@@ -8,7 +8,7 @@
   <xsl:output method="xml" indent="yes"/>
 
   <xsl:template match="/">
-    <divelog program="subsurface" version="2">
+    <divelog program="subsurface-import" version="2">
       <settings>
         <divecomputerid deviceid="ffffffff">
           <xsl:apply-templates select="/uddf/generator|/u:uddf/u:generator"/>
-- 
1.7.9.5



More information about the subsurface mailing list