Revision 835171dc

b/image_creator/dialog_main.py
375 375

  
376 376
        (code, choice) = d.menu(
377 377
            text="Choose one of the following or press <Back> to go back.",
378
            width=MENU_WIDTH, choices=choices, cancel="Back",
379
            default_item=default_item, title="Image Registration Menu")
378
            width=MENU_WIDTH, choices=choices, cancel="Back", height=13,
379
            menu_height=5, default_item=default_item,
380
            title="Image Registration Menu")
380 381

  
381 382
        if code in (d.DIALOG_CANCEL, d.DIALOG_ESC):
382 383
            return False
......
607 608
    syspreps = [s for s in all_syspreps if s not in session['exec_syspreps']]
608 609

  
609 610
    if len(syspreps) == 0:
610
        d.msgbox("No system preparation task left to run!", width=MSGBOX_WIDTH)
611
        d.msgbox("No system preparation task available to run!",                                 title="System Preperation", width=MSGBOX_WIDTH)
611 612
        return
612 613

  
613 614
    while 1:
......
677 678
    shrinked = 'shrinked' in session and session['shrinked']
678 679

  
679 680
    if shrinked:
680
        d.msgbox("You have already shrinked your image!")
681
        d.msgbox("The image is already shrinked!", title="Image Shrinking",
682
                 width=MSGBOX_WIDTH)
681 683
        return True
682 684

  
683 685
    msg = "This operation will shrink the last partition of the image to " \
b/image_creator/disk.py
210 210
            raise FatalError("No operating system found")
211 211
        if len(roots) > 1:
212 212
            raise FatalError("Multiple operating systems found."
213
                             "We only support images with one filesystem.")
213
                             "We only support images with one OS.")
214 214
        self.root = roots[0]
215 215
        self.guestfs_device = self.g.part_to_dev(self.root)
216 216
        self.meta['SIZE'] = self.g.blockdev_getsize64(self.guestfs_device)

Also available in: Unified diff