forked from I2P_Developers/i2p.www
Use {{ _('') }} instead of {% trans %}{% endtrans %} for short strings and headings
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
{% extends "global/layout.html" %}
|
||||
{% block title %}{% trans %}Meetings{% endtrans %}{% endblock %}
|
||||
{% block title %}{{ _('Meetings') }}{% endblock %}
|
||||
{% block headextra %}
|
||||
<link href="{{ get_url('meetings_atom') }}" type="application/atom+xml" rel="alternate" title="{% trans %}I2P Meetings ATOM Feed{% endtrans %}" />
|
||||
<link href="{{ get_url('meetings_atom') }}" type="application/atom+xml" rel="alternate" title="{{ _('I2P Meetings ATOM Feed') }}" />
|
||||
{%- endblock %}
|
||||
{% block content %}
|
||||
<h1>{% trans %}Logs of past I2P meetings{% endtrans %}</h1>
|
||||
<h1>{{ _('Logs of past I2P meetings') }}</h1>
|
||||
|
||||
<p>{% trans blogindex=get_url('blog_index') -%}
|
||||
If you have something to discuss, please find the developers on IRC in #i2p-dev.
|
||||
|
@@ -7,7 +7,7 @@
|
||||
{% endif %}
|
||||
{% endautoescape %}
|
||||
<div class="irclog">
|
||||
<h1>{% trans %}Full IRC Log{% endtrans %}</h1>
|
||||
<h1>{{ _('Full IRC Log') }}</h1>
|
||||
<pre>
|
||||
{{ log|escape }}
|
||||
{# TODO: pygments #}
|
||||
|
Reference in New Issue
Block a user