Skip to content

Conversation

Star-And-Space
Copy link

Hi!
I Modified some of the source code, Parts configuration of this mod to it can support other language,
And Added Chinese translation.
Looking forward to your review.

Comment on lines 21 to 22
@title = Procedural Real Fuels Tank
@description ^= :^:Baseline tank type. Accepts most fuels. Can be switched between unpressurised, balloon, cryogenic, ballooon cryo, and service module types. :
@title = #PP_Parts_TankRealFuels_title //Procedural Real Fuels Tank
@description ^= #PP_Parts_TankRealFuels_description //: Baseline tank type. Accepts most fuels. Can be switched between unpressurised, balloon, cryogenic, ballooon cryo, and service module types.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changes the meaning of the MM patch

Copy link
Author

@Star-And-Space Star-And-Space Jul 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just saw it now,I'll change it

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changes the meaning of the MM patch

There is already add suffixes (:^: and :) in Localization files.

title = #PP_Parts_ProceduralStackDecoupler_title //Procedural Stack Decoupler
manufacturer = Kerbchem Industries
description = Made from viscoelastic nanopolymers (which were discovered by accident... growing in the back of the office mini-fridge) this decoupler can be stretched to accommodate a range of sizes.
description = #PP_Parts_ProceduralStackDecoupler_description //Made from viscoelastic nanopolymers (which were discovered by accident... growing in the back of the office mini-fridge) this decoupler can be stretched to accommodate a range of sizes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra space here

return true;
}
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You somehow managed to mark every line in this file as changed (different line endings?). This is no good.

</ItemGroup>
<Copy SourceFiles="@(OutputFiles)" DestinationFolder="$(ProjectDir)..\GameData\ProceduralParts\Plugins\" />
</Target>
</Project>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above. The entire file is changed.

float thrust1 = thrust * isp1 / isp0;
srbISP = $"{isp0:F0}s Vac / {isp1:F0}s ASL";
thrustStats = $"{thrust0.ToStringSI(unit: "N", exponent: 3)} Vac / {thrust1.ToStringSI(unit: "N", exponent: 3)} ASL";
srbISP = KSP.Localization.Localizer.Format("#PP_plugin_SRB_ISPInfo", Math.Round(isp0,1), Math.Round(isp1,1));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this used to show 0 decimal digits but now you're rounding to show 1.

using System.Linq;
using UnityEngine;


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be here.

@Star-And-Space
Copy link
Author

Do you have any other opinions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants