-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from skorbut/8-use-localization-for-text
8 use localization for text
- Loading branch information
Showing
21 changed files
with
642 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block app_content %} | ||
<h1>Seite nicht gefunden</h1> | ||
<p><a href="{{ url_for('index') }}">Zurück</a></p> | ||
<h1>{{ _('Page not found') }}</h1> | ||
<p><a href="{{ url_for('index') }}">{{ _('Back to index') }}</a></p> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,27 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block app_content %} | ||
<h1>Hallo Racer!</h1> | ||
<h1>{{ _('Greetings Racer') }}!</h1> | ||
<p> | ||
{{ _('Here you have access to all race information, registered racers, the car park and the history of previous races. And you can start a new race here.') }} | ||
</p> | ||
|
||
<a href="{{ url_for('race_registration') }}">Neues Rennen</a> | ||
<h3><a href="{{ url_for('race_registration') }}">{{ _('New race') }}</a></h3> | ||
<p> | ||
{{ _('Click the headline to configure and start a new race.') }} | ||
|
||
</p> | ||
<h3><a href="{{ url_for('racers') }}">{{ _('Registered racers') }}</a></h3> | ||
<p> | ||
{{ _('Find all registered racers and add new racers.') }} | ||
</p> | ||
<h3><a href="{{ url_for('cars') }}">{{ _('Car park') }}</a></h3> | ||
<p> | ||
{{ _('Here you find all available race cars.') }} | ||
|
||
</p> | ||
<h3><a href="{{ url_for('races') }}">{{ _('Previous races') }}</a></h3> | ||
<p> | ||
{{ _('Have a look at past races.') }} | ||
</p> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.