diff --git a/cloudkittydashboard/dashboards/admin/hashmap/templates/hashmap/_field_create.html b/cloudkittydashboard/dashboards/admin/hashmap/templates/hashmap/_field_create.html index 97186bb..c2df6c9 100644 --- a/cloudkittydashboard/dashboards/admin/hashmap/templates/hashmap/_field_create.html +++ b/cloudkittydashboard/dashboards/admin/hashmap/templates/hashmap/_field_create.html @@ -3,5 +3,5 @@ {% block modal-body-right %}
{% trans "A field is referring to a metadata field of a resource. " %}
+{% trans "A field is referring to a metadata field of a resource." %}
{% endblock %} diff --git a/cloudkittydashboard/dashboards/admin/hashmap/templates/hashmap/service_details.html b/cloudkittydashboard/dashboards/admin/hashmap/templates/hashmap/service_details.html index 6573875..8f55014 100644 --- a/cloudkittydashboard/dashboards/admin/hashmap/templates/hashmap/service_details.html +++ b/cloudkittydashboard/dashboards/admin/hashmap/templates/hashmap/service_details.html @@ -7,9 +7,11 @@Usage data are collected every {{ period }} seconds.
- {% endblocktrans %} ++ {% blocktrans trimmed with service_period as period %} + Usage data is collected every {{ period }} seconds. + {% endblocktrans %} +
{% endif %} {{ tab_group.render }} diff --git a/cloudkittydashboard/dashboards/admin/hashmap/views.py b/cloudkittydashboard/dashboards/admin/hashmap/views.py index be026be..f65c48a 100644 --- a/cloudkittydashboard/dashboards/admin/hashmap/views.py +++ b/cloudkittydashboard/dashboards/admin/hashmap/views.py @@ -189,8 +189,8 @@ class ServiceMappingEditView(ServiceMappingCreateView): class FieldMappingCreateView(forms.ModalFormView): form_class = hashmap_forms.CreateFieldMappingForm form_id = "create_field_mapping" - modal_header = _("Create Field Mapping") - page_title = _("Create field Mapping") + modal_header = _("Create field mapping") + page_title = _("Create field mapping") template_name = 'admin/hashmap/mapping_create.html' submit_url = 'horizon:admin:hashmap:field_mapping_create' success_url = 'horizon:admin:hashmap:field_mapping_create' diff --git a/cloudkittydashboard/dashboards/admin/modules/templates/rating_modules/_priority_edit.html b/cloudkittydashboard/dashboards/admin/modules/templates/rating_modules/_priority_edit.html index 704ca0e..c3983f3 100644 --- a/cloudkittydashboard/dashboards/admin/modules/templates/rating_modules/_priority_edit.html +++ b/cloudkittydashboard/dashboards/admin/modules/templates/rating_modules/_priority_edit.html @@ -4,7 +4,7 @@ {% block modal-body-right %}- {% blocktrans with module_id=module_id %} + {% blocktrans trimmed with module_id=module_id %} Edit the priority for the {{ module_id }} module. {% endblocktrans %}
diff --git a/cloudkittydashboard/dashboards/admin/pyscripts/views.py b/cloudkittydashboard/dashboards/admin/pyscripts/views.py index 64ecdd5..62b7e60 100644 --- a/cloudkittydashboard/dashboards/admin/pyscripts/views.py +++ b/cloudkittydashboard/dashboards/admin/pyscripts/views.py @@ -81,7 +81,7 @@ class ScriptUpdateView(forms.ModalFormView): class ScriptDetailsView(views.APIView): template_name = 'admin/pyscripts/details.html' - page_title = _("Script Details : {{ script.name }}") + page_title = _("Script details: {{ script.name }}") def get_data(self, request, context, *args, **kwargs): script_id = kwargs.get("script_id") diff --git a/cloudkittydashboard/dashboards/admin/summary/views.py b/cloudkittydashboard/dashboards/admin/summary/views.py index 7870d8b..1ad29f6 100644 --- a/cloudkittydashboard/dashboards/admin/summary/views.py +++ b/cloudkittydashboard/dashboards/admin/summary/views.py @@ -55,7 +55,7 @@ class IndexView(tables.DataTableView): class TenantDetailsView(tables.DataTableView): template_name = 'admin/rating_summary/details.html' table_class = sum_tables.TenantSummaryTable - page_title = _("Script Details : {{ table.project_id }}") + page_title = _("Script details: {{ table.project_id }}") def _get_cloud_total_summary(self): return api.cloudkittyclient(self.request).report.get_summary(