Skip to content

Commit 5a4fa4d

Browse files
authored
Change user-facing text from 'Reboot' to 'Restart' for consistency with Cinnamon (#993)
Also cleaned up accidentally commited .pyc files and fixed .gitignore
1 parent 54b7b67 commit 5a4fa4d

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
@@ -2093,12 +2093,14 @@ def refresh(self, refresh_cache):
20932093
self.cache_monitor.pause()
20942094

20952095
if self.reboot_required:
2096-
self.show_infobar(_("Reboot required"),
2097-
_("You have installed updates that require a reboot to take effect. Please reboot your system as soon as possible."),
2096+
#Updated UI text from 'Reboot' to 'Restart' for consistency with Cinnamon.
2097+
#Internal variables (like reboot_required) left unchanged for compatibility.
2098+
self.show_infobar(_("Restart required"),
2099+
_("You have installed updates that require a restart to take effect. Please restart your system as soon as possible."),
20982100
Gtk.MessageType.WARNING,
20992101
"xsi-reboot-symbolic",
21002102
self._on_infobar_reboot,
2101-
_("Reboot"))
2103+
_("Restart"))
21022104

21032105
if refresh_cache:
21042106
# Note: All cache refresh happen asynchronously

0 commit comments

Comments
 (0)