From c1ff0021b42fb5738a0cb31da15c12eb6dfac816 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Thu, 4 Nov 2010 17:45:26 +0000 Subject: Introduced translations. git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@188 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a --- ChangeLog | 21 +++ Makefile.am | 2 +- i18n.h | 38 ++++ po/LINGUAS | 1 + po/POTFILES.in | 233 ++++++++++++++++++++++++ po/fr.po | 493 ++++++++++++++++++++++++++++++++++++++++++++++++++ po/openida.pot | 493 ++++++++++++++++++++++++++++++++++++++++++++++++++ src/analysis/binary.c | 9 +- src/editor.c | 5 +- src/main.c | 3 +- 10 files changed, 1286 insertions(+), 12 deletions(-) create mode 100644 i18n.h create mode 100644 po/LINGUAS create mode 100644 po/fr.po create mode 100644 po/openida.pot diff --git a/ChangeLog b/ChangeLog index 3dc9b73..6915732 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,24 @@ +10-11-05 Cyrille Bagard + + * i18n.h: + New entriy: introduce translations. + + * Makefile.am: + Add po to SUBDIRS. + + * po/fr.po: + * po/LINGUAS: + * po/openida.pot: + New entries: introduce translations. + + * po/POTFILES.in: + Update the list of files to analyse. + + * src/analysis/binary.c: + * src/editor.c: + * src/main.c: + Update code. + 10-11-02 Cyrille Bagard * src/analysis/binary.c: diff --git a/Makefile.am b/Makefile.am index de72d75..3a50fb0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,6 +11,6 @@ revision.h: .svn EXTRA_DIST = config.rpath config.rpath config.rpath config.rpath ChangeLog -SUBDIRS = pixmaps src plugins +SUBDIRS = pixmaps src plugins po ACLOCAL_AMFLAGS = -I m4 diff --git a/i18n.h b/i18n.h new file mode 100644 index 0000000..56bd2da --- /dev/null +++ b/i18n.h @@ -0,0 +1,38 @@ + +/* OpenIDA - Outil d'analyse de fichiers binaires + * i18n.h - facilités pour la traduction des messages + * + * Copyright (C) 2010 Cyrille Bagard + * + * This file is part of OpenIDA. + * + * OpenIDA 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 3 of the License, or + * (at your option) any later version. + * + * OpenIDA 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 Foobar. If not, see . + */ + + +#ifndef _I18N_H +#define _I18N_H + + +#include +#include + + +#ifndef _ +# define _(str) gettext(str) +#endif + + + +#endif /* _I18N_H */ diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 0000000..527e861 --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1 @@ +fr diff --git a/po/POTFILES.in b/po/POTFILES.in index 667e27c..72c146e 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1 +1,234 @@ # List of source files which contain translatable strings. +src/panel/registers.c +src/panel/log.c +src/panel/strings.c +src/panel/panels.c +src/panel/symbols.c +src/plugins/context.c +src/plugins/pglist.c +src/plugins/plugin.c +src/plugins/pyoida/py_binary.c +src/plugins/pyoida/py_line.c +src/plugins/pyoida/py_log.c +src/plugins/pyoida/pyoida.c +src/plugins/overjump/overjump.c +src/shell.c +src/main.c +src/glibext/gbuffersegment.c +src/glibext/gbufferline.c +src/glibext/gcodebuffer.c +src/glibext/delayed.c +src/configuration.c +src/analysis/type.c +src/analysis/line_code.c +src/analysis/line_comment.c +src/analysis/routine.c +src/analysis/line.c +src/analysis/binary.c +src/analysis/decomp/instruction.c +src/analysis/decomp/decompiler.c +src/analysis/decomp/rtl.c +src/analysis/variable.c +src/analysis/exporter.c +src/analysis/roptions.c +src/analysis/line_prologue.c +src/dlg_sections.c +src/graph/dot.c +src/graph/layout.c +src/graph/node.c +src/dialogs/export.c +src/dialogs/about.c +src/dialogs/plugins.c +src/dialogs/binparts.c +src/common/extstr.c +src/common/environment.c +src/common/xml.c +src/common/leb128.c +src/common/endianness.c +src/common/dllist.c +src/editor.c +src/xdg.c +src/project.c +src/gtkext/iodamarshal.c +src/gtkext/gtkdockpanel.c +src/gtkext/gtksourceview.c +src/gtkext/gtklinkrenderer.c +src/gtkext/gtkbinview.c +src/gtkext/gtkgraphview.c +src/gtkext/easygtk.c +src/gtkext/support.c +src/gtkext/gtkdockitem.c +src/gtkext/gtkextstatusbar.c +src/gtkext/gtkblockview.c +src/gtkext/gtkdropwindow.c +src/gtkext/gtkviewpanel.c +src/debug/debugger.c +src/debug/ptrace/options.c +src/debug/ptrace/ptrace.c +src/debug/break.c +src/debug/debuggers.c +src/debug/remgdb/tcp.c +src/debug/remgdb/gdb.c +src/debug/remgdb/packet.c +src/debug/remgdb/helpers.c +src/debug/remgdb/stream.c +src/panels/panel.c +src/panels/registers.c +src/panels/log.c +src/panels/strings.c +src/panels/symbols.c +src/panels/breaks.c +src/panels/glimpse.c +src/params.c +src/format/format.c +src/format/elf/helper_mips.c +src/format/elf/program.c +src/format/elf/strings.c +src/format/elf/elf-int.c +src/format/elf/symbols.c +src/format/elf/section.c +src/format/elf/helper_x86.c +src/format/elf/elf.c +src/format/executable.c +src/format/pe/pe-int.c +src/format/pe/symbols.c +src/format/pe/section.c +src/format/pe/pe.c +src/format/exe_format.c +src/format/dwarf/abbrev.c +src/format/dwarf/d_dwarf.c +src/format/dwarf/utils.c +src/format/dwarf/dwarf.c +src/format/dwarf/info.c +src/format/symbol.c +src/format/dbg_format.c +src/format/part.c +src/format/java/java-int.c +src/format/java/method.c +src/format/java/java.c +src/format/java/e_java.c +src/format/java/attribute.c +src/format/java/pool.c +src/format/java/field.c +src/format/dex/method.c +src/format/dex/class.c +src/format/dex/dex.c +src/format/dex/pool.c +src/format/dex/dex-int.c +src/format/mangling/libjavamangling_la-java_tok.c +src/format/mangling/context.c +src/format/mangling/itanium_tok.c +src/format/mangling/libjavamangling_la-java_gram.c +src/format/mangling/itanium_gram.c +src/format/mangling/demangler.c +src/arch/instruction.c +src/arch/x86/op_rol.c +src/arch/x86/op_movs.c +src/arch/x86/op_sub.c +src/arch/x86/op_adc.c +src/arch/x86/op_stos.c +src/arch/x86/registers.c +src/arch/x86/instruction.c +src/arch/x86/op_ret.c +src/arch/x86/op_not.c +src/arch/x86/op_push.c +src/arch/x86/op_test.c +src/arch/x86/op_arpl.c +src/arch/x86/op_hlt.c +src/arch/x86/op_rcl.c +src/arch/x86/op_mov.c +src/arch/x86/op_cmp.c +src/arch/x86/processor.c +src/arch/x86/op_sar.c +src/arch/x86/op_mul.c +src/arch/x86/operand.c +src/arch/x86/op_jump.c +src/arch/x86/op_pop.c +src/arch/x86/op_lea.c +src/arch/x86/op_scas.c +src/arch/x86/op_ror.c +src/arch/x86/op_leave.c +src/arch/x86/op_inc.c +src/arch/x86/op_call.c +src/arch/x86/op_cmps.c +src/arch/x86/op_set.c +src/arch/x86/op_movzx.c +src/arch/x86/op_dec.c +src/arch/x86/op_nop.c +src/arch/x86/op_xchg.c +src/arch/x86/op_shl.c +src/arch/x86/op_rcr.c +src/arch/x86/op_xor.c +src/arch/x86/op_add.c +src/arch/x86/op_and.c +src/arch/x86/op_shr.c +src/arch/x86/op_int.c +src/arch/x86/op_cld.c +src/arch/x86/op_movsx.c +src/arch/x86/op_sbb.c +src/arch/x86/op_or.c +src/arch/processor.c +src/arch/mips/op_sub.c +src/arch/mips/registers.c +src/arch/mips/instruction.c +src/arch/mips/op_branch.c +src/arch/mips/op_store.c +src/arch/mips/processor.c +src/arch/mips/operand.c +src/arch/mips/op_jump.c +src/arch/mips/op_sr.c +src/arch/mips/op_nop.c +src/arch/mips/op_add.c +src/arch/mips/op_and.c +src/arch/mips/op_load.c +src/arch/operand.c +src/arch/archbase.c +src/arch/arm/processor.c +src/arch/dalvik/op_rsub.c +src/arch/dalvik/op_sub.c +src/arch/dalvik/op_iget.c +src/arch/dalvik/instruction.c +src/arch/dalvik/op_invoke.c +src/arch/dalvik/op_ret.c +src/arch/dalvik/op_sget.c +src/arch/dalvik/op_new.c +src/arch/dalvik/op_array.c +src/arch/dalvik/op_aget.c +src/arch/dalvik/op_check.c +src/arch/dalvik/op_sput.c +src/arch/dalvik/op_cmp.c +src/arch/dalvik/op_const.c +src/arch/dalvik/processor.c +src/arch/dalvik/op_mul.c +src/arch/dalvik/op_if.c +src/arch/dalvik/operand.c +src/arch/dalvik/op_move.c +src/arch/dalvik/op_div.c +src/arch/dalvik/op_aput.c +src/arch/dalvik/register.c +src/arch/dalvik/op_to.c +src/arch/dalvik/op_nop.c +src/arch/dalvik/op_rem.c +src/arch/dalvik/op_goto.c +src/arch/dalvik/op_iput.c +src/arch/dalvik/op_xor.c +src/arch/dalvik/op_add.c +src/arch/dalvik/op_and.c +src/arch/dalvik/op_or.c +src/arch/immediate.c +src/arch/jvm/op_getput.c +src/arch/jvm/op_dup.c +src/arch/jvm/instruction.c +src/arch/jvm/op_invoke.c +src/arch/jvm/op_ret.c +src/arch/jvm/op_store.c +src/arch/jvm/op_monitor.c +src/arch/jvm/op_const.c +src/arch/jvm/processor.c +src/arch/jvm/operand.c +src/arch/jvm/op_pop.c +src/arch/jvm/op_convert.c +src/arch/jvm/op_nop.c +src/arch/jvm/op_add.c +src/arch/jvm/op_load.c +src/arch/artificial.c diff --git a/po/fr.po b/po/fr.po new file mode 100644 index 0000000..df24935 --- /dev/null +++ b/po/fr.po @@ -0,0 +1,493 @@ +# French translations for openida package. +# Copyright (C) 2010 Cyrille Bagard +# This file is distributed under the same license as the openida package. +# cyrille , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: openida 0.0.1\n" +"Report-Msgid-Bugs-To: nocbos@gmail.com\n" +"POT-Creation-Date: 2010-11-04 16:24+0100\n" +"PO-Revision-Date: 2010-11-04 16:11+0100\n" +"Last-Translator: cyrille \n" +"Language-Team: French\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: src/panel/registers.c:100 src/panels/registers.c:101 +msgid "Registers:" +msgstr "" + +#: src/panel/registers.c:179 src/panels/registers.c:180 +msgid "Segments:" +msgstr "" + +#: src/panel/strings.c:87 src/panels/strings.c:87 src/panels/breaks.c:189 +msgid "Address" +msgstr "" + +#: src/panel/strings.c:91 src/panels/strings.c:91 src/panels/breaks.c:209 +msgid "String" +msgstr "" + +#: src/plugins/pyoida/py_log.c:118 +msgid "Invalid type of message" +msgstr "" + +#: src/shell.c:164 +msgid "" +"Exit detected ; lauching an new Python shell...\n" +"\r" +msgstr "" + +#: src/analysis/binary.c:299 +msgid "Disassembling..." +msgstr "" + +#: src/analysis/binary.c:307 +msgid "Establishing links..." +msgstr "" + +#: src/analysis/binary.c:315 +msgid "Finding remaining limits..." +msgstr "" + +#: src/analysis/binary.c:734 +msgid "default" +msgstr "" + +#: src/analysis/binary.c:757 +#, c-format +msgid "Opening '%s' file..." +msgstr "" + +#: src/analysis/binary.c:767 +msgid "Unknown binary format" +msgstr "" + +#: src/analysis/binary.c:775 +msgid "Detected architecture: ARM" +msgstr "" + +#: src/analysis/binary.c:778 +msgid "Detected architecture: Dalvik Virtual Machine" +msgstr "" + +#: src/analysis/binary.c:781 +msgid "Detected architecture: Java Virtual Machine" +msgstr "" + +#: src/analysis/binary.c:784 +msgid "" +"Detected architecture: Microprocessor without Interlocked Pipeline Stages" +msgstr "" + +#: src/analysis/binary.c:787 +msgid "Detected architecture: i386" +msgstr "" + +#: src/analysis/binary.c:790 +msgid "Unknown architecture" +msgstr "" + +#: src/analysis/binary.c:1432 +msgid "Disassembly generated by OpenIDA" +msgstr "Désassemblage généré par OpenIDA" + +#: src/analysis/binary.c:1443 src/analysis/binary.c:1446 +msgid "File: " +msgstr "" + +#: src/analysis/binary.c:1460 src/analysis/binary.c:1463 +msgid "Sha256: " +msgstr "" + +#: src/analysis/binary.c:1568 src/analysis/binary.c:1571 +msgid "Group" +msgstr "" + +#: src/dialogs/export.c:151 +msgid "Export assistant" +msgstr "" + +#: src/dialogs/export.c:290 +msgid "Format : " +msgstr "" + +#: src/dialogs/export.c:296 +msgid "Simple text" +msgstr "" + +#: src/dialogs/export.c:306 +msgid "File : " +msgstr "" + +#: src/dialogs/export.c:318 +msgid "Output" +msgstr "" + +#: src/dialogs/export.c:384 +msgid "Choose an output filename" +msgstr "" + +#: src/dialogs/export.c:445 +msgid "Lines to process" +msgstr "" + +#: src/dialogs/export.c:452 +msgid "Prologue" +msgstr "" + +#: src/dialogs/export.c:456 +msgid "Code" +msgstr "" + +#: src/dialogs/export.c:460 +msgid "Comments" +msgstr "" + +#: src/dialogs/export.c:466 +msgid "Items to display" +msgstr "" + +#: src/dialogs/export.c:473 src/editor.c:324 +msgid "Virtual address" +msgstr "" + +#: src/dialogs/export.c:477 src/editor.c:327 +msgid "Binary code" +msgstr "" + +#: src/dialogs/export.c:481 +msgid "Assembly code" +msgstr "" + +#: src/dialogs/export.c:488 +msgid "Exported content" +msgstr "" + +#: src/dialogs/export.c:612 +msgid "Exporting binary lines..." +msgstr "" + +#: src/dialogs/about.c:70 src/editor.c:428 +msgid "About" +msgstr "" + +#: src/dialogs/plugins.c:106 +msgid "Plugins selection" +msgstr "" + +#: src/dialogs/plugins.c:214 +msgid "Author:" +msgstr "" + +#: src/dialogs/plugins.c:219 +msgid "label8" +msgstr "" + +#: src/dialogs/plugins.c:223 +msgid "Version:" +msgstr "" + +#: src/dialogs/plugins.c:228 +msgid "label9" +msgstr "" + +#: src/dialogs/plugins.c:232 +msgid "URL:" +msgstr "" + +#: src/dialogs/plugins.c:237 +msgid "label10" +msgstr "" + +#: src/dialogs/plugins.c:251 +msgid "label12" +msgstr "" + +#: src/dialogs/plugins.c:256 +msgid "Action" +msgstr "" + +#: src/dialogs/plugins.c:261 +msgid "Details:" +msgstr "" + +#: src/dialogs/plugins.c:293 +msgid "Apply" +msgstr "" + +#: src/dialogs/plugins.c:314 +msgid "Cancel" +msgstr "" + +#: src/dialogs/binparts.c:138 +msgid "Content to display" +msgstr "" + +#: src/dialogs/binparts.c:160 +msgid "Model :" +msgstr "" + +#: src/dialogs/binparts.c:210 +msgid "Active" +msgstr "" + +#: src/dialogs/binparts.c:215 +msgid "Name" +msgstr "" + +#: src/dialogs/binparts.c:220 +msgid "Start" +msgstr "" + +#: src/dialogs/binparts.c:224 +msgid "End" +msgstr "" + +#: src/dialogs/binparts.c:282 +msgid "Default" +msgstr "" + +#: src/dialogs/binparts.c:283 +msgid "Routines" +msgstr "" + +#: src/dialogs/binparts.c:284 +msgid "User" +msgstr "" + +#: src/editor.c:240 +msgid "OpenIDA" +msgstr "" + +#: src/editor.c:263 +msgid "_File" +msgstr "_Fichier" + +#: src/editor.c:270 +msgid "New project" +msgstr "" + +#: src/editor.c:274 +msgid "Open project" +msgstr "" + +#: src/editor.c:280 +msgid "Save project" +msgstr "" + +#: src/editor.c:283 +msgid "Save project as..." +msgstr "" + +#: src/editor.c:289 +msgid "Recent projects..." +msgstr "" + +#: src/editor.c:295 +msgid "_View" +msgstr "" + +#: src/editor.c:302 +msgid "Text view" +msgstr "" + +#: src/editor.c:309 +msgid "Graph view" +msgstr "" + +#: src/editor.c:316 +msgid "Source code" +msgstr "" + +#: src/editor.c:333 +msgid "_Project" +msgstr "" + +#: src/editor.c:340 +msgid "Add a binary..." +msgstr "" + +#: src/editor.c:343 +msgid "Remove a binary" +msgstr "" + +#: src/editor.c:354 +msgid "_Binary" +msgstr "" + +#: src/editor.c:361 +msgid "Select parts..." +msgstr "" + +#: src/editor.c:364 +msgid "Select plugins..." +msgstr "" + +#: src/editor.c:370 +msgid "Export..." +msgstr "" + +#: src/editor.c:375 +msgid "_Debug" +msgstr "" + +#: src/editor.c:382 +msgid "Start process" +msgstr "" + +#: src/editor.c:385 +msgid "Pause process" +msgstr "" + +#: src/editor.c:388 +msgid "Resume process" +msgstr "" + +#: src/editor.c:391 +msgid "Kill process" +msgstr "" + +#: src/editor.c:397 +msgid "Step into" +msgstr "" + +#: src/editor.c:400 +msgid "Step over" +msgstr "" + +#: src/editor.c:403 +msgid "Run until ret" +msgstr "" + +#: src/editor.c:415 +msgid "_Plugins" +msgstr "" + +#: src/editor.c:421 +msgid "_Help" +msgstr "" + +#: src/editor.c:479 +msgid "Registers" +msgstr "" + +#: src/editor.c:496 +msgid "Messages" +msgstr "" + +#: src/editor.c:499 +msgid "Strings" +msgstr "" + +#: src/editor.c:506 +msgid "Shell" +msgstr "" + +#: src/editor.c:594 +msgid "The current project will be lost. Do you you want to save it ?" +msgstr "" + +#: src/editor.c:699 +msgid "Open a project" +msgstr "" + +#: src/editor.c:781 +msgid "Save the project as..." +msgstr "" + +#: src/editor.c:974 +msgid "Open a binary file" +msgstr "" + +#: src/gtkext/gtkblockview.c:324 +msgid "Inserting lines..." +msgstr "" + +#: src/debug/ptrace/ptrace.c:302 +#, c-format +msgid "Starting to debug %s..." +msgstr "" + +#: src/debug/ptrace/ptrace.c:378 +#, c-format +msgid "Finished to debug %s..." +msgstr "" + +#: src/panels/symbols.c:181 +msgid "Symbols" +msgstr "" + +#: src/panels/breaks.c:156 +msgid "Breakpoints" +msgstr "" + +#: src/panels/glimpse.c:105 +msgid "Glimpse" +msgstr "" + +#: src/format/format.c:338 +msgid "Dalvik Executable" +msgstr "" + +#: src/format/format.c:340 src/format/exe_format.c:242 +msgid "ELF" +msgstr "" + +#: src/format/format.c:341 src/format/exe_format.c:243 +msgid "Java" +msgstr "" + +#: src/format/format.c:342 +msgid "PE" +msgstr "" + +#: src/format/format.c:373 src/format/exe_format.c:301 +#, c-format +msgid "%s is matching..." +msgstr "" + +#: src/format/elf/symbols.c:99 +msgid "Binary is dynamically linked" +msgstr "" + +#: src/format/elf/symbols.c:106 +msgid "Binary is statically linked" +msgstr "" + +#: src/format/elf/elf.c:182 +#, c-format +msgid "" +"Corrupted program header size (%hu); fixed ! -- replacing 0x%04hx by 0x" +"%04hx at offset 0x%x" +msgstr "" + +#: src/format/elf/elf.c:191 +#, c-format +msgid "" +"Corrupted section header size (%hu); fixed ! -- replacing 0x%04hx by 0x" +"%04hx at offset 0x%x" +msgstr "" + +#: src/format/exe_format.c:244 +msgid "Portable Executable" +msgstr "" + +#: src/format/dwarf/info.c:483 +msgid "[no name]" +msgstr "" + +#: src/format/java/attribute.c:239 +#, c-format +msgid "Attribute name not supported: '%s'" +msgstr "" + +#: src/format/java/attribute.c:243 +#, c-format +msgid "Size indication of the attribute '%s' not verified: %d vs %d" +msgstr "" diff --git a/po/openida.pot b/po/openida.pot new file mode 100644 index 0000000..da896ae --- /dev/null +++ b/po/openida.pot @@ -0,0 +1,493 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR Cyrille Bagard +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: openida 0.0.1\n" +"Report-Msgid-Bugs-To: nocbos@gmail.com\n" +"POT-Creation-Date: 2010-11-04 16:24+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: src/panel/registers.c:100 src/panels/registers.c:101 +msgid "Registers:" +msgstr "" + +#: src/panel/registers.c:179 src/panels/registers.c:180 +msgid "Segments:" +msgstr "" + +#: src/panel/strings.c:87 src/panels/strings.c:87 src/panels/breaks.c:189 +msgid "Address" +msgstr "" + +#: src/panel/strings.c:91 src/panels/strings.c:91 src/panels/breaks.c:209 +msgid "String" +msgstr "" + +#: src/plugins/pyoida/py_log.c:118 +msgid "Invalid type of message" +msgstr "" + +#: src/shell.c:164 +msgid "" +"Exit detected ; lauching an new Python shell...\n" +"\r" +msgstr "" + +#: src/analysis/binary.c:299 +msgid "Disassembling..." +msgstr "" + +#: src/analysis/binary.c:307 +msgid "Establishing links..." +msgstr "" + +#: src/analysis/binary.c:315 +msgid "Finding remaining limits..." +msgstr "" + +#: src/analysis/binary.c:734 +msgid "default" +msgstr "" + +#: src/analysis/binary.c:757 +#, c-format +msgid "Opening '%s' file..." +msgstr "" + +#: src/analysis/binary.c:767 +msgid "Unknown binary format" +msgstr "" + +#: src/analysis/binary.c:775 +msgid "Detected architecture: ARM" +msgstr "" + +#: src/analysis/binary.c:778 +msgid "Detected architecture: Dalvik Virtual Machine" +msgstr "" + +#: src/analysis/binary.c:781 +msgid "Detected architecture: Java Virtual Machine" +msgstr "" + +#: src/analysis/binary.c:784 +msgid "" +"Detected architecture: Microprocessor without Interlocked Pipeline Stages" +msgstr "" + +#: src/analysis/binary.c:787 +msgid "Detected architecture: i386" +msgstr "" + +#: src/analysis/binary.c:790 +msgid "Unknown architecture" +msgstr "" + +#: src/analysis/binary.c:1432 +msgid "Disassembly generated by OpenIDA" +msgstr "" + +#: src/analysis/binary.c:1443 src/analysis/binary.c:1446 +msgid "File: " +msgstr "" + +#: src/analysis/binary.c:1460 src/analysis/binary.c:1463 +msgid "Sha256: " +msgstr "" + +#: src/analysis/binary.c:1568 src/analysis/binary.c:1571 +msgid "Group" +msgstr "" + +#: src/dialogs/export.c:151 +msgid "Export assistant" +msgstr "" + +#: src/dialogs/export.c:290 +msgid "Format : " +msgstr "" + +#: src/dialogs/export.c:296 +msgid "Simple text" +msgstr "" + +#: src/dialogs/export.c:306 +msgid "File : " +msgstr "" + +#: src/dialogs/export.c:318 +msgid "Output" +msgstr "" + +#: src/dialogs/export.c:384 +msgid "Choose an output filename" +msgstr "" + +#: src/dialogs/export.c:445 +msgid "Lines to process" +msgstr "" + +#: src/dialogs/export.c:452 +msgid "Prologue" +msgstr "" + +#: src/dialogs/export.c:456 +msgid "Code" +msgstr "" + +#: src/dialogs/export.c:460 +msgid "Comments" +msgstr "" + +#: src/dialogs/export.c:466 +msgid "Items to display" +msgstr "" + +#: src/dialogs/export.c:473 src/editor.c:324 +msgid "Virtual address" +msgstr "" + +#: src/dialogs/export.c:477 src/editor.c:327 +msgid "Binary code" +msgstr "" + +#: src/dialogs/export.c:481 +msgid "Assembly code" +msgstr "" + +#: src/dialogs/export.c:488 +msgid "Exported content" +msgstr "" + +#: src/dialogs/export.c:612 +msgid "Exporting binary lines..." +msgstr "" + +#: src/dialogs/about.c:70 src/editor.c:428 +msgid "About" +msgstr "" + +#: src/dialogs/plugins.c:106 +msgid "Plugins selection" +msgstr "" + +#: src/dialogs/plugins.c:214 +msgid "Author:" +msgstr "" + +#: src/dialogs/plugins.c:219 +msgid "label8" +msgstr "" + +#: src/dialogs/plugins.c:223 +msgid "Version:" +msgstr "" + +#: src/dialogs/plugins.c:228 +msgid "label9" +msgstr "" + +#: src/dialogs/plugins.c:232 +msgid "URL:" +msgstr "" + +#: src/dialogs/plugins.c:237 +msgid "label10" +msgstr "" + +#: src/dialogs/plugins.c:251 +msgid "label12" +msgstr "" + +#: src/dialogs/plugins.c:256 +msgid "Action" +msgstr "" + +#: src/dialogs/plugins.c:261 +msgid "Details:" +msgstr "" + +#: src/dialogs/plugins.c:293 +msgid "Apply" +msgstr "" + +#: src/dialogs/plugins.c:314 +msgid "Cancel" +msgstr "" + +#: src/dialogs/binparts.c:138 +msgid "Content to display" +msgstr "" + +#: src/dialogs/binparts.c:160 +msgid "Model :" +msgstr "" + +#: src/dialogs/binparts.c:210 +msgid "Active" +msgstr "" + +#: src/dialogs/binparts.c:215 +msgid "Name" +msgstr "" + +#: src/dialogs/binparts.c:220 +msgid "Start" +msgstr "" + +#: src/dialogs/binparts.c:224 +msgid "End" +msgstr "" + +#: src/dialogs/binparts.c:282 +msgid "Default" +msgstr "" + +#: src/dialogs/binparts.c:283 +msgid "Routines" +msgstr "" + +#: src/dialogs/binparts.c:284 +msgid "User" +msgstr "" + +#: src/editor.c:240 +msgid "OpenIDA" +msgstr "" + +#: src/editor.c:263 +msgid "_File" +msgstr "" + +#: src/editor.c:270 +msgid "New project" +msgstr "" + +#: src/editor.c:274 +msgid "Open project" +msgstr "" + +#: src/editor.c:280 +msgid "Save project" +msgstr "" + +#: src/editor.c:283 +msgid "Save project as..." +msgstr "" + +#: src/editor.c:289 +msgid "Recent projects..." +msgstr "" + +#: src/editor.c:295 +msgid "_View" +msgstr "" + +#: src/editor.c:302 +msgid "Text view" +msgstr "" + +#: src/editor.c:309 +msgid "Graph view" +msgstr "" + +#: src/editor.c:316 +msgid "Source code" +msgstr "" + +#: src/editor.c:333 +msgid "_Project" +msgstr "" + +#: src/editor.c:340 +msgid "Add a binary..." +msgstr "" + +#: src/editor.c:343 +msgid "Remove a binary" +msgstr "" + +#: src/editor.c:354 +msgid "_Binary" +msgstr "" + +#: src/editor.c:361 +msgid "Select parts..." +msgstr "" + +#: src/editor.c:364 +msgid "Select plugins..." +msgstr "" + +#: src/editor.c:370 +msgid "Export..." +msgstr "" + +#: src/editor.c:375 +msgid "_Debug" +msgstr "" + +#: src/editor.c:382 +msgid "Start process" +msgstr "" + +#: src/editor.c:385 +msgid "Pause process" +msgstr "" + +#: src/editor.c:388 +msgid "Resume process" +msgstr "" + +#: src/editor.c:391 +msgid "Kill process" +msgstr "" + +#: src/editor.c:397 +msgid "Step into" +msgstr "" + +#: src/editor.c:400 +msgid "Step over" +msgstr "" + +#: src/editor.c:403 +msgid "Run until ret" +msgstr "" + +#: src/editor.c:415 +msgid "_Plugins" +msgstr "" + +#: src/editor.c:421 +msgid "_Help" +msgstr "" + +#: src/editor.c:479 +msgid "Registers" +msgstr "" + +#: src/editor.c:496 +msgid "Messages" +msgstr "" + +#: src/editor.c:499 +msgid "Strings" +msgstr "" + +#: src/editor.c:506 +msgid "Shell" +msgstr "" + +#: src/editor.c:594 +msgid "The current project will be lost. Do you you want to save it ?" +msgstr "" + +#: src/editor.c:699 +msgid "Open a project" +msgstr "" + +#: src/editor.c:781 +msgid "Save the project as..." +msgstr "" + +#: src/editor.c:974 +msgid "Open a binary file" +msgstr "" + +#: src/gtkext/gtkblockview.c:324 +msgid "Inserting lines..." +msgstr "" + +#: src/debug/ptrace/ptrace.c:302 +#, c-format +msgid "Starting to debug %s..." +msgstr "" + +#: src/debug/ptrace/ptrace.c:378 +#, c-format +msgid "Finished to debug %s..." +msgstr "" + +#: src/panels/symbols.c:181 +msgid "Symbols" +msgstr "" + +#: src/panels/breaks.c:156 +msgid "Breakpoints" +msgstr "" + +#: src/panels/glimpse.c:105 +msgid "Glimpse" +msgstr "" + +#: src/format/format.c:338 +msgid "Dalvik Executable" +msgstr "" + +#: src/format/format.c:340 src/format/exe_format.c:242 +msgid "ELF" +msgstr "" + +#: src/format/format.c:341 src/format/exe_format.c:243 +msgid "Java" +msgstr "" + +#: src/format/format.c:342 +msgid "PE" +msgstr "" + +#: src/format/format.c:373 src/format/exe_format.c:301 +#, c-format +msgid "%s is matching..." +msgstr "" + +#: src/format/elf/symbols.c:99 +msgid "Binary is dynamically linked" +msgstr "" + +#: src/format/elf/symbols.c:106 +msgid "Binary is statically linked" +msgstr "" + +#: src/format/elf/elf.c:182 +#, c-format +msgid "" +"Corrupted program header size (%hu); fixed ! -- replacing 0x%04hx by 0x" +"%04hx at offset 0x%x" +msgstr "" + +#: src/format/elf/elf.c:191 +#, c-format +msgid "" +"Corrupted section header size (%hu); fixed ! -- replacing 0x%04hx by 0x" +"%04hx at offset 0x%x" +msgstr "" + +#: src/format/exe_format.c:244 +msgid "Portable Executable" +msgstr "" + +#: src/format/dwarf/info.c:483 +msgid "[no name]" +msgstr "" + +#: src/format/java/attribute.c:239 +#, c-format +msgid "Attribute name not supported: '%s'" +msgstr "" + +#: src/format/java/attribute.c:243 +#, c-format +msgid "Size indication of the attribute '%s' not verified: %d vs %d" +msgstr "" 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 #include +#include + #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"); diff --git a/src/editor.c b/src/editor.c index a2741ab..c5c697e 100644 --- a/src/editor.c +++ b/src/editor.c @@ -25,6 +25,8 @@ #include "editor.h" +#include + @@ -62,9 +64,6 @@ -#define _(str) str - - void sigchld_handler(int num); diff --git a/src/main.c b/src/main.c index e47cd35..fbf8b14 100644 --- a/src/main.c +++ b/src/main.c @@ -27,6 +27,7 @@ #include #include +#include #include "editor.h" #include "params.h" @@ -67,10 +68,8 @@ int main(int argc, char **argv) set_main_configuration(config); setlocale(LC_ALL, ""); - /* bindtextdomain(PACKAGE, LOCALE_DIR); textdomain(PACKAGE); - */ /* init threads */ g_thread_init(NULL); -- cgit v0.11.2-87-g4458