# HG changeset patch # User lisaq # Date 2016-08-11 18:45:48 # Node ID 22553ba26d92d722593022b5c312f979694f6951 # Parent c8c273240bcea75ea1ebf2c58ed4e188bdd55885 ux: additional capitalisation and string translation in integration templates diff --git a/rhodecode/templates/admin/integrations/base.html b/rhodecode/templates/admin/integrations/base.html --- a/rhodecode/templates/admin/integrations/base.html +++ b/rhodecode/templates/admin/integrations/base.html @@ -9,7 +9,7 @@ <%inherit file="${inherit(context)}" /> <%def name="title()"> - ${_('Integrations settings')} + ${_('Integrations Settings')} %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif diff --git a/rhodecode/templates/admin/integrations/edit.html b/rhodecode/templates/admin/integrations/edit.html --- a/rhodecode/templates/admin/integrations/edit.html +++ b/rhodecode/templates/admin/integrations/edit.html @@ -33,7 +33,7 @@ %if integration: ${current_IntegrationType.display_name} - ${integration.name} %else: - ${_('Create new %(integration_type)s integration') % {'integration_type': current_IntegrationType.display_name}} + ${_('Create New %(integration_type)s Integration') % {'integration_type': current_IntegrationType.display_name}} %endif diff --git a/rhodecode/templates/admin/integrations/list.html b/rhodecode/templates/admin/integrations/list.html --- a/rhodecode/templates/admin/integrations/list.html +++ b/rhodecode/templates/admin/integrations/list.html @@ -28,11 +28,11 @@
-

${_('Create new integration')}

+

${_('Create New Integration')}

%if not available_integrations: - No integrations available + ${_('No integrations available.')} %else: %for integration in available_integrations: <% @@ -53,7 +53,7 @@
-

${_('Current integrations')}

+

${_('Current Integrations')}

@@ -63,7 +63,7 @@ - +
${_('Description')} ${_('Type')} ${_('Actions')}