@@ -212,29 +212,30 @@ public String getSupportPersonnelDetails() {
212212
213213 StringBuilder sb = new StringBuilder (resources .getString ("support.personnel.header.text" )+"\n \n " );
214214
215- sb .append (String .format ("%-30s %4s\n " , resources .getString ("support.personnel.text" ), countTotal ));
215+ sb .append (String .format ("%-30s %4s\n " , resources .getString ("support.personnel.text" ), countTotal ));
216216
217217 for (PersonnelRole role : personnelRoles ) {
218218 if (role .isSupport (true )) {
219- sb .append (String .format (" %-30s %4s\n " ,
219+ sb .append (String .format (" %-30s %4s\n " ,
220220 role .getLabel (getCampaign ().getFaction ().isClan ()),
221221 countPersonByType [role .ordinal ()]));
222222 }
223223 }
224224
225225 //Add Temp Medics and Astechs to Support List
226- sb .append (String .format (" %-30s %4s\n " , "Temp Medics" , getCampaign ().getMedicPool ()));
227- sb .append (String .format (" %-30s %4s\n " , "Temp Astechs" , getCampaign ().getAstechPool ()));
226+ sb .append (String .format (" %-30s %4s\n " , "Temp Medics" , getCampaign ().getMedicPool ()));
227+ sb .append (String .format (" %-30s %4s\n " , "Temp Astechs" , getCampaign ().getAstechPool ()));
228228
229229 sb .append (getSecondarySupportPersonnelDetails ());
230230
231231 sb .append ('\n' )
232- .append (String .format ("%-30s %4s\n " , resources .getString ("support.injured.text" ), countInjured ))
233- .append (String .format ("%-30s %4s\n " , resources .getString ("support.MIA.text" ), countMIA ))
234- .append (String .format ("%-30s %4s\n " , resources .getString ("support.KIA.text" ), countKIA ))
235- .append (String .format ("%-30s %4s\n " , resources .getString ("support.retired.text" ), countRetired ))
236- .append (String .format ("%-30s %4s\n " , resources .getString ("support.dead.text" ), countDead ))
237- .append (String .format ("%-30s %4s\n " , resources .getString ("support.student.text" ), countStudents ))
232+ .append (String .format ("%-30s %4s\n " , resources .getString ("support.injured.text" ), countInjured ))
233+ .append (String .format ("%-30s %4s\n " , resources .getString ("support.MIA.text" ), countMIA ))
234+ .append (String .format ("%-30s %4s\n " , resources .getString ("support.KIA.text" ), countKIA ))
235+ .append (String .format ("%-30s %4s\n " , resources .getString ("support.retired.text" ), countRetired ))
236+ .append (String .format ("%-30s %4s\n " , resources .getString ("support.dead.text" ), countDead ))
237+ .append (String .format ("%-30s %4s\n " , resources .getString ("support.student.text" ),
238+ countStudents ))
238239 .append ("\n " ).append (resources .getString ("support.salary.text" )).append (": " )
239240 .append (salary .toAmountAndSymbolString ())
240241 .append ((dependents == 1 ) ? "\n " + getFormattedTextAt ("mekhq.resources.PersonnelReport" , "support.dependant.text"
@@ -245,7 +246,6 @@ public String getSupportPersonnelDetails() {
245246 + ".PersonnelReport" , "support.children.text" , children , childrenStudents ))
246247 .append ("\n " ).append (resources .getString ("dependant.salary.text" )).append (": " )
247248 .append (civilianSalaries .toAmountAndSymbolString ())
248- .append ("\n " ).append (resources .getString ("support.salary.text" )).append (": " )
249249 .append ("\n " ).append ((prisoners == 1 ) ? getFormattedTextAt ("mekhq.resources"
250250 + ".PersonnelReport" , "prisoner.text" , prisoners ):getFormattedTextAt ("mekhq.resources"
251251 + ".PersonnelReport" , "prisoners.text" , prisoners )).append (": " )
@@ -272,11 +272,11 @@ public String getSecondarySupportPersonnelDetails() {
272272
273273 StringBuilder sb = new StringBuilder ("\n " + resources .getString ("secondary.support.header.text" )+"\n \n " );
274274
275- sb .append (String .format ("%-30s%4s\n " , resources .getString ("secondary.support.text" ), countSecondary ));
275+ sb .append (String .format ("%-30s %4s\n " , resources .getString ("secondary.support.text" ), countSecondary ));
276276
277277 countPersonByType .forEach ((role , value ) ->
278278 {if (role .isSupport (true ) && value >= 0 ){
279- sb .append (String .format (" %-30s %4s\n " ,
279+ sb .append (String .format (" %-30s %4s\n " ,
280280 role .getLabel (getCampaign ().getFaction ().isClan ()),
281281 value ));
282282 }
0 commit comments