peiyongz 2002/09/30 15:09:58
Modified: c/tools/NLS/Xlat Xlat.hpp Xlat.cpp
Log:
To generate icu resource file (in text) for error message.
Revision Changes Path
1.7 +4 -1 xml-xerces/c/tools/NLS/Xlat/Xlat.hpp
Index: Xlat.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/tools/NLS/Xlat/Xlat.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Xlat.hpp 4 Jul 2002 17:40:07 -0000 1.6
+++ Xlat.hpp 30 Sep 2002 22:09:58 -0000 1.7
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.7 2002/09/30 22:09:58 peiyongz
+ * To generate icu resource file (in text) for error message.
+ *
* Revision 1.6 2002/07/04 17:40:07 tng
* Use new DOM in Xlat.
*
@@ -114,7 +117,7 @@
#include "Xlat_CppSrc.hpp"
#include "Xlat_Win32RC.hpp"
#include "Xlat_MsgCatalog.hpp"
-
+#include "Xlat_ICUResourceBundle.hpp"
// ---------------------------------------------------------------------------
1.13 +8 -1 xml-xerces/c/tools/NLS/Xlat/Xlat.cpp
Index: Xlat.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/tools/NLS/Xlat/Xlat.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- Xlat.cpp 4 Jul 2002 17:40:07 -0000 1.12
+++ Xlat.cpp 30 Sep 2002 22:09:58 -0000 1.13
@@ -57,6 +57,9 @@
/*
* $Log$
+ * Revision 1.13 2002/09/30 22:09:58 peiyongz
+ * To generate icu resource file (in text) for error message.
+ *
* Revision 1.12 2002/07/04 17:40:07 tng
* Use new DOM in Xlat.
*
@@ -456,9 +459,13 @@
case OutFormat_MsgCatalog :
formatter = new MsgCatFormatter;
break;
+
+ case OutFormat_ResBundle:
+ formatter = new ICUResBundFormatter;
+ break;
default :
- wprintf(L"Uknown formatter type enum\n\n");
+ wprintf(L"Unknown formatter type enum\n\n");
throw ErrReturn_Internal;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]