Some work on gettext.

pull/15/head
Jussi Pakkanen 11 years ago
parent 409958feaa
commit 7006c6aa2c
  1. 4
      meson.py
  2. 5
      test cases/frameworks/6 gettext/meson.build
  3. 1
      test cases/frameworks/6 gettext/po/POTFILES
  4. 5
      test cases/frameworks/6 gettext/po/meson.build
  5. 2
      test cases/frameworks/6 gettext/src/intlmain.c

@ -47,7 +47,9 @@ parser.add_option('--includedir', default='include', dest='includedir',
parser.add_option('--datadir', default='share', dest='datadir',
help='relative path to the top of data file subdirectory (default: %default)')
parser.add_option('--mandir' , default='share/man', dest='mandir',
help='relatie path of man files (default: %default)')
help='relative path of man files (default: %default)')
parser.add_option('--localedir', default='share/locale', dest='localedir',
help='relative path of locale data (default: %default)')
parser.add_option('--backend', default='ninja', dest='backend',
help='the backend to use (default: %default)')
parser.add_option('--buildtype', default='debug', type='choice', choices=build_types, dest='buildtype',

@ -0,0 +1,5 @@
#Internationale Gruß.
project('gettext example', 'c')
subdir('po')
subdir('src')

@ -0,0 +1,5 @@
langs = ['fi', 'de']
gettext('intltest',
languages : langs,
dirs : '../src')

@ -3,8 +3,6 @@
#include<stdio.h>
#define _(String) gettext (String)
#define gettext_noop(String) String
#define N_(String) gettext_noop (String)
#define PACKAGE "intltest"
// WRONG, but enough for this test.

Loading…
Cancel
Save