#include "pbd/compose.h"
#include "pbd/convert.h"
#include "gettext.h"
#include <vector>
#include <string>
Go to the source code of this file.
|
#define | _(Text) dgettext (PACKAGE,Text) |
|
#define | N_(Text) gettext_noop (Text) |
|
#define | X_(Text) Text |
|
#define | I18N(Array) PBD::internationalize (PACKAGE, Array) |
|
#define | S_(Text) PBD::sgettext (PACKAGE, Text) |
|
#define | P_(Singular, Plural, HowMany) dngettext (PACKAGE, (Singular), (Plural), (HowMany)) |
|
#define _ |
( |
|
Text | ) |
dgettext (PACKAGE,Text) |
◆ I18N
◆ N_
◆ P_
#define P_ |
( |
|
Singular, |
|
|
|
Plural, |
|
|
|
HowMany |
|
) |
| dngettext (PACKAGE, (Singular), (Plural), (HowMany)) |
Use this to translate strings with plural forms
Definition at line 40 of file i18n.h.
◆ S_
Use this to translate strings that have different meanings in different places. Text should be of the form Context|Message.
Definition at line 36 of file i18n.h.
◆ X_