Skip to content

Commit

Permalink
Merge pull request CleverRaven#38301 from Aloxaf/fix_veh_owner_trans
Browse files Browse the repository at this point in the history
Fix translation of vehicle owner
  • Loading branch information
ZhilkinSerg authored Feb 24, 2020
2 parents 9c7257d + a31826a commit b54b890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vehicle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4217,9 +4217,9 @@ std::string vehicle::get_owner_name() const
{
if( !g->faction_manager_ptr->get( owner ) ) {
debugmsg( "vehicle::get_owner_name() vehicle %s has no valid nor null faction id ", disp_name() );
return "no owner";
return _( "no owner" );
}
return g->faction_manager_ptr->get( owner )->name;
return _( g->faction_manager_ptr->get( owner )->name );
}

void vehicle::set_owner( const Character &c )
Expand Down

0 comments on commit b54b890

Please sign in to comment.