Skip to content

Commit f2fd3a8

Browse files
committed
Change user-facing text from 'Reboot' to 'Restart' for consistency with Cinnamon
Also cleaned up accidentally commited .pyc files and fixed .gitignore
1 parent 51007ad commit f2fd3a8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

usr/lib/linuxmint/mintUpdate/mintUpdate.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2085,12 +2085,14 @@ def refresh(self, refresh_cache):
20852085
self.cache_monitor.pause()
20862086

20872087
if self.reboot_required:
2088-
self.show_infobar(_("Reboot required"),
2089-
_("You have installed updates that require a reboot to take effect. Please reboot your system as soon as possible."),
2088+
#Updated UI text from 'Reboot' to 'Restart' for consistency with Cinnamon.
2089+
#Internal variables (like reboot_required) left unchanged for compatibility.
2090+
self.show_infobar(_("Restart required"),
2091+
_("You have installed updates that require a restart to take effect. Please restart your system as soon as possible."),
20902092
Gtk.MessageType.WARNING,
20912093
"system-reboot-symbolic",
20922094
self._on_infobar_reboot,
2093-
_("Reboot"))
2095+
_("Restart"))
20942096

20952097
if refresh_cache:
20962098
# Note: All cache refresh happen asynchronously

0 commit comments

Comments
 (0)