Created EULAView

This commit is contained in:
sTiKyt 2020-08-11 20:17:36 +03:00
parent 13216cd7a7
commit fb91bba801
No known key found for this signature in database
GPG Key ID: 510E1C3C9B2414B4

13
views/EULA_view.py Normal file
View File

@ -0,0 +1,13 @@
from gettext import gettext as _
class EULAView:
def __init__(self):
self.EULA_messages = {
"eula_found": _("EULA is found"),
"eula_is_confirmed": _("You accepted EULA"),
"eula_is_not_confirmed": _("You didn't accept EULA"),
"eula_not_found": _("EULA isn't found"),
"eula_is_invalid": _("EULA is not valid"),
"eula_start_of_file": _("# Please read and accept EULA below\n eula = False")
}