2005-02-10 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / interps.c
index 4a521baa4492002bebd41011c59340548479a81f..669b041b0dad3e91007989d0b247ea6c099c5fc4 100644 (file)
@@ -144,7 +144,7 @@ interp_set (struct interp *interp)
          && !current_interpreter->procs->suspend_proc (current_interpreter->
                                                        data))
        {
-         error ("Could not suspend interpreter \"%s\"\n",
+         error (_("Could not suspend interpreter \"%s\"."),
                 current_interpreter->name);
        }
     }
@@ -368,7 +368,7 @@ interpreter_exec_cmd (char *args, int from_tty)
   prules = buildargv (args);
   if (prules == NULL)
     {
-      error ("unable to parse arguments");
+      error (_("unable to parse arguments"));
     }
 
   nrules = 0;
@@ -381,20 +381,20 @@ interpreter_exec_cmd (char *args, int from_tty)
     }
 
   if (nrules < 2)
-    error ("usage: interpreter-exec <interpreter> [ <command> ... ]");
+    error (_("usage: interpreter-exec <interpreter> [ <command> ... ]"));
 
   old_interp = current_interpreter;
 
   interp_to_use = interp_lookup (prules[0]);
   if (interp_to_use == NULL)
-    error ("Could not find interpreter \"%s\".", prules[0]);
+    error (_("Could not find interpreter \"%s\"."), prules[0]);
 
   /* Temporarily set interpreters quiet */
   old_quiet = interp_set_quiet (old_interp, 1);
   use_quiet = interp_set_quiet (interp_to_use, 1);
 
   if (!interp_set (interp_to_use))
-    error ("Could not switch to interpreter \"%s\".", prules[0]);
+    error (_("Could not switch to interpreter \"%s\"."), prules[0]);
 
   for (i = 1; i < nrules; i++)
     {
@@ -403,7 +403,7 @@ interpreter_exec_cmd (char *args, int from_tty)
        {
          interp_set (old_interp);
          interp_set_quiet (interp_to_use, old_quiet);
-         error ("error in command: \"%s\".", prules[i]);
+         error (_("error in command: \"%s\"."), prules[i]);
          break;
        }
     }
This page took 0.025654 seconds and 4 git commands to generate.