Commit a6371940 by Zack Weinberg Committed by Zack Weinberg

toplev.c (debug_args, [...]): Mark descriptions for translation.

	* toplev.c (debug_args, f_options, W_options): Mark
	descriptions for translation.
	(display_help): Translate descriptions on output.

	* cp/lang-options.h, f/lang-options.h, java/lang-options.h,
	objc/lang-options.h: Mark descriptions for translation.

From-SVN: r42618
parent 05e12634
2001-05-25 Zack Weinberg <zackw@stanford.edu>
* toplev.c (debug_args, f_options, W_options): Mark
descriptions for translation.
(display_help): Translate descriptions on output.
* cp/lang-options.h, f/lang-options.h, java/lang-options.h,
objc/lang-options.h: Mark descriptions for translation.
* aclocal.m4: Quote final argument of patsubst. Use
3-argument form of AC_DEFINE. Restore quotes to [] while
using AC_FD_CC.
......
......@@ -25,97 +25,138 @@ DEFINE_LANG_NAME ("C++")
toplev.c for g++. */
{ "-faccess-control", "" },
{ "-fno-access-control", "Do not obey access control semantics" },
{ "-falt-external-templates", "Change when template instances are emitted" },
{ "-fno-access-control",
N_("Do not obey access control semantics") },
{ "-falt-external-templates",
N_("Change when template instances are emitted") },
{ "-fno-alt-external-templates", "" },
{ "-fansi-overloading", "" },
{ "-fno-ansi-overloading", "" },
{ "-fcheck-new", "Check the return value of new" },
{ "-fcheck-new",
N_("Check the return value of new") },
{ "-fno-check-new", "" },
{ "-fconserve-space", "Reduce size of object files" },
{ "-fconserve-space",
N_("Reduce size of object files") },
{ "-fno-conserve-space", "" },
{ "-fconst-strings", "" },
{ "-fno-const-strings", "Make string literals `char[]' instead of `const char[]'" },
{ "-fno-const-strings",
N_("Make string literals `char[]' instead of `const char[]'") },
{ "-fdefault-inline", "" },
{ "-fdump-translation-unit-", "Dump the entire translation unit to a file"},
{ "-fno-default-inline", "Do not inline member functions by default"},
{ "-fdump-translation-unit-",
N_("Dump the entire translation unit to a file") },
{ "-fno-default-inline",
N_("Do not inline member functions by default") },
{ "-frtti", "" },
{ "-fno-rtti", "Do not generate run time type descriptor information" },
{ "-fno-rtti",
N_("Do not generate run time type descriptor information") },
{ "-felide-constructors", "" },
{ "-fno-elide-constructors", "" },
{ "-fenforce-eh-specs", "" },
{ "-fno-enforce-eh-specs", "Do not generate code to check exception specifications" },
{ "-fno-enforce-eh-specs",
N_("Do not generate code to check exception specifications") },
{ "-fexternal-templates", "" },
{ "-fno-external-templates", "" },
{ "-ffor-scope", "" },
{ "-fno-for-scope", "Scope of for-init-statement vars extends outside" },
{ "-fno-for-scope",
N_("Scope of for-init-statement vars extends outside") },
{ "-fgnu-keywords", "" },
{ "-fno-gnu-keywords", "Do not recognise GNU defined keywords" },
{ "-fno-gnu-keywords",
N_("Do not recognise GNU defined keywords") },
{ "-fhandle-exceptions", "" },
{ "-fno-handle-exceptions", "" },
{ "-fhonor-std", "Treat the namespace `std' as a normal namespace" },
{ "-fhonor-std",
N_("Treat the namespace `std' as a normal namespace") },
{ "-fno-honor-std", "" },
{ "-fhuge-objects", "Enable support for huge objects" },
{ "-fhuge-objects",
N_("Enable support for huge objects") },
{ "-fno-huge-objects", "" },
{ "-fimplement-inlines", "" },
{ "-fno-implement-inlines", "Export functions even if they can be inlined" },
{ "-fno-implement-inlines",
N_("Export functions even if they can be inlined") },
{ "-fimplicit-templates", "" },
{ "-fno-implicit-templates", "Only emit explicit template instatiations" },
{ "-fno-implicit-templates",
N_("Only emit explicit template instatiations") },
{ "-fimplicit-inline-templates", "" },
{ "-fno-implicit-inline-templates", "Only emit explicit instatiations of inline templates" },
{ "-fno-implicit-inline-templates",
N_("Only emit explicit instatiations of inline templates") },
{ "-finit-priority", "" },
{ "-fno-init-priority", "" },
{ "-fmemoize-lookups", "" },
{ "-fno-memoize-lookups", "" },
{ "-fms-extensions", "Don't pedwarn about uses of Microsoft extensions" },
{ "-fms-extensions",
N_("Don't pedwarn about uses of Microsoft extensions") },
{ "-fno-ms-extensions", "" },
{ "-foperator-names", "Recognise and/bitand/bitor/compl/not/or/xor" },
{ "-foperator-names",
N_("Recognise and/bitand/bitor/compl/not/or/xor") },
{ "-fno-operator-names", "" },
{ "-foptional-diags", "" },
{ "-fno-optional-diags", "Disable optional diagnostics" },
{ "-fpermissive", "Downgrade conformance errors to warnings" },
{ "-fno-optional-diags",
N_("Disable optional diagnostics") },
{ "-fpermissive",
N_("Downgrade conformance errors to warnings") },
{ "-fno-permissive", "" },
{ "-frepo", "Enable automatic template instantiation" },
{ "-frepo",
N_("Enable automatic template instantiation") },
{ "-fno-repo", "" },
{ "-fsave-memoized", "" },
{ "-fno-save-memoized", "" },
{ "-fstats", "Display statistics accumulated during compilation" },
{ "-fstats",
N_("Display statistics accumulated during compilation") },
{ "-fno-stats", "" },
{ "-ftemplate-depth-", "Specify maximum template instantiation depth"},
{ "-fuse-cxa-atexit", "Use __cxa_atexit to register destructors." },
{ "-ftemplate-depth-",
N_("Specify maximum template instantiation depth") },
{ "-fuse-cxa-atexit",
N_("Use __cxa_atexit to register destructors.") },
{ "-fno-use-cxa-atexit", "" },
{ "-fvtable-gc", "Discard unused virtual functions" },
{ "-fvtable-gc",
N_("Discard unused virtual functions") },
{ "-fno-vtable-gc", "" },
{ "-fvtable-thunks", "Implement vtables using thunks" },
{ "-fvtable-thunks",
N_("Implement vtables using thunks") },
{ "-fno-vtable-thunks", "" },
{ "-fweak", "Emit common-like symbols as weak symbols" },
{ "-fweak",
N_("Emit common-like symbols as weak symbols") },
{ "-fno-weak", "" },
{ "-fxref", "Emit cross referencing information" },
{ "-fxref",
N_("Emit cross referencing information") },
{ "-fno-xref", "" },
{ "-Wreturn-type", "Warn about inconsistent return types" },
{ "-Wreturn-type",
N_("Warn about inconsistent return types") },
{ "-Wno-return-type", "" },
{ "-Woverloaded-virtual", "Warn about overloaded virtual function names" },
{ "-Woverloaded-virtual",
N_("Warn about overloaded virtual function names") },
{ "-Wno-overloaded-virtual", "" },
{ "-Wctor-dtor-privacy", "" },
{ "-Wno-ctor-dtor-privacy", "Don't warn when all ctors/dtors are private" },
{ "-Wnon-virtual-dtor", "Warn about non virtual destructors" },
{ "-Wno-ctor-dtor-privacy",
N_("Don't warn when all ctors/dtors are private") },
{ "-Wnon-virtual-dtor",
N_("Warn about non virtual destructors") },
{ "-Wno-non-virtual-dtor", "" },
{ "-Wextern-inline", "Warn when a function is declared extern, then inline" },
{ "-Wextern-inline",
N_("Warn when a function is declared extern, then inline") },
{ "-Wno-extern-inline", "" },
{ "-Wreorder", "Warn when the compiler reorders code" },
{ "-Wreorder",
N_("Warn when the compiler reorders code") },
{ "-Wno-reorder", "" },
{ "-Wsynth", "Warn when synthesis behaviour differs from Cfront" },
{ "-Wsynth",
N_("Warn when synthesis behaviour differs from Cfront") },
{ "-Wno-synth", "" },
{ "-Wpmf-conversions", "" },
{ "-Wno-pmf-conversions", "Don't warn when type converting pointers to member functions" },
{ "-Weffc++", "Warn about violations of Effective C++ style rules" },
{ "-Wno-pmf-conversions",
N_("Don't warn when type converting pointers to member functions") },
{ "-Weffc++",
N_("Warn about violations of Effective C++ style rules") },
{ "-Wno-effc++", "" },
{ "-Wsign-promo", "Warn when overload promotes from unsigned to signed" },
{ "-Wsign-promo",
N_("Warn when overload promotes from unsigned to signed") },
{ "-Wno-sign-promo", "" },
{ "-Wold-style-cast", "Warn if a C style cast is used in a program" },
{ "-Wold-style-cast",
N_("Warn if a C style cast is used in a program") },
{ "-Wno-old-style-cast", "" },
{ "-Wnon-template-friend", "" },
{ "-Wno-non-template-friend", "Don't warn when non-templatized friend functions are declared within a template" },
{ "-Wno-non-template-friend",
N_("Don't warn when non-templatized friend functions are declared within a template") },
{ "-Wdeprecated", "" },
{ "-Wno-deprecated", "Don't announce deprecation of compiler features" },
{ "-Wno-deprecated",
N_("Don't announce deprecation of compiler features") },
......@@ -28,27 +28,44 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
DEFINE_LANG_NAME ("Java")
{ "-fbounds-check", "" },
{ "-fno-bounds-check", "Disable automatic array bounds checking" },
{ "-fassume-compiled", "Make is_compiled_class return 1"},
{ "-fno-bounds-check",
N_("Disable automatic array bounds checking") },
{ "-fassume-compiled",
N_("Make is_compiled_class return 1") },
{ "-fno-assume-compiled", "" },
{ "-femit-class-file", "" },
{ "-femit-class-files", "Dump class files to <name>.class" },
{ "-ffilelist-file", "input file is list of file names to compile" },
{ "-fuse-boehm-gc", "Generate code for Boehm GC" },
{ "-fhash-synchronization", "Don't put synchronization structure in each object" },
{ "-fjni", "Assume native functions are implemented using JNI" },
{ "--classpath", "Set class path and suppress system path" },
{ "--CLASSPATH", "Set class path" },
{ "--main", "Choose class whose main method should be used" },
{ "--encoding", "Choose input encoding (default is UTF-8)" },
{ "-I", "Add directory to class path" },
{ "-foutput-class-dir", "Directory where class files should be written" },
{ "-femit-class-files",
N_("Dump class files to <name>.class") },
{ "-ffilelist-file",
N_("input file is list of file names to compile") },
{ "-fuse-boehm-gc",
N_("Generate code for Boehm GC") },
{ "-fhash-synchronization",
N_("Don't put synchronization structure in each object") },
{ "-fjni",
N_("Assume native functions are implemented using JNI") },
{ "--classpath",
N_("Set class path and suppress system path") },
{ "--CLASSPATH",
N_("Set class path") },
{ "--main",
N_("Choose class whose main method should be used") },
{ "--encoding",
N_("Choose input encoding (default is UTF-8)") },
{ "-I",
N_("Add directory to class path") },
{ "-foutput-class-dir",
N_("Directory where class files should be written") },
{ "-fuse-divide-subroutine", "" },
{ "-fno-use-divide-subroutine", "Use built-in instructions for division" },
{ "-fcheck-references", "Generate null pointer checks inline" },
{ "-fno-use-divide-subroutine",
N_("Use built-in instructions for division") },
{ "-fcheck-references",
N_("Generate null pointer checks inline") },
{ "-Wredundant-modifiers",
"Warn if modifiers are specified when not necessary"},
{ "-Wextraneous-semicolon", "Warn if deprecated empty statements are found"},
{ "-Wout-of-date", "Warn if .class files are out of date" },
N_("Warn if modifiers are specified when not necessary") },
{ "-Wextraneous-semicolon",
N_("Warn if deprecated empty statements are found") },
{ "-Wout-of-date",
N_("Warn if .class files are out of date") },
{ "-fforce-classes-archive-check",
"Always check for non gcj generated classes archives" },
N_("Always check for non gcj generated classes archives") },
......@@ -23,16 +23,21 @@ Boston, MA 02111-1307, USA. */
DEFINE_LANG_NAME ("Objective C")
{ "-gen-decls", "Dump decls to a .decl file" },
{ "-fgnu-runtime", "Generate code for GNU runtime environment" },
{ "-gen-decls",
N_("Dump decls to a .decl file") },
{ "-fgnu-runtime",
N_("Generate code for GNU runtime environment") },
{ "-fno-gnu-runtime", "" },
{ "-fnext-runtime", "Generate code for NeXT runtime environment" },
{ "-fnext-runtime",
N_("Generate code for NeXT runtime environment") },
{ "-fno-next-runtime", "" },
{ "-Wselector", "Warn if a selector has multiple methods" },
{ "-Wselector",
N_("Warn if a selector has multiple methods") },
{ "-Wno-selector", "" },
{ "-Wprotocol", "" },
{ "-Wno-protocol", "Do not warn if inherited methods are unimplemented"},
{ "-Wno-protocol",
N_("Do not warn if inherited methods are unimplemented") },
{ "-print-objc-runtime-info",
"Generate C header of platform specific features" },
N_("Generate C header of platform specific features") },
{ "-fconstant-string-class",
"Specify the name of the class for constant strings" },
N_("Specify the name of the class for constant strings") },
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment