Integrated Dynamics

Integrated Dynamics

88M Downloads

Unused/malformatted translatable string "operator.integrateddynamics.applied.type"

Jack-McKalling opened this issue · 1 comments

commented

Issue type:

  • 🐛 Bug

Short description:

This string operator.integrateddynamics.applied.type contains a formatting error (it's missing the character that says how to format the string).

"§Applied to: §r%s"

Supposedly it's used here:

lines.add(Component.translatable(L10NValues.OPERATOR_APPLIED_TYPE, getAppliedSymbol()));

But I cannot reproduce the displaying of this text. The string (or the above code) might not be used, used correctly, or even implemented correctly.

Steps to reproduce the problem:

  1. Get 3 blank variable cards and the Logic Programmer
  2. Open the LP and click on the Operator operator, and select the first option in the dropdown ("Logical AND")
  3. Write this to the 1st variable card
  4. Click on the Boolean operator and check the checkbox
  5. Write this to the 2nd variable card
  6. Type "apply" in the search box and click on the apply (1) operator
  7. Put the 1st card in the 1st input slot, and the 2nd card in the 2nd input slot
  8. Write this to the 3rd variable card
  9. Hover over the 3rd card to see its tooltip

Supposedly you just made a "curried operator" that hasn't applied all its inputs yet, but it still doesn't display the above "Applied to: ..." string.

Expected behaviour:

The above mentioned string would be displayed in the tooltip, with broken formatting since the paragraph symbol isn't followed by a valid formatting code.

I suppose this malformatting also might hide the string, or cause an exception somewhere, or at least do something. But I'm not even sure the above method is even used.


Versions:

  • Cyclops Core: 1.25.6-721
  • CC: 2.9.7-197
  • Dynamics: 1.25.5-1095
  • Minecraft: 1.21.1
  • Mod loader version: NeoForge 21.1.122

Log file:

commented

Thanks for reporting!