Entangled Belts

by 0n0w1c

Clones the underground belts, useful for belt braiding. Up for the "No Long-handed Inserter Challenge"?

Tweaks
14 days ago
2.0
1.27K
Logistics

g (Resolved) Localization

14 days ago
(updated 14 days ago)

Hi!
Thanks for the mod!
I've encountered a small problem with localization, and I have a request: could you rewrite the code a bit to make it easier?
Specifically, in the entity itself, you can specify this:

eb_entity.localized_name = { "entity-name.eb-entangled-belts", { "entity-name." .. underground_belt.name } }

(or any other name that is suitable for the parameter)
and remove the "localized_name" parameter from the item and recipe, as they will be automatically pulled from the entity.
Then, simply specify the desired name in the locale file, and other localizers can change it to suit their language style.
For example:

[entity-name]
eb-entangled-belts=[virtual-signal=entangled-belts]"__1__"

In my translation file, I additionally specify:

eb-entangled-belts=[virtual-signal=entangled-belts]Isolated "__1__"

And any other localizer can easily change or supplement the translation. This will make the localization task much easier :)

14 days ago

For you Hoochie, glad to do it.
Version 2.6.3 has been uploaded, changing the localization as requested.

14 days ago

Oh, thank you for your understanding and prompt response! Have a great day!

New response