From Craig Silverstein: add some internationalization calls.
This commit is contained in:
parent
097ec620e1
commit
27b7985a73
3 changed files with 3 additions and 3 deletions
|
@ -77,7 +77,7 @@ gold_nomem()
|
|||
void
|
||||
do_gold_unreachable(const char* filename, int lineno, const char* function)
|
||||
{
|
||||
fprintf(stderr, "%s: internal error in %s, at %s:%d\n",
|
||||
fprintf(stderr, _("%s: internal error in %s, at %s:%d\n"),
|
||||
program_name, function, filename, lineno);
|
||||
gold_exit(false);
|
||||
}
|
||||
|
|
|
@ -824,7 +824,7 @@ Input_objects::add_object(Object* obj)
|
|||
this->target_ = target;
|
||||
else if (this->target_ != target)
|
||||
{
|
||||
fprintf(stderr, "%s: %s: incompatible target\n",
|
||||
fprintf(stderr, _("%s: %s: incompatible target\n"),
|
||||
program_name, obj->name().c_str());
|
||||
gold_exit(false);
|
||||
}
|
||||
|
|
|
@ -276,7 +276,7 @@ Symbol_table::should_override(const Symbol* to, unsigned int frombits,
|
|||
{
|
||||
case DEF * 16 + DEF:
|
||||
// Two definitions of the same symbol.
|
||||
fprintf(stderr, "%s: multiple definition of %s\n",
|
||||
fprintf(stderr, _("%s: multiple definition of %s\n"),
|
||||
program_name, to->name());
|
||||
// FIXME: Report locations. Record that we have seen an error.
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue