make translateable

This commit is contained in:
Michael Hudson-Doyle 2020-03-31 22:55:17 +13:00
parent 7b76e37ebd
commit 26ea8784fd
1 changed files with 4 additions and 4 deletions

View File

@ -183,8 +183,8 @@ class Subiquity(Application):
our_tty = os.ttyname(0)
if not self.interactive() and our_tty != primary_tty:
print(
"the installer running on {} will perform the "
"autoinstall".format(primary_tty))
_("the installer running on {} will perform the "
"autoinstall").format(primary_tty))
signal.pause()
self.controllers.load("Reporting")
self.controllers.Reporting.start()
@ -196,8 +196,8 @@ class Subiquity(Application):
stamp_file = os.path.join(self.state_dir, "early-commands")
if our_tty != primary_tty:
print(
"waiting for installer running on {} to run early "
"commands".format(primary_tty))
_("waiting for installer running on {} to run early "
"commands").format(primary_tty))
while not os.path.exists(stamp_file):
time.sleep(1)
else: