Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report loot_capacitor_template not working as expected #765

Open
1 task done
mamaruo opened this issue Jul 30, 2024 · 1 comment
Open
1 task done

Bug Report loot_capacitor_template not working as expected #765

mamaruo opened this issue Jul 30, 2024 · 1 comment
Labels
Area-Lang Status-Awaiting Response Waiting for OP to respond Status-Triage A Triage Member should take a look at this Type-Bug There is a problem.

Comments

@mamaruo
Copy link

mamaruo commented Jul 30, 2024

Is there an existing issue for this?

  • I did not find any existing issues.

Current Behavior

"item.enderio.loot_capacitor_template": "%s %s %s", in language file does not work well. I think the three indicate extra modifier level, extra modifier type, base modifier level. See Crowdin comment for my full understading.

And when I remove spaces, like %s%s%s, the translated name still contains spaces.
image

In addition, %[argument_index$]s syntax does not work as well, like %2$s%1$s%s.

Looks like this template didn't work at all.

Expected Behavior

item.enderio.loot_capacitor_template can control the format of loot capacitor's name, so adapt to the language without Spaces and the word order of some languages.

Chinese without spaces looks like this.
image

How to Test

  1. Change the item.enderio.loot_capacitor_template in language file of any language.
  2. Move the json to a right path. for me "\resourcepacks\Ender IO localization\assets\enderio\lang\zh_cn.json"
  3. Change game language to what language file in step 2 specifies.
  4. Load the resource pack and find a Loot Capacitor.
  5. See the name.

Local Environment

- **Operating System**: Windows 11
- **Java version**: 17.0.6
- **Minecraft Version**: 1.20.1
- **Version**: 6.1.8-beta
- **Other Mods**: Untranslated Items

Any Additional Information?

No response

@mamaruo mamaruo added Status-Triage A Triage Member should take a look at this Type-Bug There is a problem. labels Jul 30, 2024
@github-project-automation github-project-automation bot moved this to To triage in Ender IO Bugs Jul 30, 2024
@Rover656
Copy link
Member

Do you have any suggestions on how we could change this template to better suit the needs of the translations? Thanks!

@Rover656 Rover656 added Area-Lang Status-Awaiting Response Waiting for OP to respond labels Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Lang Status-Awaiting Response Waiting for OP to respond Status-Triage A Triage Member should take a look at this Type-Bug There is a problem.
Projects
Status: To triage
Development

No branches or pull requests

2 participants