diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-14 14:44:52 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-14 14:45:23 -0400 |
commit | cf52d6e4b40111eb04b244ec054055a4ec15dbe0 (patch) | |
tree | 2cb873af8afa79fcce46b82832da82de500666a2 /libs/ardour/i18n.h | |
parent | 2b262dbfdd25808471244ddc0edede34f8230231 (diff) |
enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
Diffstat (limited to 'libs/ardour/i18n.h')
-rw-r--r-- | libs/ardour/i18n.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/libs/ardour/i18n.h b/libs/ardour/i18n.h deleted file mode 100644 index b04c96d435..0000000000 --- a/libs/ardour/i18n.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef __i18n_h__ -#define __i18n_h__ - -#include "pbd/compose.h" -#include "pbd/convert.h" -#include "gettext.h" - -#include <vector> -#include <string> - -#define _(Text) dgettext (PACKAGE,Text) -#define N_(Text) gettext_noop (Text) -#define X_(Text) Text -#define I18N(Array) PBD::internationalize (PACKAGE, Array) -/** Use this to translate strings that have different meanings in different places. - * Text should be of the form Context|Message. - */ -#define S_(Text) PBD::sgettext (PACKAGE, Text) - -/** Use this to translate strings with plural forms - */ -#define P_(Singular,Plural,HowMany) dngettext (PACKAGE, (Singular), (Plural), (HowMany)) - -#endif // __i18n_h__ |