summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2012-06-14 18:10:58 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-14 13:54:53 +0100
commitd2d65335e8fc2417ebd3910f645cc00a4abfbeaa (patch)
tree301d326be5230800383c5a0a38e5dc674835e007 /bin
parent3dea9d5a5af82d99d337238981807a4cb1bd5b93 (diff)
downloadbitbake-d2d65335e8fc2417ebd3910f645cc00a4abfbeaa.tar.gz
image-writer: tweak some strings
Tweak some strings in accord with the script name 'image writer', and remove extra noun 'button'. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/image-writer10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/image-writer b/bin/image-writer
index 3f9f5c1ed..0b9e4505a 100755
--- a/bin/image-writer
+++ b/bin/image-writer
@@ -33,7 +33,7 @@ from bb.ui.crumbs.hobwidget import HobAltButton, HobButton
# I put all the fs bitbake supported here. Need more test.
DEPLOYABLE_IMAGE_TYPES = ["jffs2", "cramfs", "ext2", "ext3", "btrfs", "squashfs", "ubi", "vmdk"]
-Title = "USB Image Maker"
+Title = "USB Image Writer"
class DeployWindow(gtk.Window):
def __init__(self, image_path=''):
@@ -43,13 +43,13 @@ class DeployWindow(gtk.Window):
valid = True
if not os.path.exists(image_path):
valid = False
- lbl = "<b>Invalid image file path: %s.</b>\nPress <b>Select Image</b> button to select an image." % image_path
+ lbl = "<b>Invalid image file path: %s.</b>\nPress <b>Select Image</b> to select an image." % image_path
else:
image_path = os.path.abspath(image_path)
extend_name = os.path.splitext(image_path)[1][1:]
if extend_name not in DEPLOYABLE_IMAGE_TYPES:
valid = False
- lbl = "<b>Undeployable imge type: %s</b>\nPress <b>Select Image</b> button to select an image." % extend_name
+ lbl = "<b>Undeployable imge type: %s</b>\nPress <b>Select Image</b> to select an image." % extend_name
if not valid:
image_path = ''
@@ -66,8 +66,8 @@ class DeployWindow(gtk.Window):
HobAltButton.style_button(close_button)
close_button.connect('clicked', gtk.main_quit)
- make_button = self.deploy_dialog.add_button("Make USB image", gtk.RESPONSE_YES)
- HobAltButton.style_button(make_button)
+ write_button = self.deploy_dialog.add_button("Write USB image", gtk.RESPONSE_YES)
+ HobAltButton.style_button(write_button)
self.deploy_dialog.connect('select_image_clicked', self.select_image_clicked_cb)
self.deploy_dialog.connect('destroy', gtk.main_quit)