~ubuntu-branches/ubuntu/saucy/cuyo/saucy

« back to all changes in this revision

Viewing changes to src/cuyointl.h

  • Committer: Bazaar Package Importer
  • Author(s): Angel Abad
  • Date: 2010-07-19 09:54:44 UTC
  • mfrom: (4.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100719095444-ecoegzo1vvvdwra9
Tags: 2.~-1.1.brl3-1ubuntu1
* Merge from debian unstable (LP: #607106). Remaining changes:
  - Don't register MimeType=application/x-executable in
    the .desktop file.
  - Remove UTF-8 in the .desktop file
  - 

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 *                                                                         *
16
16
 ***************************************************************************/
17
17
 
18
 
//#include <libintl.h>
19
 
//#define _(String) gettext (String)
20
 
#define _(String) String
 
18
#ifndef CUYOINTL_H
 
19
#define CUYOINTL_H
 
20
 
 
21
#include <config.h>
 
22
 
 
23
#ifdef ENABLE_NLS
 
24
 
 
25
  char* our_gettext(const char*);
 
26
    /* Works like gettext, except that it does not try to translate "". */
 
27
 
 
28
  #include <libintl.h>
 
29
  #define _(String) our_gettext (String)
 
30
  #define N_(String) (String)
 
31
 
 
32
#else
 
33
 
 
34
  #define _(String) (String)
 
35
  #define N_(String) (String)
 
36
 
 
37
#endif
 
38
 
 
39
 
 
40
void init_NLS();
 
41
 
 
42
#endif
 
43