summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-06 11:14:45 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-06 11:14:45 +0000
commit1389fc06cc578bdddd6d92cf3a239e33bb892026 (patch)
tree951df53f84f575bf1ff0a0ae57c06b04d9522f82 /src/resources
parent0bd2a74378b01204876ec8d92c03959f3b3a287e (diff)
downloadmana-client-1389fc06cc578bdddd6d92cf3a239e33bb892026.tar.gz
mana-client-1389fc06cc578bdddd6d92cf3a239e33bb892026.tar.bz2
mana-client-1389fc06cc578bdddd6d92cf3a239e33bb892026.tar.xz
mana-client-1389fc06cc578bdddd6d92cf3a239e33bb892026.zip
Fixed some header typos. Moved gettext.h to utils directory. Removed redundant HAS_CONFIG_H macro. Used autopoint for generating gettext environment. Removed auto-generated file from po directory.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/gettext.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/resources/gettext.h b/src/resources/gettext.h
deleted file mode 100644
index 9abb5771..00000000
--- a/src/resources/gettext.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * The Mana World
- * Copyright 2007 The Mana World Development Team
- *
- * This file is part of The Mana World.
- *
- * The Mana World is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * any later version.
- *
- * The Mana World is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with The Mana World; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- * $Id$
- */
-
-#ifndef _TMW_RESOURCES_GETTEXT_H
-#define _TMW_RESOURCES_GETTEXT_H
-
-#ifdef HAS_CONFIG_H
-#include "../../config.h"
-#endif
-
-#if ENABLE_NLS
-
-#include <libintl.h>
-
-#define _(s) ((char const *)gettext(s))
-#define N_(s) ((char const *)s)
-
-#else
-
-#define gettext(s) ((char const *)s)
-#define _(s) ((char const *)s)
-#define N_(s) ((char const *)s)
-
-#endif
-
-#endif