Villagers without a profession have the default name of 'Nitwit'
Despite not being Nitwits, villagers that do not have a profession (technically the minecraft:none profession) have a name of 'Nitwit', even though there is a translation key of minecraft.entity.villager.none that is translated to Villager.
/summon minecraft:villager ~ ~ ~ {NoAI:1b}
/execute as @e[type=villager] run say @s
Created Issue:
Villagers without a profession have the default name of 'Nitwit'
Despite not being Nitwits, villagers that do not have a profession (technically the minecraft:none profession) have a name of 'Nitwit', even though there is a translation key of minecraft.entity.villager.none that is translated to Villager.
/summon minecraft:villager ~ ~ ~ {NoAI:1b} /execute as @e[type=villager] run say @s
Cannot confirm, it says "Villager" for me.
I also get 'Villager' when running the provided commands
I'm also unable to reproduce this.
If this is still an issue for you please make a new report with steps on how to reproduce the bug.