Mercurial > audlegacy
annotate src/audacious/i18n.h @ 4552:1fe29814b90c
kill ui_skinned_cursor
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Sun, 18 May 2008 09:12:30 +0200 |
parents | f1c756f39e6c |
children | 2eee464379dc |
rev | line source |
---|---|
2387
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
1 /* Audacious |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
2 * Copyright (c) 2006-2007 William Pitcock |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
3 * |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
4 * This program is free software; you can redistribute it and/or modify |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
5 * it under the terms of the GNU General Public License as published by |
3121
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
2387
diff
changeset
|
6 * the Free Software Foundation; under version 3 of the License. |
2387
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
7 * |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
8 * This program is distributed in the hope that it will be useful, |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
11 * GNU General Public License for more details. |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
12 * |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
13 * You should have received a copy of the GNU General Public License |
3121
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
2387
diff
changeset
|
14 * along with this program. If not, see <http://www.gnu.org/licenses>. |
3123
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
15 * |
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
16 * The Audacious team does not consider modular code linking to |
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
17 * Audacious or using our public API to be a derived work. |
2387
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
18 */ |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
19 |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
20 #ifndef __AUDACIOUS_I18N_H__ |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
21 #define __AUDACIOUS_I18N_H__ |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
22 |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
23 #include <glib/gstrfuncs.h> |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
24 #include <libintl.h> |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
25 |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
26 #define _(String) dgettext (PACKAGE, String) |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
27 #define Q_(String) g_strip_context ((String), dgettext (PACKAGE, String)) |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
28 #ifdef gettext_noop |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
29 #define N_(String) gettext_noop (String) |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
30 #else |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
31 #define N_(String) (String) |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
32 #endif |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
33 |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
34 #endif |