Fix mistakes in phrases
Change-Id: I3d648e6670ff211bdaf110edace4cba6b11d0dd7 Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
This commit is contained in:
@@ -3,5 +3,5 @@
|
||||
|
||||
{% block modal-body-right %}
|
||||
<h3>{% trans "Description:" %}</h3>
|
||||
<p>{% trans "A field is referring to a metadata field of a resource. " %}</p>
|
||||
<p>{% trans "A field is referring to a metadata field of a resource." %}</p>
|
||||
{% endblock %}
|
||||
|
||||
@@ -7,9 +7,11 @@
|
||||
<div class="span12">
|
||||
|
||||
{% if service_period %}
|
||||
{% blocktrans with service_period as period %}
|
||||
<p>Usage data are collected every {{ period }} seconds.</p>
|
||||
{% endblocktrans %}
|
||||
<p>
|
||||
{% blocktrans trimmed with service_period as period %}
|
||||
Usage data is collected every {{ period }} seconds.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{{ tab_group.render }}
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{% block modal-body-right %}
|
||||
<h3>{% trans "Description:" %}</h3>
|
||||
<p>
|
||||
{% blocktrans with module_id=module_id %}
|
||||
{% blocktrans trimmed with module_id=module_id %}
|
||||
Edit the priority for the <i>{{ module_id }}</i> module.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user