Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: libexif/sources/libexif/i18n.h

Issue 10535156: Add libexif to deps/third_party. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 /* i18n.h
2 *
3 * Copyright (c) 2001 Lutz Mueller <lutz@users.sourceforge.net>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301 USA.
19 */
20
21 #ifndef __I18N_H__
22 #define __I18N_H__
23
24 #include "config.h"
25
26 #ifdef ENABLE_NLS
27 # include <libintl.h>
28 # undef _
29 # define _(String) dgettext (GETTEXT_PACKAGE, String)
30 # ifdef gettext_noop
31 # define N_(String) gettext_noop (String)
32 # else
33 # define N_(String) (String)
34 # endif
35 #else
36 # define textdomain(String) (String)
37 # define gettext(String) (String)
38 # define ngettext(String1,String2,Count) (Count==1?String1:String2)
39 # define dgettext(Domain,Message) (Message)
40 # define dcgettext(Domain,Message,Type) (Message)
41 #ifdef __WATCOMC__
42 # define bind_textdomain_codeset(Domain,Codeset)
43 # define bindtextdomain(Domain,Directory)
44 #else
45 # define bind_textdomain_codeset(Domain,Codeset) (Codeset)
46 # define bindtextdomain(Domain,Directory) (Domain)
47 #endif
48 # define _(String) (String)
49 # define N_(String) (String)
50 #endif
51
52 #endif /* __I18N_H__ */
OLDNEW
« no previous file with comments | « libexif/sources/libexif/fuji/mnote-fuji-tag.c ('k') | libexif/sources/libexif/olympus/exif-mnote-data-olympus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698