Skip to content

Commit

Permalink
[About] add missing localisation
Browse files Browse the repository at this point in the history
  • Loading branch information
Huevos committed Nov 23, 2024
1 parent 53324cb commit 0cbb72c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/Screens/About.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def populate(self):

AboutText += _("Installed:\t%s\n") % about.getFlashDateString()

VuPlustxt = "Vu+ Multiboot - " if SystemInfo["HasKexecMultiboot"] else ""
VuPlustxt = _("Vu+ Multiboot") + " - " if SystemInfo["HasKexecMultiboot"] else ""
if fileHas("/proc/cmdline", "rootsubdir=linuxrootfs0"):
AboutText += _("Boot Device: \tRecovery Slot\n")
else:
Expand Down

2 comments on commit 0cbb72c

@Orlandoxx
Copy link
Contributor

@Orlandoxx Orlandoxx commented on 0cbb72c Nov 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @Huevos , I have Vu+ Multiboot installed, but I don't see the following line at 'AboutOE' screen.

AboutText += _("Boot Device:\t%s%s\n") % (VuPlustxt, SystemInfo["BootDevice"])

if I change
if "BootDevice" in SystemInfo and SystemInfo["BootDevice"]: --->
if SystemInfo["BootDevice"]:

Then it shows.

Is there a bug or I don't understand it ?

@Huevos
Copy link
Contributor Author

@Huevos Huevos commented on 0cbb72c Nov 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, bug in SystemInfo.

Please sign in to comment.