*** empty log message ***
[lilypond/patrick.git] / flower / include / international.hh
blob095e47b43e1ac030df0e44cae0e86d90a19a72af
1 /*
2 international.hh -- declare stuff for internationalization
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2005 Jan Nieuwenhuizen <janneke@gnu.org>
7 */
9 #ifndef INTERNATIONAL_HH
10 #define INTERNATIONAL_HH
12 #include "string.hh"
14 /**
15 Internationalisation: _i ("to be translated") gets an entry in the POT file
16 gettext () must be invoked explicitely to do the actual "translation".
17 See flower/getopt-long.cc.
19 #define _i(sz) sz
21 // don't inline: get warnings only once
22 /**
23 Internationalisation: _ ("to be translated") gets "translated" by GNU gettext
25 String _ (char const *ch);
27 /**
28 Internationalisation: _f ("Usage: %s [FILE]", "lilypond") gets "translated" by
29 GNU gettext
31 String _f (char const *format, ...);
32 String _f (char const *format, String s, String s2 = "", String s3 = "");
34 #endif // INTERNATIONAL_HH