summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-10-06 17:38:23 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2019-10-06 17:43:22 +0200
commit948c8b9408ca7d22c714c4e65082ae0fec57357e (patch)
treee9170f8586a087eae1f8159a1d657a675c8afacf
parent6240e5f0465d0e223178a72ec36fc2b9ce2af9a0 (diff)
credits: Make them translatable and use markdown
-rw-r--r--resources/views/pages/credits.twig24
1 files changed, 12 insertions, 12 deletions
diff --git a/resources/views/pages/credits.twig b/resources/views/pages/credits.twig
index 3bb04895..8bd1f694 100644
--- a/resources/views/pages/credits.twig
+++ b/resources/views/pages/credits.twig
@@ -4,28 +4,28 @@
{% block content %}
<div class="container">
- <h1>Credits</h1>
+ <h1>{{ __('Credits') }}</h1>
<div class="row">
{% for title, credit in credits %}
<div class="col-md-4">
- <h2>{{ title }}</h2>
- {{ credit|markdown }}
+ <h2>{{ __(title) }}</h2>
+ {{ __(credit)|markdown }}
</div>
{% endfor %}
<div class="col-md-4">
- <h2>Source code</h2>
- <p>Version: <i>{{ version }}</i></p>
+ <h2>{{ __('Source code') }}</h2>
+ <p>{{ __('Version: _%s_', [version])|markdown }}</i></p>
<p>
- The original engelsystem was written by
- <a href="https://github.com/cookieBerlin/engelsystem">cookie</a>.
- It was then completely rewritten and enhanced by
- <a href="https://notrademark.de">msquare</a> (maintainer) and
- <a href="https://myigel.name">MyIgel</a>.
+ {{ __('The original engelsystem was written by
+[cookie](https://github.com/cookieBerlin/engelsystem).
+It was then completely rewritten and enhanced by [msquare](https://notrademark.de) (maintainer) and
+[MyIgel](https://myigel.name).')|markdown }}
</p>
<p>
- Please look at the <a href="https://github.com/engelsystem/engelsystem/graphs/contributors">
- contributor list on GitHub</a> for a complete list.
+ {{ __('Please have a look at the
+[contributors list on GitHub](https://github.com/engelsystem/engelsystem/graphs/contributors)
+for a complete list.')|markdown }}
</p>
</div>
</div>