[sword-devel] SynodalProt patch

Nic Carter niccarter at mac.com
Tue Mar 23 18:50:00 MST 2010


I was recently given a header file for PocketSword (ultimately, for SWORD 1.6.x) to allow for a Protestant version of the Synodal versification.  I'm not sure how many different versifications we want in SWORD, but until we allow for some sort of dynamic reading of versifications (similar to the locales.d for book name translations?), what is the criteria for allowing new versifications into SWORD?  I remember Chris mentioning something about decisions he makes when adding a new av11n, but I can't find the post.  :(
Apparently this is similar to the Synodal v11n, but doesn't contain some books, chapters & verses.  There are notes at the top of the header file that hopefully explain it?  :)

This is for a module named Central Asian Russian (CARS).

I've tested it and it's currently in v1.2.0 of PocketSword, which is live in the App Store, but I'm only just getting around to submitting this here!  Attached is a patch for versemgr.cpp & the new header file for SynodalProt.  :)

Thanks, ybic
	nic...  :)

----
Nic Carter
PocketSword Developer - an iPhone Bible Study app
www: http://crosswire.org/pocketsword
iTunes: http://itunes.apple.com/app/Pocketsword/id341046078
Twitter: http://twitter.com/pocketsword


Index: /Users/nicc/local/src/PocketSword/externals/sword/src/mgr/versemgr.cpp
===================================================================
--- /Users/nicc/local/src/PocketSword/externals/sword/src/mgr/versemgr.cpp	(revision 18)
+++ /Users/nicc/local/src/PocketSword/externals/sword/src/mgr/versemgr.cpp	(working copy)
@@ -36,6 +36,7 @@
 #include <canon_nrsv.h>		// NRSV v11n system
 #include <canon_nrsva.h>	// NRSVA + Apocrypha v11n system
 #include <canon_synodal.h>	// Russian Synodal v11n system
+#include <canon_synodalprot.h>	// Russian Protestant Synodal v11n system
 #include <canon_vulg.h>		// Vulgate v11n system
 #include <canon_german.h>	// German v11n system
 #include <canon_luther.h>	// Luther v11n system
@@ -58,6 +59,7 @@
 		systemVerseMgr->registerVersificationSystem("NRSV", otbooks, ntbooks, vm_nrsv);
 		systemVerseMgr->registerVersificationSystem("NRSVA", otbooks_nrsva, ntbooks, vm_nrsva);
 		systemVerseMgr->registerVersificationSystem("Synodal", otbooks_synodal, ntbooks_synodal, vm_synodal);
+		systemVerseMgr->registerVersificationSystem("SynodalProt", otbooks_synodalprot, ntbooks_synodalprot, vm_synodalprot);
 		systemVerseMgr->registerVersificationSystem("Vulg", otbooks_vulg, ntbooks_vulg, vm_vulg);
 		systemVerseMgr->registerVersificationSystem("German", otbooks_german, ntbooks_german, vm_german);
 		systemVerseMgr->registerVersificationSystem("Luther", otbooks_luther, ntbooks_luther, vm_luther);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: canon_synodalprot.h
Type: application/octet-stream
Size: 9964 bytes
Desc: not available
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20100324/0a851399/attachment.obj>


More information about the sword-devel mailing list