FTB-Modpack-Issues icon indicating copy to clipboard operation
FTB-Modpack-Issues copied to clipboard

Some Localization Issues

Open StarskyXIII opened this issue 10 months ago • 0 comments

Modpack

FTB OceanBlock 2

Modpack version

1.3.0

Launcher

Prism

Has the pack been modified

No

Log Files

No response

Describe the bug

Language File Issues:

Missing language keys for some Slurry. Nickel Slurry is also incorrectly named Silver Slurry. It should be:

"chemical.ftb.aluminum_clean": "Clean Aluminum Slurry",
"chemical.ftb.aluminum_dirty": "Dirty Aluminum Slurry",
"chemical.ftb.nickel_clean": "Clean Nickel Slurry",
"chemical.ftb.nickel_dirty": "Dirty Nickel Slurry",
"chemical.ftb.platinum_clean": "Clean Platinum Slurry",
"chemical.ftb.platinum_dirty": "Dirty Platinum Slurry",
"chemical.ftb.silver_clean": "Clean Silver Slurry",
"chemical.ftb.silver_dirty": "Dirty Silver Slurry",

Incorrect language keys for custom fluids. It should be:

"fluid_type.ftb.molten_cast_iron": "Molten Cast Iron",
"fluid_type.ftb.molten_copper_alloy": "Molten Copper Alloy",

The context of Commlink's Link messages is reversed. It should be:

"message.ftb_gps.disconnected": "GPS Link Disconnected!",
"message.ftb_gps.established": "GPS Link Established!",

"message.rift.itemUse" is mistranslated as message.rift.itemUse. It should be:

"message.rift.itemUse": "You can't use this in the Rift!",

Missing language key for Red Sandstone Pebbles.

"item.ftb.red_sandstone_pebbles": "Red Sandstone Pebbles",

Some sentences incorrectly use the full-width character instead of the standard ! character. For example:

"message.rift.timeLeft": "%1$d %2$s Left in the Rift!!"

KubeJS Script Issues

In the rift.js script within the server_scripts directory, some message translation keys are accidentally wrapped with []. This prevents the translations from being applied in-game. Removing the [] will fix the issue.

  • event.player.tell(Text.translate(["message.rift.itemUse"]).darkPurple());
  • event.player.tell(Text.translate(["message.rift.cardboardUse"]).darkPurple())
  • event.player.tell(Text.translate(["message.rift.itemUse"]).darkPurple());

Image

In the same script, the following content was not given a translation key.

if (timeLeft % (20 * 60) == 0) {

        var minutesLeft = (timeLeft / 20) / 60;

        new ImmersiveMessage(event.player, `${minutesLeft} ${minutesLeft == 1 ? "Minute" : "Minutes" } Left in the Rift!`)

          .setColor("#AA00AA")

          .setDuration(5)

          .send()

      }

Steps to reproduce

  1. Open en_us.json in the kubejs/assets/ftb/lang directory
  2. Open rift.js in the kubejs/server_scripts/rift directory

Expected behaviour

correctly localize

Screenshots

No response

Additional information

No response

StarskyXIII avatar Feb 25 '25 17:02 StarskyXIII