]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/international.hh
Run `make grand-replace'.
[lilypond.git] / flower / include / international.hh
index b50bb1f68c9867093f3fcd71de0a27d9901e82f3..1e8b3fad219d0383aaacff44ccf42f0e18bf1bd8 100644 (file)
@@ -1,36 +1,42 @@
-/*   
+/*
   international.hh -- declare stuff for internationalization
-  
+
   source file of the GNU LilyPond music typesetter
-  
-  (c) 1997--2004 Jan Nieuwenhuizen <janneke@gnu.org>
-  
- */
+
+  (c) 1997--2008 Jan Nieuwenhuizen <janneke@gnu.org>
+*/
 
 #ifndef INTERNATIONAL_HH
 #define INTERNATIONAL_HH
 
-#include "string.hh"
+#include <stdarg.h>
+
+#include "std-string.hh"
 
 /**
- Internationalisation: _i ("to be translated") gets an entry in the POT file
- gettext () must be invoked explicitely to do the actual "translation".
- See flower/getopt-long.cc.
- */
  Internationalisation: _i ("to be translated") gets an entry in the POT file
  gettext () must be invoked explicitely to do the actual "translation".
  See flower/getopt-long.cc.
+*/
 #define _i(sz) sz
 
 // don't inline: get warnings only once
 /**
- Internationalisation: _ ("to be translated") gets "translated" by GNU gettext
  Internationalisation: _ ("to be translated") gets "translated" by GNU gettext
 */
-String _ (char const *ch);
+string _ (char const *ch);
 
 /**
- Internationalisation: _f ("Usage: %s [FILE]", "lilypond") gets "translated" by 
- GNU gettext
+   Internationalisation: _f ("Usage: %s [FILE]", "lilypond") gets "translated" by
  GNU gettext
 */
-String _f (char const* format, ...);
-String _f (char const* format, String s, String s2 = "", String s3 = "");
+string _f (char const *format, ...)
+          __attribute__ ((format (printf, 1, 2)));
+string _f (char const *format, string s, string s2 = "", string s3 = "");
+/**
+   va_list version of _f
+ */
+string v_f (char const *format, va_list args);
 
 #endif // INTERNATIONAL_HH