* python/py-symbol.c (sympy_value): Use _().
authorTom Tromey <tromey@redhat.com>
Wed, 15 Feb 2012 17:51:04 +0000 (17:51 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 15 Feb 2012 17:51:04 +0000 (17:51 +0000)
gdb/ChangeLog
gdb/python/py-symbol.c

index 5462b5bfdd271ffd5b6d066a5b2db9a77fa97649..09cb9c2b7ebe91a16e8ee2ba3b9d74e43867a3e5 100644 (file)
@@ -1,3 +1,7 @@
+2012-02-15  Tom Tromey  <tromey@redhat.com>
+
+       * python/py-symbol.c (sympy_value): Use _().
+
 2012-02-15  Pedro Alves  <palves@redhat.com>
 
        * remote.c (remote_detach_1, extended_remote_attach_1): Tweak
index 1c00b4811e794480867bcbbb93a09327c161b227..00a84777a491ac2f6a2bf221e945360db8798116 100644 (file)
@@ -268,11 +268,11 @@ sympy_value (PyObject *self, PyObject *args)
        {
          frame_info = frame_object_to_frame_info (frame_obj);
          if (frame_info == NULL)
-           error ("invalid frame");
+           error (_("invalid frame"));
        }
       
       if (symbol_read_needs_frame (symbol) && frame_info == NULL)
-       error ("symbol requires a frame to compute its value");
+       error (_("symbol requires a frame to compute its value"));
 
       value = read_var_value (symbol, frame_info);
     }
This page took 0.029258 seconds and 4 git commands to generate.