Skip to content

Commit

Permalink
feat: added leaguelogos
Browse files Browse the repository at this point in the history
  • Loading branch information
joschobart committed Sep 9, 2024
1 parent ae06b67 commit 92456a2
Show file tree
Hide file tree
Showing 5 changed files with 287 additions and 280 deletions.
3 changes: 3 additions & 0 deletions fun_with_flags/templates/flags/details.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ <h3>
{{ g.nation }}
<img src="{{ g.flagurl }}" alt="{{ g.nation }}" title="{{ g.nation }}">
</h3>

{% if g.missing_flag is false %}
<img src="https://res.hattrick.org/leaguelogo/{{ g.flagid }}.png" alt="{{ g.nation }}" title="{{ g.nation }}" height="120px">

{% trans %}<p>The {% endtrans %}'{{ g.place }}'{% trans %}-flag of {% endtrans %}<b>{{ g.nation }}</b> {% trans %}for your team{% endtrans %} <b>{{ g.team }}
</b> {% trans %}is in your collection already. Doesn't it look amazing?!:)</p>{% endtrans %}

Expand Down
116 changes: 58 additions & 58 deletions fun_with_flags/translations/de/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.0.1\n"
"Report-Msgid-Bugs-To: joschobart\n"
"POT-Creation-Date: 2024-09-07 15:13+0200\n"
"POT-Creation-Date: 2024-09-09 21:07+0200\n"
"PO-Revision-Date: 2024-08-03 11:46+0200\n"
"Last-Translator: joschobart\n"
"Language: de\n"
Expand Down Expand Up @@ -39,27 +39,27 @@ msgstr "Verbreitet: %(_prevalence)s"
msgid "Usual: %(_prevalence)s"
msgstr "Üblich: %(_prevalence)s"

#: fun_with_flags/achievements.py:216
#: fun_with_flags/achievements.py:218
msgid "Your FwF Neighbors Score Evolution"
msgstr "Entwicklung des FwF Punktestands in deiner Nachbarschaft"

#: fun_with_flags/achievements.py:250
#: fun_with_flags/achievements.py:252
msgid "You"
msgstr "Du"

#: fun_with_flags/achievements.py:260
#: fun_with_flags/achievements.py:262
msgid "Well done!"
msgstr "Gut gemacht!"

#: fun_with_flags/achievements.py:262
#: fun_with_flags/achievements.py:264
msgid "There is still room to improve."
msgstr "Es gibt noch Luft nach oben."

#: fun_with_flags/achievements.py:264
#: fun_with_flags/achievements.py:266
msgid "We can do better!"
msgstr "Das können wir besser!"

#: fun_with_flags/achievements.py:275
#: fun_with_flags/achievements.py:277
#, python-format
msgid ""
" Your score of %(_score)s puts you on position %(_position)s out of "
Expand Down Expand Up @@ -623,43 +623,43 @@ msgstr "Es ist kein Wochenend-Freundschaftsspiel und die Suchtiefe beträgt"
msgid "Flag Details"
msgstr "Flaggen"

#: fun_with_flags/templates/flags/details.html:15
#: fun_with_flags/templates/flags/details.html:18
msgid "<p>The "
msgstr "<p>Die "

#: fun_with_flags/templates/flags/details.html:15
#: fun_with_flags/templates/flags/details.html:18
msgid "-flag of "
msgstr "-Flagge von "

#: fun_with_flags/templates/flags/details.html:15
#: fun_with_flags/templates/flags/details.html:18
msgid "for your team"
msgstr "für dein Team"

#: fun_with_flags/templates/flags/details.html:16
#: fun_with_flags/templates/flags/details.html:19
msgid "is in your collection already. Doesn't it look amazing?!:)</p>"
msgstr "ist bereits in deiner Sammlung. Sieht das nicht toll aus?!:)</p>"

#: fun_with_flags/templates/flags/details.html:20
#: fun_with_flags/templates/flags/details.html:23
msgid "<h4>Played "
msgstr "<h4>Gespielte "

#: fun_with_flags/templates/flags/details.html:20
#: fun_with_flags/templates/flags/details.html:23
msgid "-matches</h4>"
msgstr "-Spiele</h4>"

#: fun_with_flags/templates/flags/details.html:50
#: fun_with_flags/templates/flags/details.html:53
msgid ""
"<p>*Only matches booked over (or added later to) Fun with Flags appear "
"here</p>"
msgstr ""
"<p>*Nur über Fun with Flags gebuchte (oder später hinzugefügte) Spiele "
"erscheinen hier</p>"

#: fun_with_flags/templates/flags/details.html:52
#: fun_with_flags/templates/flags/details.html:55
msgid "<h4>Add past friendly for"
msgstr "<h4>Vergangenes Freundschaftsspiel hinzufügen für"

#: fun_with_flags/templates/flags/details.html:54
#: fun_with_flags/templates/flags/details.html:57
msgid ""
"\n"
" <form method=\"post\">\n"
Expand All @@ -682,45 +682,45 @@ msgstr ""
" </form>\n"
" "

#: fun_with_flags/templates/flags/details.html:65
#: fun_with_flags/templates/flags/details.html:70
#: fun_with_flags/templates/flags/details.html:68
#: fun_with_flags/templates/flags/details.html:73
msgid "<p>The"
msgstr "<p>Die"

#: fun_with_flags/templates/flags/details.html:65
#: fun_with_flags/templates/flags/details.html:70
#: fun_with_flags/templates/flags/details.html:68
#: fun_with_flags/templates/flags/details.html:73
msgid "-flag of"
msgstr "-Flagge von"

#: fun_with_flags/templates/flags/details.html:66
#: fun_with_flags/templates/flags/details.html:69
msgid "is in your collection already. But let's challenge over and over!;)</p>"
msgstr "ist bereits in deiner Sammlung. Aber lass uns immer wieder fordern!;)</p>"

#: fun_with_flags/templates/flags/details.html:71
#: fun_with_flags/templates/flags/details.html:74
msgid "is missing for your team"
msgstr "fehlt deinem Team"

#: fun_with_flags/templates/flags/details.html:71
#: fun_with_flags/templates/flags/details.html:74
msgid "Let's grab that flag!;)</p>"
msgstr "Lass uns diese Flagge holen!;)</p>"

#: fun_with_flags/templates/flags/details.html:76
#: fun_with_flags/templates/flags/details.html:79
msgid ""
"<p>Do you want to search for opponents to challenge? <b>This may take up "
"to five minutes on level 5 depth!</b></p>"
msgstr ""
"<p>Möchtest du nach Gegnern suchen, um sie herauszufordern? <b>Dies kann "
"bis zu fünf Minuten dauern bei einer Suchtiefe von 5!</b></p>"

#: fun_with_flags/templates/flags/details.html:81
#: fun_with_flags/templates/flags/details.html:84
msgid "<option value=\"0\" selected>Midweek friendly</option>"
msgstr "<option value=\"0\" selected>Wochentags-Freundschaftsspiel</option>"

#: fun_with_flags/templates/flags/details.html:84
#: fun_with_flags/templates/flags/details.html:87
msgid "<option value=\"1\">Weekend friendly</option>"
msgstr "<option value=\"1\">Wochenend-Freundschaftsspiel</option>"

#: fun_with_flags/templates/flags/details.html:89
#: fun_with_flags/templates/flags/details.html:92
msgid ""
"<input type=\"submit\" value=\"Search Opponents\" "
"name=\"search_opponents\" id=\"search_opponents\" "
Expand All @@ -729,32 +729,32 @@ msgstr ""
"<input type=\"submit\" value=\"Gegner suchen\" name=\"search_opponents\" "
"id=\"search_opponents\" onclick=\"loadSpinner()\">"

#: fun_with_flags/templates/flags/details.html:97
#: fun_with_flags/templates/flags/details.html:120
#: fun_with_flags/templates/flags/details.html:100
#: fun_with_flags/templates/flags/details.html:123
msgid "<h4>&#129412; Update schedule for"
msgstr "<h4>&#129412; Zeitplan aktualisieren für"

#: fun_with_flags/templates/flags/details.html:97
#: fun_with_flags/templates/flags/details.html:110
#: fun_with_flags/templates/flags/details.html:120
#: fun_with_flags/templates/flags/details.html:130
#: fun_with_flags/templates/flags/details.html:100
#: fun_with_flags/templates/flags/details.html:113
#: fun_with_flags/templates/flags/details.html:123
#: fun_with_flags/templates/flags/details.html:133
msgid "-match &#129412;</h4>"
msgstr "-Spiel &#129412;</h4>"

#: fun_with_flags/templates/flags/details.html:99
#: fun_with_flags/templates/flags/details.html:112
#: fun_with_flags/templates/flags/details.html:122
#: fun_with_flags/templates/flags/details.html:102
#: fun_with_flags/templates/flags/details.html:115
#: fun_with_flags/templates/flags/details.html:125
msgid "There is a schedule for a(n)"
msgstr "Es gibt einen Zeitplan für ein"

#: fun_with_flags/templates/flags/details.html:99
#: fun_with_flags/templates/flags/details.html:112
#: fun_with_flags/templates/flags/details.html:122
#: fun_with_flags/templates/flags/details.html:123
#: fun_with_flags/templates/flags/details.html:102
#: fun_with_flags/templates/flags/details.html:115
#: fun_with_flags/templates/flags/details.html:125
#: fun_with_flags/templates/flags/details.html:126
msgid "-match for"
msgstr "-Spiel für"

#: fun_with_flags/templates/flags/details.html:99
#: fun_with_flags/templates/flags/details.html:102
msgid ""
"already.\n"
" You can resubmit it in case you have changed the "
Expand All @@ -767,7 +767,7 @@ msgstr ""
" in den Einstellungen geändert hast. Dies wird den Zeitplan "
"aktualisieren.\n"

#: fun_with_flags/templates/flags/details.html:103
#: fun_with_flags/templates/flags/details.html:106
msgid ""
"\n"
" <form method=\"post\" style=\"width: 200px;\">\n"
Expand All @@ -787,57 +787,57 @@ msgstr ""
" </form>\n"
" "

#: fun_with_flags/templates/flags/details.html:110
#: fun_with_flags/templates/flags/details.html:113
msgid "<h4>&#129412; Update schedule for "
msgstr "<h4>&#129412; Zeitplan aktualisieren für "

#: fun_with_flags/templates/flags/details.html:112
#: fun_with_flags/templates/flags/details.html:122
#: fun_with_flags/templates/flags/details.html:115
#: fun_with_flags/templates/flags/details.html:125
msgid ""
"already.\n"
" You can resubmit it as a(n)"
msgstr ""
"bereits.\n"
" Du kannst ihn erneut einreichen als ein"

#: fun_with_flags/templates/flags/details.html:113
#: fun_with_flags/templates/flags/details.html:116
msgid "-match instead. This will overwrite the schedule."
msgstr "-Spiel stattdessen. Dies wird den Zeitplan überschreiben."

#: fun_with_flags/templates/flags/details.html:116
#: fun_with_flags/templates/flags/details.html:126
#: fun_with_flags/templates/flags/details.html:119
#: fun_with_flags/templates/flags/details.html:129
msgid ""
"<input type=\"submit\" value=\"Update Schedule\" "
"name=\"schedule_friendly\" id=\"schedule_friendly\">"
msgstr ""
"<input type=\"submit\" value=\"Zeitplan aktualisieren\" "
"name=\"schedule_friendly\" id=\"schedule_friendly\">"

#: fun_with_flags/templates/flags/details.html:123
#: fun_with_flags/templates/flags/details.html:126
msgid "instead. This will overwrite the existing schedule."
msgstr "stattdessen. Dies wird den bestehenden Zeitplan überschreiben."

#: fun_with_flags/templates/flags/details.html:130
#: fun_with_flags/templates/flags/details.html:133
msgid "<h4>&#129412; Schedule"
msgstr "<h4>&#129412; Zeitplan"

#: fun_with_flags/templates/flags/details.html:131
#: fun_with_flags/templates/flags/details.html:134
msgid ""
"<p>As a member of the unicorn-club you are even entitled to schedule a "
"match in advance! Let's do it!;)</p>"
msgstr ""
"<p>Als Mitglied des Einhorn-Clubs hast du sogar das Recht, ein Spiel im "
"Voraus zu planen! Lass uns das machen!;)</p>"

#: fun_with_flags/templates/flags/details.html:133
#: fun_with_flags/templates/flags/details.html:136
msgid ""
"<input type=\"submit\" value=\"Add Schedule\" name=\"schedule_friendly\" "
"id=\"schedule_friendly\">"
msgstr ""
"<input type=\"submit\" value=\"Zeitplan hinzufügen\" "
"name=\"schedule_friendly\" id=\"schedule_friendly\">"

#: fun_with_flags/templates/flags/details.html:137
#: fun_with_flags/templates/flags/details.html:140
msgid ""
"\n"
" <p><b>...but:</b> first you will have to wait until Thursday "
Expand All @@ -853,27 +853,27 @@ msgstr ""
" beginnt das automatische Planen früher, d.h. um 8.15 Uhr HT. Werde "
"Mitglied hier:"

#: fun_with_flags/templates/flags/details.html:140
#: fun_with_flags/templates/flags/details.html:143
msgid ""
"Settings</a></p>\n"
" "
msgstr ""
"Einstellungen</a></p>\n"
" "

#: fun_with_flags/templates/flags/details.html:148
#: fun_with_flags/templates/flags/details.html:151
msgid "<p>There are"
msgstr "<p>Es gibt"

#: fun_with_flags/templates/flags/details.html:148
#: fun_with_flags/templates/flags/details.html:151
msgid "teams challengeable in"
msgstr "herausforderbare Teams in"

#: fun_with_flags/templates/flags/details.html:149
#: fun_with_flags/templates/flags/details.html:152
msgid "at the moment with your settings.</p>"
msgstr "im Moment mit deinen Einstellungen.</p>"

#: fun_with_flags/templates/flags/details.html:151
#: fun_with_flags/templates/flags/details.html:154
msgid "Challenge Opponents"
msgstr "Gegner fordern"

Expand Down
Loading

0 comments on commit 92456a2

Please sign in to comment.