]> sourceware.org Git - systemtap.git/commitdiff
PR3823: remove gettext from compile time errors
authorLukas Berk <lberk@redhat.com>
Fri, 18 Mar 2011 17:25:51 +0000 (13:25 -0400)
committerLukas Berk <lberk@redhat.com>
Fri, 18 Mar 2011 17:25:51 +0000 (13:25 -0400)
fix grammar in po/README

po/README
setupdwfl.h
translate.cxx

index 8691fb1a871d295ab684b44e883a448e81d6aa12..1728edbf7c18164ece19bdbaa297d36a215be355 100644 (file)
--- 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/
index 407a93b1bbfd3e000686c147797e99386fc57e63..0c3cc63e9c6f35322f83385f0a27cca76b35a1b3 100644 (file)
@@ -23,7 +23,7 @@ using std::tr1::shared_ptr;
 #include <boost/shared_ptr.hpp>
 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" {
index 345c5c3fcc401dcccd7ed6bcd2f687481e9dbdee..ac35886ed5f975b159c08fa3fe2b8c7dd41d165e 100644 (file)
@@ -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.
This page took 0.040464 seconds and 5 git commands to generate.