Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more missing translations #52356

Merged
merged 1 commit into from
Oct 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/activity_item_handling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1908,7 +1908,7 @@ static bool fetch_activity( Character &you, const tripoint &src_loc,
you.backlog.front().id() == ACT_MULTIPLE_MINE ||
you.backlog.front().id() == ACT_MULTIPLE_MOP ) ) {
if( it.volume() > volume_allowed || it.weight() > weight_allowed ) {
add_msg_if_player_sees( you, "%1s failed to fetch tools", you.name );
add_msg_if_player_sees( you, _( "%1s failed to fetch tools." ), you.name );
continue;
}
item leftovers = it;
Expand Down
5 changes: 3 additions & 2 deletions src/mission.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -789,8 +789,9 @@ std::string mission::dialogue_for_topic( const std::string &in_topic ) const
return response->second.translated();
}

return string_format( "Someone forgot to code this message id is %s, topic is %s!",
type->id.c_str(), topic.c_str() );
debugmsg( "Someone forgot to code this message id is %s, topic is %s!",
type->id.c_str(), topic.c_str() );
return "";
}

mission::mission()
Expand Down
2 changes: 1 addition & 1 deletion src/mutation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ void Character::activate_mutation( const trait_id &mut )
int npower;
if( query_int( npower, "Modify bionic power by how much? (Values are in millijoules)" ) ) {
mod_power_level( units::from_millijoule( npower ) );
add_msg_if_player( m_good, "Bionic power increased by %dmJ.", npower );
add_msg_if_player( m_good, _( "Bionic power increased by %dmJ." ), npower );
tdata.powered = false;
}
return;
Expand Down
5 changes: 3 additions & 2 deletions src/npc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3376,8 +3376,9 @@ std::string npc::describe_mission() const
case NPC_MISSION_NULL:
return myclass.obj().get_job_description();
default:
return string_format( "ERROR: Someone forgot to code an npc_mission text for "
"mission: %d.", static_cast<int>( mission ) );
debugmsg( "ERROR: Someone forgot to code an npc_mission text for mission: %d.",
static_cast<int>( mission ) );
return "";
} // switch (mission)
}

Expand Down
4 changes: 2 additions & 2 deletions src/npctalk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -909,8 +909,8 @@ std::string dialogue::dynamic_line( const talk_topic &the_topic ) const
}
}

return string_format( "I don't know what to say for %s. (BUG (npctalk.cpp:dynamic_line))",
topic );
debugmsg( "I don't know what to say for %s. (BUG (npctalk.cpp:dynamic_line))", topic );
return "";
}

void dialogue::apply_speaker_effects( const talk_topic &the_topic )
Expand Down