| Index: includes/interface.tmpl |
| =================================================================== |
| --- a/includes/interface.tmpl |
| +++ b/includes/interface.tmpl |
| @@ -23,17 +23,17 @@ |
| {% else %} |
| {{ return_type }} |
| {% endif %} |
| {% endmacro %} |
| {% macro display_interface(interface, links) %} |
| {% set interface=interface|parse_interface %} |
| - <h2>{{ "toc_header"|translate("interface") }}</h2> |
| + <h2>{{ get_string("toc_header", "interface") }}</h2> |
| <ul> |
| {% for property in interface %} |
| {% if property.type == "method" %} |
| <li> |
| {{ return_type(property.return_type) }} |
| <a href="#method_{{ property.name }}" class="methodname">{{ property.name }}</a> |
| ( |
| {% for argument in property.arguments %} |
| @@ -62,30 +62,30 @@ |
| {{ argument.modifier }} {{ argument.type }} {{ argument.name }} |
| {%- if not loop.last %},{% endif %} |
| {% endfor %} |
| ) |
| </p> |
| {{ property.description() }} |
| <dl> |
| {% if property.version %} |
| - <dt>{{ "minversion_label"|translate("interface") }}</dt> |
| - <dd>{{ property.version }} {{ "minversion_addendum"|translate("interface") }}</dd> |
| + <dt>{{ get_string("minversion_label", "interface") }}</dt> |
| + <dd>{{ property.version }} {{ get_string("minversion_addendum", "interface") }}</dd> |
| {% endif %} |
| {% if property.arguments|length %} |
| - <dt>{{ "arguments_label"|translate("interface") }}</dt> |
| + <dt>{{ get_string("arguments_label", "interface") }}</dt> |
| {% for argument in property.arguments %} |
| <dd> |
| <span class="argumentname">{{ argument.name }}</span>: |
| {{ property["description-" + argument.name]() }} |
| </dd> |
| {% endfor %} |
| {% endif %} |
| {% if "description-return" in property %} |
| - <dt>{{ "returnvalue_label"|translate("interface") }}</dt> |
| + <dt>{{ get_string("returnvalue_label", "interface") }}</dt> |
| <dd>{{ property["description-return"]() }}</dd> |
| {% endif %} |
| </dl> |
| {% else %} |
| <p id="prop_{{ property.name }}"> |
| {{ property.modifier }} {{ property.type }} |
| <span class="propname">{{ property.name }}</span> |
| </p> |