From f78ae614702a79d43a6083f3d8880ac9cb026f05 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Wed, 26 Oct 2022 16:05:49 +0200 Subject: [proxy] Make some improvements to the URL patterns doc page internationalization and make it accessible from items import page --- src/hydrilla/proxy/self_doc/url_patterns.html.jinja | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/hydrilla/proxy/self_doc/url_patterns.html.jinja') diff --git a/src/hydrilla/proxy/self_doc/url_patterns.html.jinja b/src/hydrilla/proxy/self_doc/url_patterns.html.jinja index 45a0db3..7d2718f 100644 --- a/src/hydrilla/proxy/self_doc/url_patterns.html.jinja +++ b/src/hydrilla/proxy/self_doc/url_patterns.html.jinja @@ -20,10 +20,10 @@ code in a proprietary work, I am not going to enforce this in court. #} {% extends "doc_base.html.jinja" %} -{% block title %}URL patterns{% endblock %} +{% block title %}{{ _('doc.url_patterns.title') }}{% endblock %} {% block main %} - {{ big_heading('URL patterns') }} + {{ big_heading(_('doc.url_patterns.h_big')) }} {% call section() %} {% call paragraph() %} @@ -32,7 +32,7 @@ code in a proprietary work, I am not going to enforce this in court. {% endcall %} {% call section() %} - {{ medium_heading(_('doc.url_patterns.heading.employed_solution')) }} + {{ medium_heading(_('doc.url_patterns.h_medium.employed_solution')) }} {% call paragraph() %} {{ _('doc.url_patterns.html.wildcards_intro')|safe }} @@ -44,7 +44,7 @@ code in a proprietary work, I am not going to enforce this in court. {% endcall %} {% call section() %} - {{ small_heading(_('doc.url_patterns.label.domain_wildcards')) }} + {{ small_heading(_('doc.url_patterns.h_small.domain_wildcards')) }} {% call paragraph() %} {{ _('doc.url_patterns.html.domain_wildcards_intro')|safe }} @@ -67,7 +67,7 @@ code in a proprietary work, I am not going to enforce this in court. {% endcall %} {% call section() %} - {{ small_heading(_('doc.url_patterns.label.path_wildcards')) }} + {{ small_heading(_('doc.url_patterns.h_small.path_wildcards')) }} {% call paragraph() %} {{ _('doc.url_patterns.html.path_wildcards_intro')|safe }} @@ -102,7 +102,7 @@ code in a proprietary work, I am not going to enforce this in court. {% endcall %} {% call section() %} - {{ small_heading(_('doc.url_patterns.label.protocol_wildcards')) }} + {{ small_heading(_('doc.url_patterns.h_small.protocol_wildcards')) }} {% call paragraph() %} {{ _('doc.url_patterns.html.protocol_wildcards')|safe }} @@ -114,7 +114,7 @@ code in a proprietary work, I am not going to enforce this in court. {% endcall %} {% call section() %} - {{ small_heading(_('doc.url_patterns.label.wildcard_priorities')) }} + {{ small_heading(_('doc.url_patterns.h_small.wildcard_priorities')) }} {% call paragraph() %} {{ _('doc.url_patterns.priorities_intro') }} @@ -283,7 +283,7 @@ https://***.example.com/*** {% endcall %} {% call section() %} - {{ small_heading(_('doc.url_patterns.label.limits')) }} + {{ small_heading(_('doc.url_patterns.h_small.limits')) }} {% call paragraph() %} {{ _('doc.url_patterns.limits')|safe }} @@ -291,7 +291,7 @@ https://***.example.com/*** {% endcall %} {% call section() %} - {{ medium_heading(_('doc.url_patterns.heading.alt_solution')) }} + {{ medium_heading(_('doc.url_patterns.h_medium.alt_solution')) }} {% call paragraph() %} {{ _('doc.url_patterns.url_pattern_drawbacks') }} -- cgit v1.2.3