man redef remd

This commit is contained in:
Nio
2021-07-17 13:27:31 +10:00
parent afe98372b5
commit 0f3481c705

View File

@ -731,23 +731,23 @@ screen updates():
vbox: vbox:
xpos 1140 xpos 1140
ypos 900 ypos 900
label _("{color=#5D009C}[config.name!t]{/color}") label _("[config.name!t]")
text _("{color=#5D009C}Your Version is [config.version!t]\n{/color}") text _("Your Version is [config.version!t]\n")
if updater.can_update(): 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: 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)] 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)] textbutton _("Check for Update!") action [Notify("Checking for update..."), Function(UpdateCheck)]
label _("{color=#5D009C}Update Check Result:\n{/color}") label _("Update Check Result:\n")
text _("{color=#5D009C}[persistent.updateresult!t]\n{/color}") text _("[persistent.updateresult!t]\n")
if persistent.updateresult != "No new version is available": if persistent.updateresult != "No new version is available":
textbutton _("Update Now!") action updater.Update(persistent.updateWebServer, force=False) textbutton _("Update Now!") action updater.Update(persistent.updateWebServer, force=False)
else: else:
textbutton _("Update Now!") action Notify("Nothing to update to!") textbutton _("Update Now!") action Notify("Nothing to update to!")
label _("{color=#5D009C}Update Server:\n{/color}") label _("Update Server:\n")
default input_on = False default input_on = False