[sword-svn] r208 - trunk/modules/perlconverters

chrislit at crosswire.org chrislit at crosswire.org
Thu Jun 18 15:31:19 MST 2009


Author: chrislit
Date: 2009-06-18 15:31:19 -0700 (Thu, 18 Jun 2009)
New Revision: 208

Modified:
   trunk/modules/perlconverters/usfm2osis.pl
Log:
added \add support for Shona Bible USFM


Modified: trunk/modules/perlconverters/usfm2osis.pl
===================================================================
--- trunk/modules/perlconverters/usfm2osis.pl	2009-05-14 13:55:25 UTC (rev 207)
+++ trunk/modules/perlconverters/usfm2osis.pl	2009-06-18 22:31:19 UTC (rev 208)
@@ -755,6 +755,9 @@
 	# \tl...\tl*, Foreign Langauge (treated here merely as transliterated text)
 	$line =~ s/\\tl\b\s*(.*?)\\tl\*/<hi type="italic">$1<\/hi>/g; 
 
+	# \add...\add*, text added for translation purposes
+	$line =~ s/\\add\b\s*(.*?)\\add\*/<transChange type=\"added\">$1<\/transChange>/g; 
+
 	$line =~ s/_/ /g;
 
 




More information about the sword-cvs mailing list