Sorry, but I don’t think Germany ever changes it name to “The Nazis.” Germany in the time the Nazis, or third reich, were in control is referred to as “Nazi Germany” to put it in that time period. To my understanding the only other name germany had was The German Empire.
Disclaimer: I’m just saying what I believe to be true. Research this on your own from reliable sources such as History.com.