Commit 881f4ad3 by Dudás Ádám

vm: change quoting style of help text values

parent 836c7e0e
...@@ -283,40 +283,40 @@ class Instance(BaseResourceConfigModel, TimeStampedModel): ...@@ -283,40 +283,40 @@ class Instance(BaseResourceConfigModel, TimeStampedModel):
('CRASHED', _('crashed')), ('CRASHED', _('crashed')),
('PMSUSPENDED', _('pmsuspended'))] # libvirt domain states ('PMSUSPENDED', _('pmsuspended'))] # libvirt domain states
name = CharField(blank=True, max_length=100, verbose_name=_('name'), name = CharField(blank=True, max_length=100, verbose_name=_('name'),
help_text=_('Human readable name of instance.')) help_text=_("Human readable name of instance."))
description = TextField(blank=True, verbose_name=_('description')) description = TextField(blank=True, verbose_name=_('description'))
template = ForeignKey(InstanceTemplate, blank=True, null=True, template = ForeignKey(InstanceTemplate, blank=True, null=True,
related_name='instance_set', related_name='instance_set',
help_text=_('Template the instance derives from.'), help_text=_("Template the instance derives from."),
verbose_name=_('template')) verbose_name=_('template'))
pw = CharField(help_text=_('Original password of the instance.'), pw = CharField(help_text=_("Original password of the instance."),
max_length=20, verbose_name=_('password')) max_length=20, verbose_name=_('password'))
time_of_suspend = DateTimeField(blank=True, default=None, null=True, time_of_suspend = DateTimeField(blank=True, default=None, null=True,
verbose_name=_('time of suspend'), verbose_name=_('time of suspend'),
help_text=_('Proposed time of automatic ' help_text=_("Proposed time of automatic "
'suspension.')) "suspension."))
time_of_delete = DateTimeField(blank=True, default=None, null=True, time_of_delete = DateTimeField(blank=True, default=None, null=True,
verbose_name=_('time of delete'), verbose_name=_('time of delete'),
help_text=_('Proposed time of automatic ' help_text=_("Proposed time of automatic "
'suspension.')) "deletion."))
active_since = DateTimeField(blank=True, null=True, active_since = DateTimeField(blank=True, null=True,
help_text=_('Time stamp of successful ' help_text=_("Time stamp of successful "
'boot report.'), "boot report."),
verbose_name=_('active since')) verbose_name=_('active since'))
node = ForeignKey(Node, blank=True, null=True, node = ForeignKey(Node, blank=True, null=True,
related_name='instance_set', related_name='instance_set',
help_text=_('Current hypervisor of this instance.'), help_text=_("Current hypervisor of this instance."),
verbose_name=_('host node')) verbose_name=_('host node'))
state = CharField(choices=STATES, default='NOSTATE', max_length=20) state = CharField(choices=STATES, default='NOSTATE', max_length=20)
disks = ManyToManyField(Disk, related_name='instance_set', disks = ManyToManyField(Disk, related_name='instance_set',
help_text=_('Set of mounted disks.'), help_text=_("Set of mounted disks."),
verbose_name=_('disks')) verbose_name=_('disks'))
lease = ForeignKey(Lease, help_text=_('Preferred expiration periods.')) lease = ForeignKey(Lease, help_text=_("Preferred expiration periods."))
access_method = CharField(max_length=10, choices=ACCESS_METHODS, access_method = CharField(max_length=10, choices=ACCESS_METHODS,
help_text=_('Primary remote access method.'), help_text=_("Primary remote access method."),
verbose_name=_('access method')) verbose_name=_('access method'))
vnc_port = IntegerField(verbose_name=_('vnc_port'), vnc_port = IntegerField(verbose_name=_('vnc_port'),
help_text=_('TCP port where VNC console listens.')) help_text=_("TCP port where VNC console listens."))
owner = ForeignKey(User) owner = ForeignKey(User)
class Meta: class Meta:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment