]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* mt-asm.c (parse_imm16): Reword error message in order to allow it to be translated...
authorNick Clifton <nickc@redhat.com>
Wed, 26 Sep 2007 16:07:18 +0000 (16:07 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 26 Sep 2007 16:07:18 +0000 (16:07 +0000)
* ia64-gen.c (print_dependency_table): Likewise.
* mips-dis.c (print_insn_args): Likewise.

opcodes/ChangeLog
opcodes/ia64-gen.c
opcodes/mips-dis.c
opcodes/mt-asm.c

index c8e55e8a6c2fdb18c51e0d6b1771d8ad01d4711a..3f235bf3766a46e3e1eb6cf6166e78a5fd6241f6 100644 (file)
@@ -1,3 +1,10 @@
+2007-09-26  Nick Clifton  <nickc@redhat.com>
+
+       * mt-asm.c (parse_imm16): Reword error message in order to allow
+       it to be translated properly.
+       * ia64-gen.c (print_dependency_table): Likewise.
+       * mips-dis.c (print_insn_args): Likewise.
+
 2007-09-26  Jan Beulich  <jbeulich@novell.com>
 
        * i386-dis.c (OP_E_extended): Distinguish rip- and eip-
index 7dc85b513b40d25d84e06d35679efdb757b1c6d9..5c897a95322523dc90ab1c02b08191174069b733 100644 (file)
@@ -1550,9 +1550,14 @@ print_dependency_table ()
            static const char *mode_str[] = { "RAW", "WAW", "WAR" };
 
            if (rdeps[i]->total_chks == 0)
-             warn (_("Warning: rsrc %s (%s) has no chks%s\n"), 
-                   rdeps[i]->name, mode_str[rdeps[i]->mode],
-                   rdeps[i]->total_regs ? "" : " or regs");
+             {
+               if (rdeps[i]->total_regs)
+                 warn (_("Warning: rsrc %s (%s) has no chks%\n"), 
+                       rdeps[i]->name, mode_str[rdeps[i]->mode]);
+               else
+                 warn (_("Warning: rsrc %s (%s) has no chks or regs\n"), 
+                       rdeps[i]->name, mode_str[rdeps[i]->mode]);
+             }
            else if (rdeps[i]->total_regs == 0)
              warn (_("rsrc %s (%s) has no regs\n"),
                    rdeps[i]->name, mode_str[rdeps[i]->mode]);
index 3f09294a9b92bb99c34fa1047a6da80017300600..2c42b49f517f80219104e559c9fcb4f8f9ae3950 100644 (file)
@@ -1208,7 +1208,7 @@ print_insn_args (const char *d,
        default:
          /* xgettext:c-format */
          (*info->fprintf_func) (info->stream,
-                                _("# internal error, undefined modifier(%c)"),
+                                _("# internal error, undefined modifier (%c)"),
                                 *d);
          return;
        }
index c1660ed52bd1c55ba75a5844e81b52e2d3b0b55c..1b0156ee985a5412f475c8f5c58648f41ff17c74 100644 (file)
@@ -154,7 +154,7 @@ parse_imm16 (CGEN_CPU_DESC cd,
               break;
 
             default:
-              errmsg = _("%operator operand is not a symbol");
+              errmsg = _("The percent-operator's operand is not a symbol");
               break;
              }
         }