When you create new resources you're setting the localised name for the entity like so:
unlimitedOre.localised_name =
{
"resource-name.unlimited",
{
"item-name." .. name
}
}
But this only works when the patch is for an item, not for a fluid. If you hover over an unlimited crude oil patch you'll see its localised name doesn't render properly.
Instead you can do this:
unlimitedOre.localised_name =
{
"resource-name.unlimited",
{
"entity-name." .. name
}
}
then I think it works properly for all resource patches (beacause every resource prototype is also an entity prototype).
I noticed this issue because I need to display the localized names of fluid-based resources in my mod, OilOutpostPlanner.