From d628c6a3154161806a45d90c9c4609535045aba9 Mon Sep 17 00:00:00 2001 From: paulbarker Date: Sat, 1 Sep 2007 20:11:11 +0000 Subject: [PATCH] * Marked message strings so gettext can find them. * Updated POTFILES.in svn path=/branches/multiarch/; revision=1925 --- modules/preprocs/cpp/cpp-preproc.c | 4 ++-- modules/preprocs/nasm/nasm-preproc.c | 2 +- modules/preprocs/raw/raw-preproc.c | 2 +- modules/preprocs/yapp/yapp-preproc.c | 2 +- po/POTFILES.in | 9 ++++++--- 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/modules/preprocs/cpp/cpp-preproc.c b/modules/preprocs/cpp/cpp-preproc.c index 794766b6..a35b2544 100644 --- a/modules/preprocs/cpp/cpp-preproc.c +++ b/modules/preprocs/cpp/cpp-preproc.c @@ -140,7 +140,7 @@ cpp_invoke(yasm_preproc_cpp *pp) pp->f = popen(cmdline, "r"); if (!pp->f) - yasm__fatal("Failed to execute preprocessor"); + yasm__fatal( N_("Failed to execute preprocessor") ); yasm_xfree(cmdline); } @@ -172,7 +172,7 @@ cpp_preproc_destroy(yasm_preproc *preproc) if (pp->f) { if (pclose(pp->f) != 0) - yasm__fatal("Preprocessor exited with failure"); + yasm__fatal( N_("Preprocessor exited with failure") ); } yasm_xfree(pp->filename); diff --git a/modules/preprocs/nasm/nasm-preproc.c b/modules/preprocs/nasm/nasm-preproc.c index 22a4096e..78993b57 100644 --- a/modules/preprocs/nasm/nasm-preproc.c +++ b/modules/preprocs/nasm/nasm-preproc.c @@ -139,7 +139,7 @@ nasm_preproc_create(const char *in_filename, yasm_linemap *lm, if (strcmp(in_filename, "-") != 0) { f = fopen(in_filename, "r"); if (!f) - yasm__fatal("Could not open input file"); + yasm__fatal( N_("Could not open input file") ); } else f = stdin; diff --git a/modules/preprocs/raw/raw-preproc.c b/modules/preprocs/raw/raw-preproc.c index 27880d3a..869cbec4 100644 --- a/modules/preprocs/raw/raw-preproc.c +++ b/modules/preprocs/raw/raw-preproc.c @@ -53,7 +53,7 @@ raw_preproc_create(const char *in_filename, yasm_linemap *lm, if (strcmp(in_filename, "-") != 0) { f = fopen(in_filename, "r"); if (!f) - yasm__fatal("Could not open input file"); + yasm__fatal( N_("Could not open input file") ); } else f = stdin; diff --git a/modules/preprocs/yapp/yapp-preproc.c b/modules/preprocs/yapp/yapp-preproc.c index ed16ad57..e1215a75 100644 --- a/modules/preprocs/yapp/yapp-preproc.c +++ b/modules/preprocs/yapp/yapp-preproc.c @@ -250,7 +250,7 @@ yapp_preproc_create(const char *in_filename, yasm_linemap *lm, if (strcmp(in_filename, "-") != 0) { f = fopen(in_filename, "r"); if (!f) - yasm__fatal("Could not open input file"); + yasm__fatal( N_("Could not open input file") ); } else f = stdin; diff --git a/po/POTFILES.in b/po/POTFILES.in index 4dc46a98..34438fa8 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -6,7 +6,6 @@ frontends/yasm/yasm-options.c frontends/yasm/yasm.c -#lc3bid.c libyasm/bc-align.c libyasm/bc-data.c libyasm/bc-incbin.c @@ -23,10 +22,11 @@ libyasm/insn.c libyasm/intnum.c libyasm/section.c libyasm/symrec.c +libyasm/valparam.c libyasm/value.c libyasm/xmalloc.c -#modules/arch/lc3b/lc3barch.c -#modules/arch/lc3b/lc3bbc.c +modules/arch/lc3b/lc3barch.c +modules/arch/lc3b/lc3bbc.c modules/arch/x86/x86arch.c modules/arch/x86/x86bc.c modules/arch/x86/x86expr.c @@ -54,5 +54,8 @@ modules/parsers/gas/gas-parser.c modules/parsers/gas/gas-token.re modules/parsers/nasm/nasm-parse.c modules/parsers/nasm/nasm-token.re +modules/preprocs/cpp/cpp-preproc.c +modules/preprocs/yapp/yapp-preproc.c +modules/preprocs/nasm/nasm-preproc.c modules/preprocs/nasm/nasm-pp.c modules/preprocs/raw/raw-preproc.c -- 2.40.0