Renamed eula_start_of_file to eula_start_of_file_unconfirmed

This commit is contained in:
sTiKyt 2020-08-13 13:27:15 +03:00
parent 6b86115a13
commit 25d0a8955b
No known key found for this signature in database
GPG Key ID: 510E1C3C9B2414B4
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ class EULAController:
text_license = self.license.read()
with open(str(self.eula), 'w+') as temp_eula:
chmod(self.eula, 0o777)
temp_eula.write("{0}\n{1}".format(EULAView().EULA_messages["eula_start_of_file"], text_license))
temp_eula.write("{0}\n{1}".format(EULAView().EULA_messages["eula_start_of_file_unconfirmed"], text_license))
temp_eula.close()
def check_eula_confirmation(self):

View File

@ -9,5 +9,5 @@ class EULAView:
"eula_is_not_confirmed": _("You didn't accept EULA, please open eula.txt"),
"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")
"eula_start_of_file_unconfirmed": _("# Please read and accept EULA below\n eula = False"),
}