[jsword-svn] r1252 - in trunk/jsword/src/main/java/org/crosswire/jsword/book: . sword

dmsmith at www.crosswire.org dmsmith at www.crosswire.org
Fri Mar 16 10:43:29 MST 2007


Author: dmsmith
Date: 2007-03-16 10:43:28 -0700 (Fri, 16 Mar 2007)
New Revision: 1252

Modified:
   trunk/jsword/src/main/java/org/crosswire/jsword/book/BookCategory.java
   trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/BookType.java
   trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/ConfigEntryType.java
Log:
Made "General Books" show up as a category in the Installer.

Modified: trunk/jsword/src/main/java/org/crosswire/jsword/book/BookCategory.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/jsword/book/BookCategory.java	2007-03-15 16:50:58 UTC (rev 1251)
+++ trunk/jsword/src/main/java/org/crosswire/jsword/book/BookCategory.java	2007-03-16 17:43:28 UTC (rev 1252)
@@ -66,7 +66,7 @@
     /**
      * Books that are not any of the above
      */
-    public static final BookCategory GENERAL_BOOK = new BookCategory("General Book"); //$NON-NLS-1$
+    public static final BookCategory GENERAL_BOOK = new BookCategory("General Books"); //$NON-NLS-1$
 
     /**
      * Books that are not any of the above

Modified: trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/BookType.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/BookType.java	2007-03-15 16:50:58 UTC (rev 1251)
+++ trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/BookType.java	2007-03-16 17:43:28 UTC (rev 1252)
@@ -251,7 +251,7 @@
     /**
      * Generic Books
      */
-    public static final BookType RAW_GEN_BOOK = new BookType("RawGenBook", BookCategory.OTHER) //$NON-NLS-1$ 
+    public static final BookType RAW_GEN_BOOK = new BookType("RawGenBook", BookCategory.GENERAL_BOOK) //$NON-NLS-1$ 
     {
         protected Book getBook(SwordBookMetaData sbmd, AbstractBackend backend)
         {

Modified: trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/ConfigEntryType.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/ConfigEntryType.java	2007-03-15 16:50:58 UTC (rev 1251)
+++ trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/ConfigEntryType.java	2007-03-16 17:43:28 UTC (rev 1252)
@@ -242,6 +242,7 @@
             "Bible", //$NON-NLS-1$
             "Dictionary", //$NON-NLS-1$
             "Commentary", //$NON-NLS-1$
+            "General Books", //$NON-NLS-1$
         }));
 
         /**




More information about the jsword-svn mailing list