GitHub

@@ -19,6 +19,9 @@ Context:

1919

{{ log.debug("Rendering children of " + obj.path) }}

2020

{% endblock logs %}

212122+

{% import "language.html.jinja" as lang with context %}

23+

{#- Language module providing the `t` translation method. -#}

24+2225

<div class="doc doc-children">

23262427

{% if root_members %}

@@ -45,7 +48,7 @@ Context:

4548

) %}

4649

{% if attributes %}

4750

{% if config.show_category_heading %}

48-

{% filter heading(heading_level, id=html_id ~ "-attributes", skip_inventory=config.skip_local_inventory) %}Attributes{% endfilter %}

51+

{% filter heading(heading_level, id=html_id ~ "-attributes", skip_inventory=config.skip_local_inventory) %}{{ lang.t("Attributes") }}{% endfilter %}

4952

{% endif %}

5053

{% with heading_level = heading_level + extra_level %}

5154

{% for attribute in attributes|order_members(config.members_order, members_list) %}

@@ -65,7 +68,7 @@ Context:

6568

) %}

6669

{% if type_aliases %}

6770

{% if config.show_category_heading %}

68-

{% filter heading(heading_level, id=html_id ~ "-type_aliases") %}Type Aliases{% endfilter %}

71+

{% filter heading(heading_level, id=html_id ~ "-type_aliases") %}{{ lang.t("Type Aliases") }}{% endfilter %}

6972

{% endif %}

7073

{% with heading_level = heading_level + extra_level %}

7174

{% for type_alias in type_aliases|order_members(config.members_order, members_list) %}

@@ -85,7 +88,7 @@ Context:

8588

) %}

8689

{% if classes %}

8790

{% if config.show_category_heading %}

88-

{% filter heading(heading_level, id=html_id ~ "-classes", skip_inventory=config.skip_local_inventory) %}Classes{% endfilter %}

91+

{% filter heading(heading_level, id=html_id ~ "-classes", skip_inventory=config.skip_local_inventory) %}{{ lang.t("Classes") }}{% endfilter %}

8992

{% endif %}

9093

{% with heading_level = heading_level + extra_level %}

9194

{% for class in classes|order_members(config.members_order, members_list) %}

@@ -105,7 +108,7 @@ Context:

105108

) %}

106109

{% if functions %}

107110

{% if config.show_category_heading %}

108-

{% filter heading(heading_level, id=html_id ~ "-functions", skip_inventory=config.skip_local_inventory) %}Functions{% endfilter %}

111+

{% filter heading(heading_level, id=html_id ~ "-functions", skip_inventory=config.skip_local_inventory) %}{{ lang.t("Functions") }}{% endfilter %}

109112

{% endif %}

110113

{% with heading_level = heading_level + extra_level %}

111114

{% for function in functions|order_members(config.members_order, members_list) %}

@@ -128,7 +131,7 @@ Context:

128131

) %}

129132

{% if modules %}

130133

{% if config.show_category_heading %}

131-

{% filter heading(heading_level, id=html_id ~ "-modules", skip_inventory=config.skip_local_inventory) %}Modules{% endfilter %}

134+

{% filter heading(heading_level, id=html_id ~ "-modules", skip_inventory=config.skip_local_inventory) %}{{ lang.t("Modules") }}{% endfilter %}

132135

{% endif %}

133136

{% with heading_level = heading_level + extra_level %}

134137

{% for module in modules|order_members("alphabetical", members_list) %}

Read the original on github.com ↗