From 5da0ff5be02ea937790e7b12155db769804ff89b Mon Sep 17 00:00:00 2001 From: Omri Gazitt Date: Sat, 24 May 2014 02:03:00 -0400 Subject: [PATCH] Fix the default text for Instance Boot Source This change removes the leading and trailing '---' from the default text of the Instance Boot Source dropdown in the Launch Instance dialog. This change makes the default text more consistent with other dialogs. The localized files (django.po) were not modified because they will be generated from transifex eventually. Change-Id: I92bf8b8aa52724cbb851933132ee33bc87cd68b5 Closes-Bug: #1322934 --- .../dashboards/project/instances/workflows/create_instance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py b/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py index 14aa1ffcff..f791e36d87 100644 --- a/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py +++ b/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py @@ -137,7 +137,7 @@ class SetInstanceDetailsAction(workflows.Action): super(SetInstanceDetailsAction, self).__init__( request, context, *args, **kwargs) source_type_choices = [ - ('', _("--- Select source ---")), + ('', _("Select source")), ("image_id", _("Boot from image")), ("instance_snapshot_id", _("Boot from snapshot")), ]