2014-10-28 19:00:35 |
Chris Grivas |
description |
(From Transifex issue)
The verbose_name of InstancesTable is just a single space.
It is a string with a single SPACE and it is used to just ignore a name in the code.
It is difficult for translators to understand for translators.
This string has no meaning for translations, so I would suggest to
NOT to mark translatable with a meaningful inline comment.
(Otherwise, we should add a reasonable translators note and contextual marker to the string.)
openstack_dashboard/dashboards/project/data_processing/clusters/tabs.py
class InstancesTable(tables.DataTable):
name = tables.Column("name",
link=("horizon:project:instances:detail"),
verbose_name=_("Name"))
internal_ip = tables.Column("internal_ip",
verbose_name=_("Internal IP"))
management_ip = tables.Column("management_ip",
verbose_name=_("Management IP"))
class Meta:
name = "cluster_instances"
# Just ignoring the name.
verbose_name = _(" ") |
(From Transifex issue)
The verbose_name of InstancesTable is just a single space.
It is a string with a single SPACE and it is used to just ignore a name in the code.
It is difficult for translators to understand.
This string has no meaning for translations, so I would suggest NOT
to mark translatable with a meaningful inline comment.
(Otherwise, we should add a reasonable translators note and contextual marker to the string.)
openstack_dashboard/dashboards/project/data_processing/clusters/tabs.py
class InstancesTable(tables.DataTable):
name = tables.Column("name",
link=("horizon:project:instances:detail"),
verbose_name=_("Name"))
internal_ip = tables.Column("internal_ip",
verbose_name=_("Internal IP"))
management_ip = tables.Column("management_ip",
verbose_name=_("Management IP"))
class Meta:
name = "cluster_instances"
# Just ignoring the name.
verbose_name = _(" ") |
|