~ubuntu-branches/ubuntu/utopic/ardour3/utopic

« back to all changes in this revision

Viewing changes to libs/gtkmm2ext/i18n.h

  • Committer: Package Import Robot
  • Author(s): Felipe Sateler
  • Date: 2013-09-21 19:05:02 UTC
  • Revision ID: package-import@ubuntu.com-20130921190502-8gsftrku6jnzhd7v
Tags: upstream-3.4~dfsg
ImportĀ upstreamĀ versionĀ 3.4~dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __i18n_h__
 
2
#define __i18n_h__
 
3
 
 
4
#include <pbd/compose.h>
 
5
#include <pbd/convert.h>
 
6
#include "gettext.h"
 
7
 
 
8
#define _(Text) dgettext (PACKAGE, Text)
 
9
#define N_(Text) gettext_noop (Text)
 
10
#define X_(Text) (Text)
 
11
/** Use this to translate strings that have different meanings in different places.
 
12
 *  Text should be of the form Context|Message.
 
13
 */
 
14
#define S_(Text) PBD::sgettext (PACKAGE, Text)
 
15
 
 
16
#endif // __i18n_h__