Add a return type to helpers.check_prototype_translations()

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
KiwiHawk
Filter Inserter
Filter Inserter
Posts: 277
Joined: Thu Jul 05, 2018 9:48 am
Contact:

Add a return type to helpers.check_prototype_translations()

Post by KiwiHawk »

Can you please change `helpers.check_prototype_translations()` to return a boolean? Or an integer with the number of errors. I'm calling it as part of Angel's unit tests. I currently have no way of making the test fail if untranslated strings are detected!

With the update to 2.0, we have a lot of recipes missing locale as recipes no longer inherit the name of their `main_product` unless the recipe and item/fluid have the same name.
Dev for Bob's mods, Angel's mods, Helmod, Sea Block, Circuit Processing, Science Cost Tweaker.

Buy me a coffee
Post Reply

Return to “Modding interface requests”