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
This commit is contained in:
Omri Gazitt 2014-05-24 02:03:00 -04:00
parent b77cf55e75
commit 5da0ff5be0
1 changed files with 1 additions and 1 deletions

View File

@ -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")),
]