man redef remd

This commit is contained in:
Nio 2021-07-17 13:27:31 +10:00
parent afe98372b5
commit 0f3481c705
1 changed files with 8 additions and 8 deletions

View File

@ -731,23 +731,23 @@ screen updates():
vbox:
xpos 1140
ypos 900
label _("{color=#5D009C}[config.name!t]{/color}")
text _("{color=#5D009C}Your Version is [config.version!t]\n{/color}")
label _("[config.name!t]")
text _("Your Version is [config.version!t]\n")
if updater.can_update():
label _("{color=#5D009C}{size=26}Update directory exists, updating is possible!{/size}{/color}")
label _("{size=26}Update directory exists, updating is possible!{/size}")
else:
label _("{color=#5D009C}{size=26}Update directory does not exist or is corrupt!{/size}")
label _("{size=26}Update directory does not exist or is corrupt!{/size}")
textbutton _("Enable Automatic Updates") action [Notify("Toggling Automatic Updates..."), ToggleVariable("persistent.autoup", True, False)]
text _("{color=#5D009C}Automatic Updates: [persistent.autoup!t]\n{/color}")
text _("Automatic Updates: [persistent.autoup!t]\n")
textbutton _("Check for Update!") action [Notify("Checking for update..."), Function(UpdateCheck)]
label _("{color=#5D009C}Update Check Result:\n{/color}")
text _("{color=#5D009C}[persistent.updateresult!t]\n{/color}")
label _("Update Check Result:\n")
text _("[persistent.updateresult!t]\n")
if persistent.updateresult != "No new version is available":
textbutton _("Update Now!") action updater.Update(persistent.updateWebServer, force=False)
else:
textbutton _("Update Now!") action Notify("Nothing to update to!")
label _("{color=#5D009C}Update Server:\n{/color}")
label _("Update Server:\n")
default input_on = False