Does anyone have an idea why this approach to changing figure naming doesn't work in thesis type document? I'm using babel and all other captions translate normally, except "Figure", which stays at "Fig." no matter what I do. I've tried to change it using renewcommand macro but it does not work:
\documentclass[12pt,a4paper,twoside,openright]{thesis}
\usepackage{graphicx}
\usepackage[slovene]{babel}
\addto\captionsslovene{\renewcommand{\figurename}{Slika}}
\begin{document}
\begin{figure}
\centering
\includegraphics[scale=1]{picture.png}
\caption{Random caption}
\end{figure}
\end{document}
If I switch to book document type it works as expected, but I would really like to keep this document in the thesis format to make use of all the good stuff that enables me to format my work properly.