Merge pull request #657 from MyIgel/credits-translation

/credits: Make them translatable and use markdown
This commit is contained in:
msquare 2019-10-13 13:12:21 +02:00 committed by GitHub
commit 285f5509dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 12 deletions

View File

@ -4,28 +4,28 @@
{% block content %} {% block content %}
<div class="container"> <div class="container">
<h1>Credits</h1> <h1>{{ __('Credits') }}</h1>
<div class="row"> <div class="row">
{% for title, credit in credits %} {% for title, credit in credits %}
<div class="col-md-4"> <div class="col-md-4">
<h2>{{ title }}</h2> <h2>{{ __(title) }}</h2>
{{ credit|markdown }} {{ __(credit)|markdown }}
</div> </div>
{% endfor %} {% endfor %}
<div class="col-md-4"> <div class="col-md-4">
<h2>Source code</h2> <h2>{{ __('Source code') }}</h2>
<p>Version: <i>{{ version }}</i></p> <p>{{ __('Version: _%s_', [version])|markdown }}</i></p>
<p> <p>
The original engelsystem was written by {{ __('The original engelsystem was written by
<a href="https://github.com/cookieBerlin/engelsystem">cookie</a>. [cookie](https://github.com/cookieBerlin/engelsystem).
It was then completely rewritten and enhanced by It was then completely rewritten and enhanced by [msquare](https://notrademark.de) (maintainer) and
<a href="https://notrademark.de">msquare</a> (maintainer) and [MyIgel](https://myigel.name).')|markdown }}
<a href="https://myigel.name">MyIgel</a>.
</p> </p>
<p> <p>
Please look at the <a href="https://github.com/engelsystem/engelsystem/graphs/contributors"> {{ __('Please have a look at the
contributor list on GitHub</a> for a complete list. [contributors list on GitHub](https://github.com/engelsystem/engelsystem/graphs/contributors)
for a complete list.')|markdown }}
</p> </p>
</div> </div>
</div> </div>