From a31826a9c85a8034b5742ab7d324142b375d5536 Mon Sep 17 00:00:00 2001 From: Aloxaf Date: Mon, 24 Feb 2020 20:54:48 +0800 Subject: [PATCH] Fix translation of vehicle owner --- src/vehicle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vehicle.cpp b/src/vehicle.cpp index a7eea2a7ddaf5..0fb9e0c5902ea 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -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 )