Skip to content

Commit

Permalink
[ImageBackup]
Browse files Browse the repository at this point in the history
* allow translation of "Image version"
* reduce separator to 66 chars
  • Loading branch information
jbleyel committed Jan 27, 2025
1 parent 040716a commit 2404cd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/python/Screens/ImageBackup.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def __init__(self, session, *args):
self.zipCmd = "/usr/bin/7za"
self.runScript = "/tmp/imagebackup.sh"
self.usbBin = "usb_update.bin"
self.separator = f"{"_" * 70}"
self.separator = f"{"_" * 66}"
self.onLayoutFinish.append(self.layoutFinished)
self.callLater(self.getImageList)

Expand Down Expand Up @@ -251,7 +251,7 @@ def consoleCallback(result=None):
cmdLines.append("\tDisplayDistro=Unknown")
cmdLines.append("\tImageVersion=Unknown")
cmdLines.append("fi")
cmdLines.append(f"{self.echoCmd} \"Image version $DisplayDistro $ImageVersion.\"")
cmdLines.append(f"{self.echoCmd} \"{_("Image version")} $DisplayDistro $ImageVersion.\"")
# Build the "imageversion" inventory file.
cmdLines.append(f"{self.echoCmd} \"[Image Version]\" > /tmp/imageversion")
cmdLines.append(f"{self.echoCmd} \"distro=$Distro\" >> /tmp/imageversion")
Expand Down

0 comments on commit 2404cd3

Please sign in to comment.