[kaffe] CVS kaffe (guilhem): Added some i18n support to kaffe-bin.

Kaffe CVS cvs-commits at kaffe.org
Fri Jun 4 12:49:03 PDT 2004


PatchSet 4822 
Date: 2004/06/04 19:32:32
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Added some i18n support to kaffe-bin.

       * po/fr.po, po/kaffe.pot: New files.

        * po/LINGUAS: Added fr.

        * po/POTFILES.in: Added kaffe/kaffe/main.c

        * kaffe/kaffe/main.c: gettextized messages. Initialize message
        locales.

        * configure.ac: Initialize the locale path for messages. New C
        define: KAFFE_LOCALEDIR.

        * configure, config/config.h.in: Regenerated.

Members: 
	ChangeLog:1.2390->1.2391 
	configure:1.326->1.327 
	configure.ac:1.25->1.26 
	config/config.h.in:1.102->1.103 
	kaffe/kaffe/main.c:1.53->1.54 
	po/LINGUAS:1.1->1.2 
	po/POTFILES.in:1.1->1.2 
	po/fr.po:INITIAL->1.1 
	po/kaffe.pot:INITIAL->1.1 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2390 kaffe/ChangeLog:1.2391
--- kaffe/ChangeLog:1.2390	Fri Jun  4 17:45:18 2004
+++ kaffe/ChangeLog	Fri Jun  4 19:32:32 2004
@@ -1,3 +1,19 @@
+2004-06-04  Guilhem Lavaux <guilhem at kaffe.org>
+
+	* po/fr.po, po/kaffe.pot: New files.
+
+	* po/LINGUAS: Added fr.
+
+	* po/POTFILES.in: Added kaffe/kaffe/main.c
+
+	* kaffe/kaffe/main.c: gettextized messages. Initialize message
+	locales.
+
+	* configure.ac: Initialize the locale path for messages. New C
+	define: KAFFE_LOCALEDIR.
+	
+	* configure, config/config.h.in: Regenerated.
+
 2004-06-04  Dalibor Topic  <robilad at kaffe.org>
 
 	* libraries/javalib/java/lang/SecurityManager.java:
Index: kaffe/configure
diff -u kaffe/configure:1.326 kaffe/configure:1.327
--- kaffe/configure:1.326	Thu Jun  3 16:21:26 2004
+++ kaffe/configure	Fri Jun  4 19:32:34 2004
@@ -25840,6 +25840,14 @@
 
 
 
+KAFFE_LOCALEDIR="${datadir}/locale"
+eval KAFFE_LOCALEPATH=$KAFFE_LOCALEDIR
+
+cat >>confdefs.h <<_ACEOF
+#define KAFFE_LOCALEDIR "$KAFFE_LOCALEPATH"
+_ACEOF
+
+
 
 
 
Index: kaffe/configure.ac
diff -u kaffe/configure.ac:1.25 kaffe/configure.ac:1.26
--- kaffe/configure.ac:1.25	Thu Jun  3 16:21:37 2004
+++ kaffe/configure.ac	Fri Jun  4 19:32:36 2004
@@ -250,6 +250,10 @@
 AM_GNU_GETTEXT([external])
 AM_GNU_GETTEXT_VERSION(0.14.1)
 
+KAFFE_LOCALEDIR="${datadir}/locale"
+eval KAFFE_LOCALEPATH=$KAFFE_LOCALEDIR
+AC_DEFINE_UNQUOTED(KAFFE_LOCALEDIR, "$KAFFE_LOCALEPATH", [Full path to the directory containing kaffe's locales])
+
 dnl =========================================================================
 dnl Do we need underscore?
 dnl -------------------------------------------------------------------------
Index: kaffe/config/config.h.in
diff -u kaffe/config/config.h.in:1.102 kaffe/config/config.h.in:1.103
--- kaffe/config/config.h.in:1.102	Thu Jun  3 16:21:41 2004
+++ kaffe/config/config.h.in	Fri Jun  4 19:32:37 2004
@@ -661,6 +661,9 @@
 /* Define to 1 if `in6addr_loopback' is declared by <netinet/in.h> */
 #undef IN6ADDR_LOOPBACK_DECLARED
 
+/* Full path to the directory containing kaffe's locales */
+#undef KAFFE_LOCALEDIR
+
 /* Define if signal handlers must be reset upon delivery */
 #undef KAFFE_SIGNAL_ONE_SHOT
 
Index: kaffe/kaffe/kaffe/main.c
diff -u kaffe/kaffe/kaffe/main.c:1.53 kaffe/kaffe/kaffe/main.c:1.54
--- kaffe/kaffe/kaffe/main.c:1.53	Wed May 26 21:01:53 2004
+++ kaffe/kaffe/kaffe/main.c	Fri Jun  4 19:32:37 2004
@@ -35,6 +35,13 @@
 #include "methodCache.h"
 #include "external.h"
 
+#if defined(HAVE_GETTEXT)
+#include <libintl.h>
+#define _(T) gettext(T)
+#else
+#define _(T) (T)
+#endif
+
 #if defined(KAFFE_PROFILER)
 extern int profFlag;
 #endif
@@ -71,6 +78,13 @@
 	int farg;
 	const char* cp;
 
+#if defined(HAVE_GETTEXT)
+	setlocale(LC_MESSAGES, "");
+	setlocale(LC_CTYPE, "");
+	bindtextdomain(PACKAGE, KAFFE_LOCALEDIR);
+	textdomain(PACKAGE);
+#endif
+
 #if defined(MAIN_MD)
 	/* Machine specific main first */
 	MAIN_MD;
@@ -419,7 +433,7 @@
 
 			/* Get longer buffer FIXME:  free the old one */
 			if ((newcpath = malloc(cpathlength)) == NULL) {
-				fprintf(stderr,  "Error: out of memory.\n");
+				fprintf(stderr,  _("Error: out of memory.\n"));
 				exit(1);
 			}
 
@@ -446,7 +460,7 @@
 
 			/* Get longer buffer FIXME:  free the old one */
 			if ((newbootcpath = malloc(bootcpathlength)) == NULL) {
-				fprintf(stderr,  "Error: out of memory.\n");
+				fprintf(stderr,  _("Error: out of memory.\n"));
 				exit(1);
 			}
 
@@ -471,7 +485,7 @@
 
 			/* Get longer buffer FIXME:  free the old one */
 			if ((newbootcpath = malloc(bootcpathlength)) == NULL) {
-				fprintf(stderr,  "Error: out of memory.\n");
+				fprintf(stderr,  _("Error: out of memory.\n"));
 				exit(1);
 			}
 
@@ -493,7 +507,7 @@
 
 			/* Get longer buffer FIXME:  free the old one */
 			if ((newbootcpath = malloc(bootcpathlength)) == NULL) {
-				fprintf(stderr,  "Error: out of memory.\n");
+				fprintf(stderr,  _("Error: out of memory.\n"));
 				exit(1);
 			}
 
@@ -508,7 +522,7 @@
 			if (argv[i][j] == 0) {
 				i++;
 				if (argv[i] == 0) {
-					fprintf(stderr,  "Error: No stack size found for -ss option.\n");
+					fprintf(stderr, _("Error: No stack size found for -ss option.\n"));
 					exit(1);
 				}
 				sz = parseSize(argv[i]);
@@ -516,7 +530,7 @@
 				sz = parseSize(&argv[i][j]);
 			}
 			if (sz < THREADSTACKSIZE) {
-				fprintf(stderr,  "Warning: Attempt to set stack size smaller than %d - ignored.\n", THREADSTACKSIZE);
+				fprintf(stderr,  _("Warning: Attempt to set stack size smaller than %d - ignored.\n"), THREADSTACKSIZE);
 			}
 			else {
 				vmargs.nativeStackSize = sz;
@@ -527,7 +541,7 @@
 			if (argv[i][j] == 0) {
 				i++;
 				if (argv[i] == 0) {
-					fprintf(stderr,  "Error: No heap size found for -mx option.\n");
+					fprintf(stderr,  _("Error: No heap size found for -mx option.\n"));
 					exit(1);
 				}
 				vmargs.maxHeapSize = parseSize(argv[i]);
@@ -540,7 +554,7 @@
 			if (argv[i][j] == 0) {
 				i++;
 				if (argv[i] == 0) {
-					fprintf(stderr,  "Error: No heap size found for -ms option.\n");
+					fprintf(stderr,  _("Error: No heap size found for -ms option.\n"));
 					exit(1);
 				}
 				vmargs.minHeapSize = parseSize(argv[i]);
@@ -552,7 +566,7 @@
 			if (argv[i][3] == 0) {
 				i++;
 				if (argv[i] == 0) {
-					fprintf(stderr,  "Error: No heap size found for -as option.\n");
+					fprintf(stderr,  _("Error: No heap size found for -as option.\n"));
 					exit(1);
 				}
 				vmargs.allocHeapSize = parseSize(argv[i]);
@@ -608,14 +622,14 @@
 			i++;
 			if (argv[i] == 0) {
 				fprintf(stderr, 
-					"Error: -Xxprof_syms option requires "
-					"a file name.\n");
+					_("Error: -Xxprof_syms option requires "
+					"a file name.\n"));
 			}
 			else if( !profileSymbolFile(argv[i]) )
 			{
 				fprintf(stderr, 
-					"Unable to create profiler symbol "
-					"file %s.\n",
+					_("Unable to create profiler symbol "
+					"file %s.\n"),
 					argv[i]);
 			}
 		}
@@ -623,13 +637,13 @@
 			i++;
 			if (argv[i] == 0) {
 				fprintf(stderr, 
-					"Error: -Xxprof_gmon option requires "
-					"a file name.\n");
+					_("Error: -Xxprof_gmon option requires "
+					"a file name.\n"));
 			}
 			else if (!profileGmonFile(argv[i]))
 			{
 				fprintf(stderr, 
-					"Unable to create gmon file %s.\n",
+					_("Unable to create gmon file %s.\n"),
 					argv[i]);
 			}
 		}
@@ -643,8 +657,8 @@
 			i++;
 			if (argv[i] == 0) {
 				fprintf(stderr, 
-					"Error: -Xxdebug_file option requires "
-					"a file name.\n");
+					_("Error: -Xxdebug_file option requires "
+					"a file name.\n"));
 			}
 			else
 			{
@@ -657,8 +671,8 @@
 			i++;
 			if (argv[i] == 0) {
 				fprintf(stderr, 
-					"Error: -Xfeedback option requires a "
-					"file name.\n");
+					_("Error: -Xfeedback option requires a "
+					"file name.\n"));
 			}
 			else
 			{
@@ -675,8 +689,8 @@
                         i++;
                         if (argv[i] == 0) { /* forgot second arg */
                                 fprintf(stderr, 
-					"Error: -vmstats option requires a "
-					"second arg.\n");
+					_("Error: -vmstats option requires a "
+					"second arg.\n"));
                                 exit(1);
                         }
                         statsSetMaskStr(argv[i]);
@@ -687,8 +701,8 @@
                         i++;
                         if (argv[i] == 0) { /* forgot second arg */
                                 fprintf(stderr, 
-					"Error: -vmdebug option requires a "
-					"debug flag. Use `list' for a list.\n");
+					_("Error: -vmdebug option requires a "
+					"debug flag. Use `list' for a list.\n"));
                                 exit(1);
                         }
                         if (!dbgSetMaskStr(argv[i]))
@@ -713,8 +727,8 @@
 		}
 		else if (argv[i][1] == 'X') {
 			fprintf(stderr, 
-				"Error: Unrecognized JVM specific option "
-				"`%s'.\n",
+				_("Error: Unrecognized JVM specific option "
+				"`%s'.\n"),
 				argv[i]);
 		}
 		/* The following options are not supported and will be
@@ -728,7 +742,7 @@
 			i++;
 		}
 		else {
-			fprintf(stderr,  "Unknown flag: %s\n", argv[i]);
+			fprintf(stderr,  _("Unknown flag: %s\n"), argv[i]);
 		}
 	}
 
@@ -743,65 +757,66 @@
 void
 usage(void)
 {
-	fprintf(stderr, "usage: kaffe [-options] class\n");
-	fprintf(stderr, "Options are:\n");
-	fprintf(stderr, "	-help			 Print this message\n");
-	fprintf(stderr, "	-version		 Print version number\n");
-	fprintf(stderr, "	-fullversion		 Print verbose version info\n");
+	fprintf(stderr,
+		_("usage: kaffe [-options] class\n"
+		  "Options are:\n"
+		  "	-help			 Print this message\n"
+		  "	-version		 Print version number\n"
+		  "	-fullversion		 Print verbose version info\n"));
 #if defined(__ia64__)
-	fprintf(stderr, "	-ia32			 Execute the ia32 version of Kaffe\n");
+	fprintf(stderr, _("	-ia32			 Execute the ia32 version of Kaffe\n"));
 #endif
-	fprintf(stderr, "	-ss <size>		 Maximum native stack size\n");
-	fprintf(stderr, "	-mx <size> 		 Maximum heap size\n");
-	fprintf(stderr, "	-ms <size> 		 Initial heap size\n");
-	fprintf(stderr, "	-as <size> 		 Heap increment\n");
-	fprintf(stderr, "	-classpath <path>        Set classpath\n");
-	fprintf(stderr, "	-Xbootclasspath:<path>   Set bootclasspath\n");
-	fprintf(stderr, "	-Xbootclasspath/a:<path> Append path to bootclasspath\n");
-	fprintf(stderr, "	-Xbootclasspath/p:<path> Prepend path to bootclasspath\n");
-	fprintf(stderr, "	-D<property>=<value>     Set a property\n");
-	fprintf(stderr, "	-verify *		 Verify all bytecode\n");
-	fprintf(stderr, "	-verifyremote *		 Verify bytecode loaded from network\n");
-	fprintf(stderr, "	-noverify		 Do not verify any bytecode\n");
-	fprintf(stderr, "	-noclassgc		 Disable class garbage collection\n");
-	fprintf(stderr, "	-verbosegc		 Print message during garbage collection\n");
-	fprintf(stderr, "	-v, -verbose		 Be verbose\n");
-	fprintf(stderr, "	-verbosejit		 Print message during JIT code generation\n");
-	fprintf(stderr, "	-verbosemem		 Print detailed memory allocation statistics\n");
-	fprintf(stderr, "	-verbosecall		 Print detailed call flow information\n");
-	fprintf(stderr, "	-nodeadlock		 Disable deadlock detection\n");
+	fprintf(stderr, _("	-ss <size>		 Maximum native stack size\n"
+			  "	-mx <size> 		 Maximum heap size\n"
+			  "	-ms <size> 		 Initial heap size\n"
+			  "	-as <size> 		 Heap increment\n"
+			  "	-classpath <path>        Set classpath\n"
+			  "	-Xbootclasspath:<path>   Set bootclasspath\n"
+			  "	-Xbootclasspath/a:<path> Append path to bootclasspath\n"
+			  "	-Xbootclasspath/p:<path> Prepend path to bootclasspath\n"
+			  "	-D<property>=<value>     Set a property\n"
+			  "	-verify *		 Verify all bytecode\n"
+			  "	-verifyremote *		 Verify bytecode loaded from network\n"
+			  "	-noverify		 Do not verify any bytecode\n"
+			  "	-noclassgc		 Disable class garbage collection\n"
+			  "	-verbosegc		 Print message during garbage collection\n"
+			  "	-v, -verbose		 Be verbose\n"
+			  "	-verbosejit		 Print message during JIT code generation\n"
+			  "	-verbosemem		 Print detailed memory allocation statistics\n"
+			  "	-verbosecall		 Print detailed call flow information\n"
+			  "	-nodeadlock		 Disable deadlock detection\n"));
 #if defined(KAFFE_PROFILER)
-	fprintf(stderr, "	-prof			 Enable profiling of Java methods\n");
+	fprintf(stderr, _("	-prof			 Enable profiling of Java methods\n"));
 #endif
 #if defined(KAFFE_XPROFILER)
-	fprintf(stderr, "	-Xxprof			 Enable cross language profiling\n");
-	fprintf(stderr, "	-Xxprof_syms <file>	 Name of the profiling symbols file [Default: kaffe-jit-symbols.s]\n");
-	fprintf(stderr, "	-Xxprof_gmon <file>	 Base name for gmon files [Default: xgmon.out]\n");
+	fprintf(stderr, _("	-Xxprof			 Enable cross language profiling\n"
+			  "	-Xxprof_syms <file>	 Name of the profiling symbols file [Default: kaffe-jit-symbols.s]\n"
+			  "	-Xxprof_gmon <file>	 Base name for gmon files [Default: xgmon.out]\n"));
 #endif
 #if defined(KAFFE_XDEBUGGING)
-	fprintf(stderr, "	-Xxdebug_file <file>	 Name of the debugging symbols file\n");
+	fprintf(stderr, _("	-Xxdebug_file <file>	 Name of the debugging symbols file\n"));
 #endif
 #if defined(KAFFE_FEEDBACK)
-	fprintf(stderr, "	-Xfeedback <file>	 The file name to write feedback data to\n");
+	fprintf(stderr, _("	-Xfeedback <file>	 The file name to write feedback data to\n"));
 #endif
-	fprintf(stderr, "	-debug * 		 Trace method calls\n");
-	fprintf(stderr, "	-noasyncgc *		 Do not garbage collect asynchronously\n");
-	fprintf(stderr, "	-cs, -checksource *	 Check source against class files\n");
-	fprintf(stderr, "	-oss <size> *		 Maximum java stack size\n");
-        fprintf(stderr, "	-jar                     Executable is a JAR\n");
+	fprintf(stderr, _("	-debug * 		 Trace method calls\n"
+			  "	-noasyncgc *		 Do not garbage collect asynchronously\n"
+			  "	-cs, -checksource *	 Check source against class files\n"
+			  "	-oss <size> *		 Maximum java stack size\n"
+			  "	-jar                     Executable is a JAR\n"));
 #ifdef KAFFE_VMDEBUG
-        fprintf(stderr, "	-vmdebug <flag{,flag}>	 Internal VM debugging.  Set flag=list for a list\n");
+        fprintf(stderr, _("	-vmdebug <flag{,flag}>	 Internal VM debugging.  Set flag=list for a list\n"));
 #endif
 #ifdef KAFFE_STATS
-        fprintf(stderr, "	-vmstats <flag{,flag}>	 Print VM statistics.  Set flag=all for all\n");
+        fprintf(stderr, _("	-vmstats <flag{,flag}>	 Print VM statistics.  Set flag=all for all\n"));
 #endif
-	fprintf(stderr, "  * Option currently ignored.\n");
-	fprintf(stderr, "\n");
-	fprintf(stderr, "Compatibility options:\n");
-	fprintf(stderr, "	-Xss <size>		 Maximum native stack size\n");
-	fprintf(stderr, "	-Xmx <size> 		 Maximum heap size\n");
-	fprintf(stderr, "	-Xms <size> 		 Initial heap size\n");
-	fprintf(stderr, "	-cp <path> 		 Set classpath\n");
+	fprintf(stderr, _("  * Option currently ignored.\n"
+			  "\n"
+			  "Compatibility options:\n"
+			  "	-Xss <size>		 Maximum native stack size\n"
+			  "	-Xmx <size> 		 Maximum heap size\n"
+			  "	-Xms <size> 		 Initial heap size\n"
+			  "	-cp <path> 		 Set classpath\n"));
 }
 
 static
Index: kaffe/po/LINGUAS
diff -u kaffe/po/LINGUAS:1.1 kaffe/po/LINGUAS:1.2
--- kaffe/po/LINGUAS:1.1	Sun Jan 18 19:56:51 2004
+++ kaffe/po/LINGUAS	Fri Jun  4 19:32:39 2004
@@ -1,4 +1,4 @@
 # Set of available languages.
 
 # No languages are available at the moment.
-
+fr
Index: kaffe/po/POTFILES.in
diff -u kaffe/po/POTFILES.in:1.1 kaffe/po/POTFILES.in:1.2
--- kaffe/po/POTFILES.in:1.1	Sun Jan 18 19:56:51 2004
+++ kaffe/po/POTFILES.in	Fri Jun  4 19:32:39 2004
@@ -3,3 +3,4 @@
 
 # No such files at the moment.
 
+kaffe/kaffe/main.c
===================================================================
Checking out kaffe/po/fr.po
RCS:  /home/cvs/kaffe/kaffe/po/fr.po,v
VERS: 1.1
***************
--- /dev/null	Sun Aug  4 19:57:58 2002
+++ kaffe/po/fr.po	Fri Jun  4 19:37:46 2004
@@ -0,0 +1,247 @@
+# French translations for Kaffe Virtual Machine package.
+# Copyright (C) 2004 Kaffe.org contributors.
+# This file is distributed under the same license as the Kaffe Virtual Machine package.
+# Guilhem Lavaux <guilhem.lavaux at free.fr>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Kaffe Virtual Machine 1.1.x-cvs\n"
+"Report-Msgid-Bugs-To: kaffe at kaffe.org\n"
+"POT-Creation-Date: 2004-06-03 21:51+0200\n"
+"PO-Revision-Date: 2004-06-03 22:00+0200\n"
+"Last-Translator: Guilhem Lavaux <guilhem.lavaux at free.fr>\n"
+"Language-Team: French <kaffe at kaffe.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: kaffe/kaffe/main.c:436 kaffe/kaffe/main.c:463 kaffe/kaffe/main.c:488
+#: kaffe/kaffe/main.c:510
+#, c-format
+msgid "Error: out of memory.\n"
+msgstr "Erreur: pas assez de mémoire.\n"
+
+#: kaffe/kaffe/main.c:525
+#, c-format
+msgid "Error: No stack size found for -ss option.\n"
+msgstr ""
+"Erreur: La taille de la pile n'a pas été trouvé après l'argument -ss.\n"
+
+#: kaffe/kaffe/main.c:533
+#, c-format
+msgid "Warning: Attempt to set stack size smaller than %d - ignored.\n"
+msgstr ""
+"Avertissement: Vous ne pouvez pas spécifer une taille de pile plus petite "
+"que %d - valeur ignorée.\n"
+
+#: kaffe/kaffe/main.c:544
+#, c-format
+msgid "Error: No heap size found for -mx option.\n"
+msgstr "Erreur: Pas de taille de tas trouvée après l'argument -mx.\n"
+
+#: kaffe/kaffe/main.c:557
+#, c-format
+msgid "Error: No heap size found for -ms option.\n"
+msgstr "Erreur: Pas de taille du tas trouvée après l'argument -ms.\n"
+
+#: kaffe/kaffe/main.c:569
+#, c-format
+msgid "Error: No heap size found for -as option.\n"
+msgstr "Erreur: Pas de taille de tas trouvée après l'argument -as.\n"
+
+#: kaffe/kaffe/main.c:625
+#, c-format
+msgid "Error: -Xxprof_syms option requires a file name.\n"
+msgstr "Erreur: L'argument -Xxprof_syms nécessite un nom de fichier.\n"
+
+#: kaffe/kaffe/main.c:631
+#, c-format
+msgid "Unable to create profiler symbol file %s.\n"
+msgstr ""
+"Impossible de créer le fichier %s devant contenir les symboles de "
+"profilage.\n"
+
+#: kaffe/kaffe/main.c:640
+#, c-format
+msgid "Error: -Xxprof_gmon option requires a file name.\n"
+msgstr "Erreur: L'argument -Xxprof_gmon nécessite un nom de fichier.\n"
+
+#: kaffe/kaffe/main.c:646
+#, c-format
+msgid "Unable to create gmon file %s.\n"
+msgstr "Impossible de créer le fichier gmon nommé %s.\n"
+
+#: kaffe/kaffe/main.c:660
+#, c-format
+msgid "Error: -Xxdebug_file option requires a file name.\n"
+msgstr "Erreur: L'option -Xxdebug_file requiert un nom de fichier.\n"
+
+#: kaffe/kaffe/main.c:674
+#, c-format
+msgid "Error: -Xfeedback option requires a file name.\n"
+msgstr "Erreur: L'option -Xfeedback requiert un nom de fichier.\n"
+
+#: kaffe/kaffe/main.c:692
+#, c-format
+msgid "Error: -vmstats option requires a second arg.\n"
+msgstr "Erreur: L'option -vmstats requiert un second argument.\\n\n"
+
+#: kaffe/kaffe/main.c:704
+#, c-format
+msgid "Error: -vmdebug option requires a debug flag. Use `list' for a list.\n"
+msgstr ""
+"Erreur: L'option -vmdebug requiert un paramètre. Utilisez 'list' pour avoir "
+"une liste des paramètres.\n"
+
+#: kaffe/kaffe/main.c:730
+#, c-format
+msgid "Error: Unrecognized JVM specific option `%s'.\n"
+msgstr "Erreur: L'option '%s' spécifique à la JVM n'est pas connue.\n"
+
+#: kaffe/kaffe/main.c:745
+#, c-format
+msgid "Unknown flag: %s\n"
+msgstr "Paramètre inconnu: %s\n"
+
+#: kaffe/kaffe/main.c:761
+#, c-format
+msgid ""
+"usage: kaffe [-options] class\n"
+"Options are:\n"
+"\t-help\t\t\t Print this message\n"
+"\t-version\t\t Print version number\n"
+"\t-fullversion\t\t Print verbose version info\n"
+msgstr ""
+"Usage: kaffe [-options] classe\n"
+"Les options sont:\n"
+"\t-help\t\t\t   Affiche ce message\n"
+"\t-version\t\t   Affiche le numéro de version\n"
+"\t-fullversion\t\t   Affiche plus d'information sur la version\n"
+
+#: kaffe/kaffe/main.c:767
+#, c-format
+msgid "\t-ia32\t\t\t Execute the ia32 version of Kaffe\n"
+msgstr "\t-ia32\t\t\t   Exécute la version ia32 de kaffe\n"
+
+#: kaffe/kaffe/main.c:769
+#, c-format
+msgid ""
+"\t-ss <size>\t\t Maximum native stack size\n"
+"\t-mx <size> \t\t Maximum heap size\n"
+"\t-ms <size> \t\t Initial heap size\n"
+"\t-as <size> \t\t Heap increment\n"
+"\t-classpath <path>        Set classpath\n"
+"\t-Xbootclasspath:<path>   Set bootclasspath\n"
+"\t-Xbootclasspath/a:<path> Append path to bootclasspath\n"
+"\t-Xbootclasspath/p:<path> Prepend path to bootclasspath\n"
+"\t-D<property>=<value>     Set a property\n"
+"\t-verify *\t\t Verify all bytecode\n"
+"\t-verifyremote *\t\t Verify bytecode loaded from network\n"
+"\t-noverify\t\t Do not verify any bytecode\n"
+"\t-noclassgc\t\t Disable class garbage collection\n"
+"\t-verbosegc\t\t Print message during garbage collection\n"
+"\t-v, -verbose\t\t Be verbose\n"
+"\t-verbosejit\t\t Print message during JIT code generation\n"
+"\t-verbosemem\t\t Print detailed memory allocation statistics\n"
+"\t-verbosecall\t\t Print detailed call flow information\n"
+"\t-nodeadlock\t\t Disable deadlock detection\n"
+msgstr ""
+"\t-ss <taille> \t\t   Taille maximum de la pile native\n"
+"\t-mx <taille> \t\t   Taille maximum du tas\n"
+"\t-ms <taille> \t\t   Taille initiale du tas\n"
+"\t-as <taille> \t\t   Valeur de l'incrément pour le tas\n"
+"\t-classpath <chemin>\t   Spécifie le chemin d'accès aux classes\n"
+"\t-Xbootclasspath:<chemin>   Spécifie le bootclasspath\n"
+"\t-Xbootclasspath/a:<chemin> Ajoute le chemin à la suite du bootclasspath\n"
+"\t-Xbootclasspath/p:<chemin> Ajoute le chemin en tête du bootclasspath\n"
+"\t-D<propriété>=<valeur>     Specifie une propriété\n"
+"\t-verify *\t\t   Vérifie tout le bytecode\n"
+"\t-verifyremote *\t\t   Vérifie le bytecode chargé depuis un réseau\n"
+"\t-noverify\t\t   N'effectue aucune vérification du bytecode\n"
+"\t-noclassgc\t\t   Désactive le nettoyeur de mémoire\n"
+"\t-verbosegc\t\t   Affiche un message pendant le nettoyage\n"
+"\t-v, -verbose\t\t   Affiche plus de messages\n"
+"\t-verbosejit\t\t   Affiche un message pendant la génération de code JIT\n"
+"\t-verbosemem\t\t   Affiche des statistiques sur la mémoire utilisée\n"
+"\t-verbosecall\t\t   Affiche des information sur les méthodes appelées\n"
+"\t-nodeadlock\t\t   Désactive la détection des deadlock\n"
+
+#: kaffe/kaffe/main.c:789
+#, c-format
+msgid "\t-prof\t\t\t Enable profiling of Java methods\n"
+msgstr "\t-prof\t\t\t   Active le profilage des méthodes Java\n"
+
+#: kaffe/kaffe/main.c:792
+#, c-format
+msgid ""
+"\t-Xxprof\t\t\t Enable cross language profiling\n"
+"\t-Xxprof_syms <file>\t Name of the profiling symbols file [Default: kaffe-"
+"jit-symbols.s]\n"
+"\t-Xxprof_gmon <file>\t Base name for gmon files [Default: xgmon.out]\n"
+msgstr ""
+"\t-Xxprof\t\t\t   Active le profilage inter-langage\n"
+"\t-Xxprof_syms <fichier>\t   Fichier contenant les symboles de profilages "
+"[Défaut: kaffe-jit-symbols.s]\n"
+"\t-Xxprof_gmon <fichier>\t   Nom de base pour les fichiers gmon [Défaut: "
+"xgmon.out]\n"
+
+#: kaffe/kaffe/main.c:797
+#, c-format
+msgid "\t-Xxdebug_file <file>\t Name of the debugging symbols file\n"
+msgstr ""
+"\t-Xxdebug_file <fichier>\t   Fichier pour les symboles de débogages.\n"
+
+#: kaffe/kaffe/main.c:800
+#, c-format
+msgid "\t-Xfeedback <file>\t The file name to write feedback data to\n"
+msgstr ""
+"\t-Xfeedback <fichier>\t   Le fichier devant contenir les données feedback\n"
+
+#: kaffe/kaffe/main.c:802
+#, c-format
+msgid ""
+"\t-debug * \t\t Trace method calls\n"
+"\t-noasyncgc *\t\t Do not garbage collect asynchronously\n"
+"\t-cs, -checksource *\t Check source against class files\n"
+"\t-oss <size> *\t\t Maximum java stack size\n"
+"\t-jar                     Executable is a JAR\n"
+msgstr ""
+"\t-debug * \t\t   Trace les appels de méthodes\n"
+"\t-noasyncgc *\t\t   Ne pas nettoyer en arrière-plan\n"
+"\t-cs, -checksource *\t   Vérifie le code source\n"
+"\t-oss <taille> *\t\t   Taille maximale de la pile\n"
+"\t-jar\t\t\t   L'exécutable est un JAR\n"
+
+#: kaffe/kaffe/main.c:808
+#, c-format
+msgid ""
+"\t-vmdebug <flag{,flag}>\t Internal VM debugging.  Set flag=list for a list\n"
+msgstr ""
+"\t-vmdebug <flag{,flag}>\t   Débogage interne de la VM. Utilisez flag=list "
+"pour avoir la liste\n"
+
+#: kaffe/kaffe/main.c:811
+#, c-format
+msgid "\t-vmstats <flag{,flag}>\t Print VM statistics.  Set flag=all for all\n"
+msgstr ""
+"\t-vmstats <flag{,flag>\t Affiche des statistiques sur la VM. Utilisez "
+"flag=all pour les avoir toutes.\n"
+
+#: kaffe/kaffe/main.c:813
+#, c-format
+msgid ""
+"  * Option currently ignored.\n"
+"\n"
+"Compatibility options:\n"
+"\t-Xss <size>\t\t Maximum native stack size\n"
+"\t-Xmx <size> \t\t Maximum heap size\n"
+"\t-Xms <size> \t\t Initial heap size\n"
+"\t-cp <path> \t\t Set classpath\n"
+msgstr ""
+"  * Options pour le moment ignorées.\n"
+"\n"
+"Options de compatibilitité:\n"
+"\t-Xss <taille>\t\t   Taille maximum de la pile native\n"
+"\t-Xmx <taille>\t\t   Taille maximum du tas\n"
+"\t-Xms <taille>\t\t   Taille initiale du tas\n"
+"\t-cp <chemin>\t\t   Spécifie le classpath\n"
===================================================================
Checking out kaffe/po/kaffe.pot
RCS:  /home/cvs/kaffe/kaffe/po/kaffe.pot,v
VERS: 1.1
***************
--- /dev/null	Sun Aug  4 19:57:58 2002
+++ kaffe/po/kaffe.pot	Fri Jun  4 19:37:47 2004
@@ -0,0 +1,194 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Kaffe.org contributors.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: kaffe at kaffe.org\n"
+"POT-Creation-Date: 2004-06-03 21:51+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: kaffe/kaffe/main.c:436 kaffe/kaffe/main.c:463 kaffe/kaffe/main.c:488
+#: kaffe/kaffe/main.c:510
+#, c-format
+msgid "Error: out of memory.\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:525
+#, c-format
+msgid "Error: No stack size found for -ss option.\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:533
+#, c-format
+msgid "Warning: Attempt to set stack size smaller than %d - ignored.\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:544
+#, c-format
+msgid "Error: No heap size found for -mx option.\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:557
+#, c-format
+msgid "Error: No heap size found for -ms option.\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:569
+#, c-format
+msgid "Error: No heap size found for -as option.\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:625
+#, c-format
+msgid "Error: -Xxprof_syms option requires a file name.\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:631
+#, c-format
+msgid "Unable to create profiler symbol file %s.\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:640
+#, c-format
+msgid "Error: -Xxprof_gmon option requires a file name.\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:646
+#, c-format
+msgid "Unable to create gmon file %s.\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:660
+#, c-format
+msgid "Error: -Xxdebug_file option requires a file name.\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:674
+#, c-format
+msgid "Error: -Xfeedback option requires a file name.\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:692
+#, c-format
+msgid "Error: -vmstats option requires a second arg.\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:704
+#, c-format
+msgid "Error: -vmdebug option requires a debug flag. Use `list' for a list.\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:730
+#, c-format
+msgid "Error: Unrecognized JVM specific option `%s'.\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:745
+#, c-format
+msgid "Unknown flag: %s\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:761
+#, c-format
+msgid ""
+"usage: kaffe [-options] class\n"
+"Options are:\n"
+"\t-help\t\t\t Print this message\n"
+"\t-version\t\t Print version number\n"
+"\t-fullversion\t\t Print verbose version info\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:767
+#, c-format
+msgid "\t-ia32\t\t\t Execute the ia32 version of Kaffe\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:769
+#, c-format
+msgid ""
+"\t-ss <size>\t\t Maximum native stack size\n"
+"\t-mx <size> \t\t Maximum heap size\n"
+"\t-ms <size> \t\t Initial heap size\n"
+"\t-as <size> \t\t Heap increment\n"
+"\t-classpath <path>        Set classpath\n"
+"\t-Xbootclasspath:<path>   Set bootclasspath\n"
+"\t-Xbootclasspath/a:<path> Append path to bootclasspath\n"
+"\t-Xbootclasspath/p:<path> Prepend path to bootclasspath\n"
+"\t-D<property>=<value>     Set a property\n"
+"\t-verify *\t\t Verify all bytecode\n"
+"\t-verifyremote *\t\t Verify bytecode loaded from network\n"
+"\t-noverify\t\t Do not verify any bytecode\n"
+"\t-noclassgc\t\t Disable class garbage collection\n"
+"\t-verbosegc\t\t Print message during garbage collection\n"
+"\t-v, -verbose\t\t Be verbose\n"
+"\t-verbosejit\t\t Print message during JIT code generation\n"
+"\t-verbosemem\t\t Print detailed memory allocation statistics\n"
+"\t-verbosecall\t\t Print detailed call flow information\n"
+"\t-nodeadlock\t\t Disable deadlock detection\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:789
+#, c-format
+msgid "\t-prof\t\t\t Enable profiling of Java methods\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:792
+#, c-format
+msgid ""
+"\t-Xxprof\t\t\t Enable cross language profiling\n"
+"\t-Xxprof_syms <file>\t Name of the profiling symbols file [Default: kaffe-"
+"jit-symbols.s]\n"
+"\t-Xxprof_gmon <file>\t Base name for gmon files [Default: xgmon.out]\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:797
+#, c-format
+msgid "\t-Xxdebug_file <file>\t Name of the debugging symbols file\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:800
+#, c-format
+msgid "\t-Xfeedback <file>\t The file name to write feedback data to\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:802
+#, c-format
+msgid ""
+"\t-debug * \t\t Trace method calls\n"
+"\t-noasyncgc *\t\t Do not garbage collect asynchronously\n"
+"\t-cs, -checksource *\t Check source against class files\n"
+"\t-oss <size> *\t\t Maximum java stack size\n"
+"\t-jar                     Executable is a JAR\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:808
+#, c-format
+msgid ""
+"\t-vmdebug <flag{,flag}>\t Internal VM debugging.  Set flag=list for a list\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:811
+#, c-format
+msgid "\t-vmstats <flag{,flag}>\t Print VM statistics.  Set flag=all for all\n"
+msgstr ""
+
+#: kaffe/kaffe/main.c:813
+#, c-format
+msgid ""
+"  * Option currently ignored.\n"
+"\n"
+"Compatibility options:\n"
+"\t-Xss <size>\t\t Maximum native stack size\n"
+"\t-Xmx <size> \t\t Maximum heap size\n"
+"\t-Xms <size> \t\t Initial heap size\n"
+"\t-cp <path> \t\t Set classpath\n"
+msgstr ""




More information about the kaffe mailing list