[c4rt] [1.1.32] Alternate input name localisation breaks when used with standard parameter

This subforum contains all the issues which we already resolved.
Xorimuth
Filter Inserter
Filter Inserter
Posts: 708
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

[c4rt] [1.1.32] Alternate input name localisation breaks when used with standard parameter

Post by Xorimuth »

Using this locale:

Code: Select all

[test]
alt1=__ALT_CONTROL__1__build__
alt2=__ALT_CONTROL__1__build__ __1__ test
and running

Code: Select all

/c
game.print({"test.alt1"})
game.print({"test.alt2", "substituted parameter"})
should print

Code: Select all

Left-click
Left-click substituted parameter test
but instead it prints

Code: Select all

Left-click
__ALT_CONTROLsubstituted parameterbuild__ substituted parameter test
--------------------------------------------------

Furthermore:

Code: Select all

/c game.print({"test.alt2", "__1__"})
produces

Code: Select all

Left-click __1__ test
Crazy!
Attachments
control_parameter_1.0.0.zip
(3.06 KiB) Downloaded 138 times
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
c4rt
Former Staff
Former Staff
Posts: 5
Joined: Wed Feb 21, 2018 7:50 am
Contact:

Re: [c4rt] [1.1.32] Alternate input name localisation breaks when used with standard parameter

Post by c4rt »

Thank you for your report, this issue is fixed for the next release (1.1.36).
c4rt
Former Staff
Former Staff
Posts: 5
Joined: Wed Feb 21, 2018 7:50 am
Contact:

Re: [c4rt] [1.1.32] Alternate input name localisation breaks when used with standard parameter

Post by c4rt »

Some issues were found with the current solution, so this bug report is moved back to Assigned.
c4rt
Former Staff
Former Staff
Posts: 5
Joined: Wed Feb 21, 2018 7:50 am
Contact:

Re: [c4rt] [1.1.32] Alternate input name localisation breaks when used with standard parameter

Post by c4rt »

Fixed for the next release (1.1.36).
Xorimuth
Filter Inserter
Filter Inserter
Posts: 708
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

Re: [c4rt] [1.1.32] Alternate input name localisation breaks when used with standard parameter

Post by Xorimuth »

Good job, thanks!
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Post Reply

Return to “Resolved Problems and Bugs”