~valavanisalex/ubuntu/precise/inkscape/fix-943984

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/libgdl/gdl-i18n.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2009-07-02 17:09:45 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090702170945-nn6d6zswovbwju1t
Tags: 0.47~pre1-0ubuntu1
* New upstream release.
  - Don't constrain maximization on small resolution devices (pre0)
    (LP: #348842)
  - Fixes segfault on startup (pre0)
    (LP: #391149)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation
 
3
 * All rights reserved.
 
4
 *
 
5
 * This file is part of the Gnome Devtools Library.
 
6
 *
 
7
 * The Gnome Devtools Library is free software; you can redistribute
 
8
 * it and/or modify it under the terms of the GNU Library General
 
9
 * Public License as published by the Free Software Foundation; either
 
10
 * version 2 of the License, or (at your option) any later version.
 
11
 *
 
12
 * The Gnome Devtools Library is distributed in the hope that it will
 
13
 * be useful, but WITHOUT ANY WARRANTY; without even the implied
 
14
 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
15
 * See the GNU Library General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU Library General Public
 
18
 * License along with the Gnome Library; see the file COPYING.LIB.  If not,
 
19
 * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
20
 * Boston, MA 02111-1307, USA.
 
21
 */
 
22
/*
 
23
  @NOTATION@
 
24
 */
 
25
 
 
26
/*
 
27
 * Handles all of the internationalization configuration options.
 
28
 * Author: Tom Tromey <tromey@creche.cygnus.com>
 
29
 */
 
30
 
 
31
#ifndef __GDL_18N_H__
 
32
#define __GDL_18N_H__ 1
 
33
 
 
34
#include <glib.h>
 
35
 
 
36
 
 
37
G_BEGIN_DECLS
 
38
 
 
39
#ifdef ENABLE_NLS
 
40
#    include <libintl.h>
 
41
#    undef _
 
42
#    define _(String) gdl_gettext (String)
 
43
#    ifdef gettext_noop
 
44
#        define N_(String) gettext_noop (String)
 
45
#    else
 
46
#        define N_(String) (String)
 
47
#    endif
 
48
#else
 
49
/* Stubs that do something close enough.  */
 
50
#    undef textdomain
 
51
#    define textdomain(String) (String)
 
52
#    undef gettext
 
53
#    define gettext(String) (String)
 
54
#    undef dgettext
 
55
#    define dgettext(Domain,Message) (Message)
 
56
#    undef dcgettext
 
57
#    define dcgettext(Domain,Message,Type) (Message)
 
58
#    undef bindtextdomain
 
59
#    define bindtextdomain(Domain,Directory) (Domain)
 
60
#    undef bind_textdomain_codeset
 
61
#    define bind_textdomain_codeset(Domain,CodeSet) (Domain)
 
62
#    undef _
 
63
#    define _(String) (String)
 
64
#    undef N_
 
65
#    define N_(String) (String)
 
66
#endif
 
67
 
 
68
char *gdl_gettext (const char *msgid);
 
69
 
 
70
G_END_DECLS
 
71
 
 
72
#endif /* __GDL_I18N_H__ */