Bug Report loot_capacitor_template not working as expected #765
Labels
No labels
Area-Assets
Area-Backend
Area-Conduits
Area-Datapacks
Area-Lang
Area-Mod Compat
Area-Parity
Area-Rendering
Good first issue
MC-1.19.2
MC-1.20.1
MC-1.20.4
MC-1.20.6
MC-1.21
MC-1.21.1
Modtoberfest
P-0-High
P-1-Medium
P-2-Low
Status-Awaiting Response
Status-Behind-Flag
Status-Blocked
Status-Cannot Reproduce
Status-Duplicate
Status-Help Wanted
Status-Incomplete Report
Status-Invalid
Status-Needs LTS Backport
Status-Needs Updating
Status-Stale
Status-To Implement
Status-Triage
Status-Wontfix
Status-Wontmerge
Type-Backport
Type-Bug
Type-Documentation
Type-Enhancement
Type-Question
Type-RFC
Type-Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Team-EnderIO/EnderIO#765
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is there an existing issue for this?
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.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.

How to Test
"\resourcepacks\Ender IO localization\assets\enderio\lang\zh_cn.json"Local Environment
Any Additional Information?
No response
Do you have any suggestions on how we could change this template to better suit the needs of the translations? Thanks!