summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2010-11-04 17:45:26 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2010-11-04 17:45:26 (GMT)
commitc1ff0021b42fb5738a0cb31da15c12eb6dfac816 (patch)
tree5ada2aaf5f8bbf7df2ae4d851235b1ab4a0d5c82 /src/analysis
parenta3e238eb03fc52845e7a8930feb384a0ad33233e (diff)
Introduced translations.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@188 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/binary.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/analysis/binary.c b/src/analysis/binary.c
index 732d0aa..63450a3 100644
--- a/src/analysis/binary.c
+++ b/src/analysis/binary.c
@@ -34,6 +34,8 @@
#include <sys/stat.h>
#include <sys/types.h>
+#include <i18n.h>
+
#include "line_code.h" /* TODO : supprimer ? */
#include "line_comment.h" /* TODO : supprimer ? */
@@ -52,11 +54,6 @@
-#ifndef _
-# define _(str) str
-#endif
-
-
/* ------------------------ DESASSEMBLAGE DE BINAIRE DIFFERE ------------------------ */
@@ -1426,7 +1423,7 @@ GRenderingLine *build_binary_prologue(const char *filename, const uint8_t *data,
result = NULL;/* FIXME DL_LIST_HEAD_INIT( **/
- line = g_prologue_line_new("Disassembly generated by OpenIDA");
+ line = g_prologue_line_new(_("Disassembly generated by OpenIDA"));
g_rendering_line_add_to_lines(&result, line);
line = g_prologue_line_new("OpenIDA is free software - © 2008-2010 Cyrille Bagard");