Skip to content

Commit

Permalink
Update engineeringScreen.cpp (daid#2125)
Browse files Browse the repository at this point in the history
add 2 missing tr(
  • Loading branch information
muerteFR authored and Tsht committed Oct 12, 2024
1 parent 17afdf2 commit 5866cb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/screens/crew6/engineeringScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,8 @@ void EngineeringScreen::onDraw(sp::RenderTarget& renderer)
float health_max = my_spaceship->getSystemHealthMax(selected_system);
if (health_max < 1.0f)
{
addSystemEffect(tr("Necessary intervention"), tr("see log"),glm::u8vec4(255,0,0,255)); //TODO TRAD
addSystemEffect(tr("Maximal health"), toNearbyIntString(health_max * 100) + "%"); //TODO TRAD
//addSystemEffect(tr("Engineer", "Necessary intervention"), tr("see log"),glm::u8vec4(255,0,0,255)); //TODO TRAD
addSystemEffect(tr("Engineer", "Maximal health"), toNearbyIntString(health_max * 100) + "%");
}
switch(selected_system)
{
Expand All @@ -620,7 +620,7 @@ void EngineeringScreen::onDraw(sp::RenderTarget& renderer)
{
if (my_spaceship->beam_weapons[n].getTurretArc() > 0)
{
addSystemEffect(tr("Beam rotation"), toNearbyIntString(effectiveness * 100) + "%");
addSystemEffect(tr("Engineer", "Turret rotation rate"), toNearbyIntString(effectiveness * 100) + "%");
break;
}
}
Expand Down

0 comments on commit 5866cb1

Please sign in to comment.