Index: includes/interface.tmpl |
diff --git a/includes/interface.tmpl b/includes/interface.tmpl |
index 2c6d31097bfa67e9965eaf9d2fff1ba944e0ef9c..8a960e2b1436b5d6ca66ff9131ebbbeb4a0985cd 100644 |
--- a/includes/interface.tmpl |
+++ b/includes/interface.tmpl |
@@ -28,7 +28,7 @@ |
{% macro display_interface(interface, links) %} |
{% set interface=interface|parse_interface %} |
- <h2>{{ "toc_header"|translate }}</h2> |
+ <h2>{{ "toc_header"|translate("interface") }}</h2> |
<ul> |
{% for property in interface %} |
{% if property.type == "method" %} |
@@ -67,11 +67,11 @@ |
{{ property.description() }} |
<dl> |
{% if property.version %} |
- <dt>Version:</dt> |
- <dd>{{ property.version }} and higher</dd> |
+ <dt>{{ "minversion_label"|translate("interface") }}</dt> |
+ <dd>{{ property.version }} {{ "minversion_addendum"|translate("interface") }}</dd> |
{% endif %} |
{% if property.arguments|length %} |
- <dt>Arguments:</dt> |
+ <dt>{{ "arguments_label"|translate("interface") }}</dt> |
{% for argument in property.arguments %} |
<dd> |
<span class="argumentname">{{ argument.name }}</span>: |
@@ -80,7 +80,7 @@ |
{% endfor %} |
{% endif %} |
{% if "description-return" in property %} |
- <dt>Returns:</dt> |
+ <dt>{{ "returnvalue_label"|translate("interface") }}</dt> |
<dd>{{ property["description-return"]() }}</dd> |
{% endif %} |
</dl> |