Fix translation key

This commit is contained in:
SiboVG 2023-04-08 23:51:11 +02:00
parent fa9613923f
commit d3faa950b3
2 changed files with 2 additions and 2 deletions

View File

@ -1412,7 +1412,7 @@ RASAeroExport.error27 = Transition '%s' has no previous component.
RASAeroExport.error28 = Transition '%s' should have the same fore radius as the aft radius (%f) of its previous component, not %f.
RASAeroExport.error29 = Boattail length may not be zero.
RASAeroExport.error30 = Boattail rear diameter may not be zero.
RASAeroExport.error31 = Stage '%s' can only contain a body tube (incl. shoulder transition), ignoring other %d component(s).
RASAeroExport.error31 = Stage '%s' can only contain a body tube (incl. shoulder transition).
RASAeroExport.error32 = Boattails can only be added to the last stage.
RASAeroExport.error33 = Invalid component '%s' in sustainer stage.

View File

@ -176,7 +176,7 @@ public class BoosterDTO implements BodyTubeDTOAdapter {
setBoattailRearDiameter(transition.getAftRadius() * 2 * RASAeroCommonConstants.OPENROCKET_TO_RASAERO_LENGTH);
}
String msg = String.format(trans.get("RASAeroExport.error31"), stage.getName(), stage.getChildCount() - i);
String msg = String.format(trans.get("RASAeroExport.error31"), stage.getName());
if (isBoattail) {
msg = "<html>" + msg + "<br>&nbsp;" + trans.get("RASAeroExport.error32") + "</html>";