diff options
author | msquare <msquare@notrademark.de> | 2019-10-13 13:12:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-13 13:12:21 +0200 |
commit | 285f5509dd948c2359c861eec364a677e8ce4910 (patch) | |
tree | d667a99f95d2e8b0308fc40a736fa43db71948f8 | |
parent | 3d9394df865ba28634b6b5a76af0e5283a51580d (diff) | |
parent | 948c8b9408ca7d22c714c4e65082ae0fec57357e (diff) |
Merge pull request #657 from MyIgel/credits-translation
/credits: Make them translatable and use markdown
-rw-r--r-- | resources/views/pages/credits.twig | 24 |
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> |