- fprintf_unfiltered (gdb_stderr, "Type ");
+ fprintf_unfiltered (gdb_stderr, _("Type "));
if (type == NULL)
- fprintf_unfiltered (gdb_stderr, "(null)");
+ fprintf_unfiltered (gdb_stderr, _("(null)"));
else
type_print (type, "", gdb_stderr, -1);
- error (" is not a structure or union type");
+ error (_(" is not a structure or union type"));
This fragment should be rewritten to use full sentences, like in
"Type (null) is not a structure or union type", instead of marking
each part separately. That way, a translator will be able to
translate the entire sentence as a single entity, rather than each
part. (Translating sentences in parts usually leads to bad
translations, unless the translator makes an effort to read the
source.)