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