yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #24729
[Bug 1394573] [NEW] Several pages have concatenation in the title
Public bug reported:
We have several panels where the add filter is used to concatenate an object to form a page title. This is problem for translation
https://wiki.openstack.org/wiki/I18n/TranslatableStrings#Use_string_formating_variables.2C_never_perform_string_concatenation
./openstack_dashboard/dashboards/admin/volumes/templates/volumes/volumes/detail.html: {% include "horizon/common/_page_header.html" with title=_("Volume Details: ")|add:volume.name|default:_("Volume Details:") %}
./openstack_dashboard/dashboards/project/images/templates/images/images/detail.html: {% include "horizon/common/_page_header.html" with title=_("Image Details: ")|add:image.name|default:_("Image Details:") %}
./openstack_dashboard/dashboards/project/firewalls/templates/firewalls/updatepolicy.html: {% include "horizon/common/_page_header.html" with title=_("Edit Policy ")|add:name %}
./openstack_dashboard/dashboards/project/firewalls/templates/firewalls/updatefirewall.html: {% include "horizon/common/_page_header.html" with title=_("Edit Firewall ")|add:name %}
./openstack_dashboard/dashboards/project/firewalls/templates/firewalls/updaterule.html: {% include "horizon/common/_page_header.html" with title=_("Edit Rule ")|add:name %}
./openstack_dashboard/dashboards/project/stacks/templates/stacks/resource.html: {% include "horizon/common/_page_header.html" with title=_("Resource Detail: ")|add:resource.resource_name %}
./openstack_dashboard/dashboards/project/stacks/templates/stacks/detail.html: {% include "horizon/common/_page_header.html" with title=_("Stack Detail: ")|add:stack.stack_name %}
./openstack_dashboard/dashboards/project/databases/templates/databases/detail.html: {% include "horizon/common/_page_header.html" with title=_("Instance Details: ")|add:instance.name %}
./openstack_dashboard/dashboards/project/instances/templates/instances/detail.html: {% include "horizon/common/_page_header.html" with title=_("Instance Details: ")|add:instance.name %}
./openstack_dashboard/dashboards/project/networks/templates/networks/detail.html: {% include "horizon/common/_page_header.html" with title=_("Network Detail: ")|add:network.name %}
./openstack_dashboard/dashboards/project/database_backups/templates/database_backups/details.html: {% include "horizon/common/_page_header.html" with title=_("Backup Details: ")|add:backup.name %}
./openstack_dashboard/dashboards/project/volumes/templates/volumes/backups/detail.html: {% include "horizon/common/_page_header.html" with title=_("Volume Backup Details: ")|add:backup.name|default:_("Volume Backup Details:") %}
./openstack_dashboard/dashboards/project/volumes/templates/volumes/volumes/detail.html: {% include "horizon/common/_page_header.html" with title=_("Volume Details: ")|add:volume.name|default:_("Volume Details:") %}
./openstack_dashboard/dashboards/project/volumes/templates/volumes/snapshots/detail.html: {% include "horizon/common/_page_header.html" with title=_("Volume Snapshot Details: ")|add:snapshot.name|default:_("Volume Snapshot Details:") %}
./openstack_dashboard/dashboards/project/access_and_security/templates/access_and_security/security_groups/detail.html: {% include "horizon/common/_page_header.html" with title=_("Manage Security Group Rules: ")|add:security_group.name %}
./openstack_dashboard/dashboards/identity/groups/templates/groups/manage.html: {% include "horizon/common/_page_header.html" with title=_("Group Management: ")|add:group.name %}
** Affects: horizon
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1394573
Title:
Several pages have concatenation in the title
Status in OpenStack Dashboard (Horizon):
New
Bug description:
We have several panels where the add filter is used to concatenate an object to form a page title. This is problem for translation
https://wiki.openstack.org/wiki/I18n/TranslatableStrings#Use_string_formating_variables.2C_never_perform_string_concatenation
./openstack_dashboard/dashboards/admin/volumes/templates/volumes/volumes/detail.html: {% include "horizon/common/_page_header.html" with title=_("Volume Details: ")|add:volume.name|default:_("Volume Details:") %}
./openstack_dashboard/dashboards/project/images/templates/images/images/detail.html: {% include "horizon/common/_page_header.html" with title=_("Image Details: ")|add:image.name|default:_("Image Details:") %}
./openstack_dashboard/dashboards/project/firewalls/templates/firewalls/updatepolicy.html: {% include "horizon/common/_page_header.html" with title=_("Edit Policy ")|add:name %}
./openstack_dashboard/dashboards/project/firewalls/templates/firewalls/updatefirewall.html: {% include "horizon/common/_page_header.html" with title=_("Edit Firewall ")|add:name %}
./openstack_dashboard/dashboards/project/firewalls/templates/firewalls/updaterule.html: {% include "horizon/common/_page_header.html" with title=_("Edit Rule ")|add:name %}
./openstack_dashboard/dashboards/project/stacks/templates/stacks/resource.html: {% include "horizon/common/_page_header.html" with title=_("Resource Detail: ")|add:resource.resource_name %}
./openstack_dashboard/dashboards/project/stacks/templates/stacks/detail.html: {% include "horizon/common/_page_header.html" with title=_("Stack Detail: ")|add:stack.stack_name %}
./openstack_dashboard/dashboards/project/databases/templates/databases/detail.html: {% include "horizon/common/_page_header.html" with title=_("Instance Details: ")|add:instance.name %}
./openstack_dashboard/dashboards/project/instances/templates/instances/detail.html: {% include "horizon/common/_page_header.html" with title=_("Instance Details: ")|add:instance.name %}
./openstack_dashboard/dashboards/project/networks/templates/networks/detail.html: {% include "horizon/common/_page_header.html" with title=_("Network Detail: ")|add:network.name %}
./openstack_dashboard/dashboards/project/database_backups/templates/database_backups/details.html: {% include "horizon/common/_page_header.html" with title=_("Backup Details: ")|add:backup.name %}
./openstack_dashboard/dashboards/project/volumes/templates/volumes/backups/detail.html: {% include "horizon/common/_page_header.html" with title=_("Volume Backup Details: ")|add:backup.name|default:_("Volume Backup Details:") %}
./openstack_dashboard/dashboards/project/volumes/templates/volumes/volumes/detail.html: {% include "horizon/common/_page_header.html" with title=_("Volume Details: ")|add:volume.name|default:_("Volume Details:") %}
./openstack_dashboard/dashboards/project/volumes/templates/volumes/snapshots/detail.html: {% include "horizon/common/_page_header.html" with title=_("Volume Snapshot Details: ")|add:snapshot.name|default:_("Volume Snapshot Details:") %}
./openstack_dashboard/dashboards/project/access_and_security/templates/access_and_security/security_groups/detail.html: {% include "horizon/common/_page_header.html" with title=_("Manage Security Group Rules: ")|add:security_group.name %}
./openstack_dashboard/dashboards/identity/groups/templates/groups/manage.html: {% include "horizon/common/_page_header.html" with title=_("Group Management: ")|add:group.name %}
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1394573/+subscriptions
Follow ups
References