[sword-svn] r2228 - in trunk: include src/modules/filters

chrislit at crosswire.org chrislit at crosswire.org
Tue Jan 20 21:53:15 MST 2009


Author: chrislit
Date: 2009-01-20 21:53:15 -0700 (Tue, 20 Jan 2009)
New Revision: 2228

Modified:
   trunk/include/utf8transliterator.h
   trunk/src/modules/filters/utf8transliterator.cpp
Log:
disable all but Latin transliterator

Modified: trunk/include/utf8transliterator.h
===================================================================
--- trunk/include/utf8transliterator.h	2009-01-17 20:51:48 UTC (rev 2227)
+++ trunk/include/utf8transliterator.h	2009-01-21 04:53:15 UTC (rev 2228)
@@ -21,9 +21,18 @@
 #ifndef UTF8TRANSLITERATOR_H
 #define UTF8TRANSLITERATOR_H
 
-enum scriptEnum {SE_OFF, SE_LATIN, /*one-way (to) transliterators*/  SE_IPA, SE_BASICLATIN, SE_SBL, SE_TC, SE_BETA, SE_BGREEK, SE_SERA, SE_HUGOYE, SE_UNGEGN, SE_ISO, SE_ALALC, SE_BGNPCGN, /*two-way transliterators*/ SE_GREEK, SE_HEBREW, SE_CYRILLIC, SE_ARABIC, SE_SYRIAC, SE_KATAKANA, SE_HIRAGANA, SE_HANGUL, SE_DEVANAGARI, SE_TAMIL, SE_BENGALI, SE_GURMUKHI, SE_GUJARATI, SE_ORIYA, SE_TELUGU, SE_KANNADA, SE_MALAYALAM, SE_THAI, SE_GEORGIAN, SE_ARMENIAN, SE_ETHIOPIC, SE_GOTHIC, SE_UGARITIC, SE_COPTIC, SE_MEROITIC, SE_LINEARB, SE_CYPRIOT, SE_RUNIC, SE_OGHAM, SE_THAANA, SE_GLAGOLITIC, /*SE_TENGWAR, SE_CIRTH,*/ /*one-way (from) transliterators*/ SE_JAMO, SE_HAN, SE_KANJI};
+enum scriptEnum {SE_OFF, SE_LATIN, 
+/*one-way (to) transliterators*/ 
+SE_IPA, SE_BASICLATIN, SE_SBL, SE_TC, SE_BETA, SE_BGREEK, SE_SERA, SE_HUGOYE, SE_UNGEGN, SE_ISO, SE_ALALC, SE_BGNPCGN, 
+/*two-way transliterators*/ 
+SE_GREEK, SE_HEBREW, SE_CYRILLIC, SE_ARABIC, SE_SYRIAC, SE_KATAKANA, SE_HIRAGANA, SE_HANGUL, SE_DEVANAGARI, SE_TAMIL, SE_BENGALI, SE_GURMUKHI, SE_GUJARATI, SE_ORIYA, SE_TELUGU, SE_KANNADA, SE_MALAYALAM, SE_THAI, SE_GEORGIAN, SE_ARMENIAN, SE_ETHIOPIC, SE_GOTHIC, SE_UGARITIC, SE_COPTIC, SE_MEROITIC, SE_LINEARB, SE_CYPRIOT, SE_RUNIC, SE_OGHAM, SE_THAANA, SE_GLAGOLITIC, 
+/*SE_TENGWAR, SE_CIRTH,*/
+/*one-way (from) transliterators*/
+SE_JAMO, SE_HAN, SE_KANJI
+};
+
 #define NUMSCRIPTS 48
-#define NUMTARGETSCRIPTS NUMSCRIPTS-3//6
+#define NUMTARGETSCRIPTS 2 //NUMSCRIPTS-3//6
 
 #include <swoptfilter.h>
 

Modified: trunk/src/modules/filters/utf8transliterator.cpp
===================================================================
--- trunk/src/modules/filters/utf8transliterator.cpp	2009-01-17 20:51:48 UTC (rev 2227)
+++ trunk/src/modules/filters/utf8transliterator.cpp	2009-01-21 04:53:15 UTC (rev 2228)
@@ -25,51 +25,51 @@
 const char UTF8Transliterator::optionstring[NUMTARGETSCRIPTS][16] = {
         "Off",
         "Latin",
-        "IPA",
-        "Basic Latin",
-        "SBL",
-        "TC",
-        "Beta",
-        "BGreek",
-        "SERA",
-        "Hugoye",
-        "UNGEGN",
-        "ISO",
-        "ALA-LC",
-        "BGN-PCGN",
-        "Greek",
-        "Hebrew",
-        "Cyrillic",
-        "Arabic",
-        "Syriac",
-        "Katakana",
-        "Hiragana",
-        "Hangul",
-        "Devanagari",
-        "Tamil",
-        "Bengali",
-        "Gurmukhi",
-        "Gujarati",
-        "Oriya",
-        "Telugu",
-        "Kannada",
-        "Malayalam",
-        "Thai",
-        "Georgian",
-        "Armenian",
-        "Ethiopic",
-        "Gothic",
-        "Ugaritic",
-        "Coptic",
-        "Meroitic",
-        "Linear B",
-        "Cypriot",
-        "Runic",
-        "Ogham",
-        "Thaana",
-	"Glagolitic",
-//        "Tengwar",
-//        "Cirth"
+	//        "IPA",
+	//        "Basic Latin",
+	//        "SBL",
+	//        "TC",
+	//        "Beta",
+	//        "BGreek",
+	//        "SERA",
+	//        "Hugoye",
+	//        "UNGEGN",
+	//        "ISO",
+	//        "ALA-LC",
+	//        "BGN-PCGN",
+	//        "Greek",
+	//        "Hebrew",
+	//        "Cyrillic",
+	//        "Arabic",
+	//        "Syriac",
+	//        "Katakana",
+	//        "Hiragana",
+	//        "Hangul",
+	//        "Devanagari",
+	//        "Tamil",
+	//        "Bengali",
+	//        "Gurmukhi",
+	//        "Gujarati",
+	//        "Oriya",
+	//        "Telugu",
+	//        "Kannada",
+	//        "Malayalam",
+	//        "Thai",
+	//        "Georgian",
+	//        "Armenian",
+	//        "Ethiopic",
+	//        "Gothic",
+	//        "Ugaritic",
+	//        "Coptic",
+	//        "Meroitic",
+	//        "Linear B",
+	//        "Cypriot",
+	//        "Runic",
+	//        "Ogham",
+	//        "Thaana",
+	//	  "Glagolitic",
+	//        "Tengwar",
+	//        "Cirth"
 };
 
 const char UTF8Transliterator::optName[] = "Transliteration";




More information about the sword-cvs mailing list