From 3866fc1d1e9d4399e34b03f9940d42ee9191b886 Mon Sep 17 00:00:00 2001 From: Lukas Berk Date: Fri, 18 Mar 2011 13:25:51 -0400 Subject: [PATCH] PR3823: remove gettext from compile time errors fix grammar in po/README --- po/README | 2 +- setupdwfl.h | 2 +- translate.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/po/README b/po/README index 8691fb1a8..1728edbf7 100644 --- a/po/README +++ b/po/README @@ -37,7 +37,7 @@ the freenode #systemtap channel. In the most general case, adding a translatable string can be done by simply wrapping the string with the _() macro, ie. _("string to translate here"). -The macro _F() has been used for autosprintf, and _N() for ngettext, and _NF() +The macro _F() has been used for autosprintf, _N() for ngettext, and _NF() for a combination of autosprintf and ngettext. For more information on how to use gnu gettext please consult the online manual at http://www.gnu.org/software/gettext/ diff --git a/setupdwfl.h b/setupdwfl.h index 407a93b1b..0c3cc63e9 100644 --- a/setupdwfl.h +++ b/setupdwfl.h @@ -23,7 +23,7 @@ using std::tr1::shared_ptr; #include using boost::shared_ptr; #else -#error _("No shared_ptr implementation found; get boost or modern g++") +#error "No shared_ptr implementation found; get boost or modern g++" #endif extern "C" { diff --git a/translate.cxx b/translate.cxx index 345c5c3fc..ac35886ed 100644 --- a/translate.cxx +++ b/translate.cxx @@ -1673,7 +1673,7 @@ c_unparser::emit_probe (derived_probe* v) // probe handler function to the first copy, *by name*. v->name = dupe; #else -#error _("Unknown duplicate elimination method") +#error "Unknown duplicate elimination method" #endif } else // This probe is unique. Remember it and output it. -- 2.43.5