Mercurial > audlegacy
annotate src/audacious/i18n.h @ 2495:6fb56e6bc6ec trunk
[svn] - remove debugging notices
- remove some more common dock code that is part of SkinnedWindow now.
author | nenolod |
---|---|
date | Sat, 10 Feb 2007 17:04:31 -0800 |
parents | af600aefd2cf |
children | bb41a2e8ecbe 3b6d316f8b09 |
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 |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
6 * the Free Software Foundation; under version 2 of the License. |
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 |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
14 * along with this program; if not, write to the Free Software |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
16 * 02110-1301, USA. |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
17 */ |
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 #ifndef __AUDACIOUS_I18N_H__ |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
20 #define __AUDACIOUS_I18N_H__ |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
21 |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
22 #include <glib/gstrfuncs.h> |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
23 #include <libintl.h> |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
24 |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
25 #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
|
26 #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
|
27 #ifdef gettext_noop |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
28 #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
|
29 #else |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
30 #define N_(String) (String) |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
31 #endif |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
32 |
af600aefd2cf
[svn] - add i18n.h which wraps gettext in a way that is usable to plugins.
nenolod
parents:
diff
changeset
|
33 #endif |