2020-08-12 01:17:36 +08:00
|
|
|
from gettext import gettext as _
|
|
|
|
|
|
|
|
|
|
|
|
class EULAView:
|
|
|
|
def __init__(self):
|
|
|
|
self.EULA_messages = {
|
|
|
|
"eula_found": _("EULA is found"),
|
|
|
|
"eula_is_confirmed": _("You accepted EULA"),
|
2020-08-12 02:02:26 +08:00
|
|
|
"eula_is_not_confirmed": _("You didn't accept EULA, please open eula.txt"),
|
2020-08-13 18:27:44 +08:00
|
|
|
"eula_not_found": _("EULA isn't found\n Generated new EULA"),
|
2020-08-12 01:17:36 +08:00
|
|
|
"eula_is_invalid": _("EULA is not valid"),
|
2020-08-13 18:29:52 +08:00
|
|
|
"eula_start_of_file_unconfirmed": _(
|
|
|
|
"# Please read and accept EULA below\n eula = False"
|
|
|
|
),
|
|
|
|
"eula_start_of_file_confirmed": _(
|
|
|
|
"# Please read and accept EULA below\n eula = True"
|
|
|
|
),
|
2020-08-12 01:17:36 +08:00
|
|
|
}
|