Изменен путь к директории po

This commit is contained in:
Derinhelm
2021-06-07 16:36:01 +03:00
parent fbd033e6ef
commit bb8e1365bb
4 changed files with 9 additions and 5 deletions

View File

@@ -1,7 +1,8 @@
from tkinter import messagebox as mb
import gettext
import os
from tkinter import messagebox as mb
gettext.install("todo", localedir="po")
gettext.install("todo", os.path.join(os.path.dirname(__file__), "po"))
TITLE_INFO_BOX = _("Сообщение!")
MESSAGE_INVALID_LOGIN = _("Неправильный логин или пароль")