]> git.donarmstrong.com Git - lilypond.git/blob - flower/include/international.hh
* flower
[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--2005 Jan Nieuwenhuizen <janneke@gnu.org>
7 */
8
9 #ifndef INTERNATIONAL_HH
10 #define INTERNATIONAL_HH
11
12 /**
13    Internationalisation: _i ("to be translated") gets an entry in the POT file
14    gettext () must be invoked explicitely to do the actual "translation".
15    See flower/getopt-long.cc.
16 */
17 #define _i(sz) sz
18
19 // don't inline: get warnings only once
20 /**
21    Internationalisation: _ ("to be translated") gets "translated" by GNU gettext
22 */
23 String _ (char const *ch);
24
25 /**
26    Internationalisation: _f ("Usage: %s [FILE]", "lilypond") gets "translated" by
27    GNU gettext
28 */
29 String _f (char const *format, ...);
30 String _f (char const *format, String s, String s2 = "", String s3 = "");
31
32 #endif // INTERNATIONAL_HH
33