Update tabs.py

fixes tab buttons of student's dahsboard for i18n - replace pr #1234 and pr #757