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