From e792da7459c77d5dad40847fe1ee3480a08261bc Mon Sep 17 00:00:00 2001 From: Xeniac Date: Sun, 30 Dec 2018 11:20:41 +0100 Subject: [PATCH] Don't try to show the next event if we can't find one. --- src/kasu/locale/de/LC_MESSAGES/django.mo | Bin 3275 -> 3084 bytes src/kasu/locale/de/LC_MESSAGES/django.po | 123 +++++++++++------------ src/kasu/templates/base.html | 4 +- 3 files changed, 63 insertions(+), 64 deletions(-) diff --git a/src/kasu/locale/de/LC_MESSAGES/django.mo b/src/kasu/locale/de/LC_MESSAGES/django.mo index c6d7576145a21c5a043a036b8a5c261c47d1e7b4..b41f32fd030d128a399bf8cddad0028133082a38 100644 GIT binary patch delta 929 zcmY+?KWGzS7{~GVOxmPLY-_atq}GELI!IztW3fS_bP;KBvFIk8 z>=L?&-PGWqh*`Qy2Ng#z`e3b{46hkJ zX}-gJ>y}o={Mz@=?@WKQj^j>f&t2?b-5E9}iV570eVD*e?7|F2Fpr%$joSLcUc6>z znH(lChuWwVxPsc~7V5!OWSF%eejk-kGl;h^#(D#La1#soF1Vf~TO~4phwvyyP0g4b z6J>e^_279tj#rRj?grjNCECDAe1^LJBPx*}r~@prRfSzh$RzLpCQ%(4Lz-tMFv|I6 zlF103#iz9YDz;fCXvabPiv9QpwP8Qms?uRpd>mC#0ekThs*^=jLN`zcR*+$;{0!k8 ztm%ezCc5DfcHcD^$f>!SxTQ1iqmP2$R(ejv^sbLhVyUb?$Z$Uq^;% z#^`?^lNYR}@ip?gOq_nw1k;Q9Qx4!1=I{u5s6^_h0v@1R{t$Iw6O;HH)san9AzP?I zws8zU#ar#r8>{DH$#!qLo?o`-OBJu!dfc&Xb!R71Co*<6o6qKsWwMRc$Y9}A>i=No zWNg+c`>DBQ$15*6erY*xUmLgW)7PDH<=l$v6{{ZC7u~eu7seYqk)NTdbf)z=x@(Qh fxQm`^Uv~AV?=1NhZ^8BK1$UkVT(9*$_Qm=OOmT8^ delta 1145 zcmYk*O-K}B9LMozb=TFg7vHKiZQHW!#b%pbYSpErwr&PR1|9S=ETb*xF6}N+1T9$L zp>9$U1f8mTdx(y8GY>&fH^n*#X$Q%m^3?a|PS79!^O$ zWH)&)V9aU!UdM%4syAj0zhEvh-UG+`R#X53%c*OKSqn^r#OT!{q|+l0#>mD*HQB{GH8>j z7}Ltlb{e|yIQAiZ%&4!6THpkxa2nPB4Qc^%s0luycD8`}ehFJ~8C99zND)l~owWc9 zqs(vGxp__5leoz93UAwSj{5Dy1=N5)Q9Io5+e18PN8Q+h3Dm$DWGFL?ns5a9#9YNr zbp7|Yv7!!lx!Hy@r~w|KCVYlEg6F6mzw+O|LoI9`hw&?Ff;i>S_XDVkokg{eAzjQk z?!fDq!I@_2uQPp51JyAfP(Q-YIEd@G2W?iN1q`EhHi{~B7B%5GwqXHPiD}dZW|2Sh zgv$YZffU*tAvLe1^Vf>BS`BoN{1>W-CR1o|h0al-vUibtNiFygsnB8-+RR~6lkXxG zQSumhl+=G)gzWRUXeWvuk`0^vq|QG^>b&$LQW;h9UQ(6#KeRI)qe8n^?5nYP4Vmgj z-CSVyM=(-d4ZaQJos+gR5ObV#qQB2cI*xVeqJ7!Bkt^j2dHcLu_R_JWlStXlpq\n" +"POT-Creation-Date: 2018-12-30 11:14+0100\n" +"PO-Revision-Date: 2018-12-30 11:14+0105\n" +"Last-Translator: b' '\n" "Language-Team: Kasu \n" "Language: de\n" "MIME-Version: 1.0\n" @@ -17,165 +17,167 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Poedit 1.8.9\n" -"X-Translated-Using: django-rosetta 0.7.6\n" +"X-Translated-Using: django-rosetta 0.9.0\n" -#: .\kasu\settings.py:141 +#: settings.py:141 msgid "German" msgstr "Deutsch" -#: .\kasu\settings.py:141 +#: settings.py:141 msgid "English" msgstr "Englisch" -#: .\kasu\templates\404.html:8 +#: templates/404.html:8 msgid "The page your requested does not exist on this server." msgstr "Die angeforderte Seite existiert auf diesem Server nicht." -#: .\kasu\templates\base.html:22 +#: templates/base.html:22 msgid "Current News" msgstr "Aktuelle Neuigkeiten" -#: .\kasu\templates\base.html:24 .\kasu\templates\index.html:40 +#: templates/base.html:24 templates/index.html:40 msgid "Recent Comments" msgstr "Kürzliche Kommentare" -#: .\kasu\templates\base.html:45 +#: templates/base.html:45 msgid "Menu" msgstr "Menü" -#: .\kasu\templates\base.html:69 +#: templates/base.html:69 msgid "Current Event" msgstr "Aktuelle Veranstaltung" -#: .\kasu\templates\base.html:72 +#: templates/base.html:72 msgid "Since" msgstr "seit" -#: .\kasu\templates\base.html:73 .\kasu\templates\base.html:87 +#: templates/base.html:73 templates/base.html:87 msgid "Start" msgstr "Beginn" -#: .\kasu\templates\base.html:76 .\kasu\templates\base.html:90 +#: templates/base.html:76 templates/base.html:90 msgid "Location" msgstr "Ort" -#: .\kasu\templates\base.html:81 .\kasu\templates\base.html:94 +#: templates/base.html:81 templates/base.html:94 msgid "More Details" msgstr "Mehr Details" -#: .\kasu\templates\base.html:83 +#: templates/base.html:83 msgid "Next Event" msgstr "Nächste Veranstaltung" -#: .\kasu\templates\base.html:86 +#: templates/base.html:86 msgid "in" msgstr "in" -#: .\kasu\templates\base.html:97 +#: templates/base.html:97 msgid "Upcoming events" msgstr "Bevorstehende Veranstaltungen" -#: .\kasu\templates\base.html:147 +#: templates/base.html:107 +msgid "No events found" +msgstr "Keine Veranstaltungen gefunden" + +#: templates/base.html:149 msgid "Add Subpage" msgstr "Unterseite Hinzufügen" -#: .\kasu\templates\base.html:152 +#: templates/base.html:154 msgid "Edit Page" msgstr "Seite bearbeiten" -#: .\kasu\templates\base.html:160 +#: templates/base.html:162 msgid "Imprint" msgstr "Impressum" -#: .\kasu\templates\base.html:161 +#: templates/base.html:163 msgid "contact" msgstr "Kontakt" -#: .\kasu\templates\base.html:166 +#: templates/base.html:168 msgid "Language" msgstr "Sprache" -#: .\kasu\templates\base.html:175 +#: templates/base.html:177 msgid "Go" msgstr "Los" -#: .\kasu\templates\base.html:180 +#: templates/base.html:182 msgid "Logged in as" msgstr "Angemeldet als" -#: .\kasu\templates\base.html:182 +#: templates/base.html:184 msgid "Admin" msgstr "Admin" -#: .\kasu\templates\base.html:183 +#: templates/base.html:185 msgid "Logout" msgstr "Abmelden" -#: .\kasu\templates\base.html:185 +#: templates/base.html:187 msgid "no user logged in" msgstr "Niemand angemeldet" -#: .\kasu\templates\base.html:186 .\kasu\templates\comments\form.html:43 +#: templates/base.html:188 templates/comments/form.html:43 msgid "register" msgstr "Registrieren" -#: .\kasu\templates\base.html:187 .\kasu\templates\comments\form.html:44 +#: templates/base.html:189 templates/comments/form.html:44 msgid "login" msgstr "anmelden" -#: .\kasu\templates\comments\form.html:5 +#: templates/comments/form.html:5 msgid "New Comment" msgstr "Neuer Kommentar" -#: .\kasu\templates\comments\form.html:20 +#: templates/comments/form.html:20 msgid "now" msgstr "Jetzt" -#: .\kasu\templates\comments\form.html:25 +#: templates/comments/form.html:25 msgid "Preview" msgstr "Vorschau" -#: .\kasu\templates\comments\form.html:26 +#: templates/comments/form.html:26 msgid "Post" msgstr "Schreiben" -#: .\kasu\templates\comments\form.html:34 +#: templates/comments/form.html:34 msgid "not logged in" msgstr "Nicht angemeldet" -#: .\kasu\templates\comments\form.html:38 +#: templates/comments/form.html:38 msgid "Register now, or Login to leave a comment here." msgstr "Jetzt registrieren, oder anmelden um einen Kommentar zu schreiben." -#: .\kasu\templates\comments\list.html:2 .\kasu\templates\index.html:25 +#: templates/comments/list.html:2 templates/index.html:25 msgid "Comments" msgstr "Kommentare" -#: .\kasu\templates\comments\posted.html:4 -#: .\kasu\templates\comments\posted.html:7 +#: templates/comments/posted.html:4 templates/comments/posted.html:7 msgid "Thank you for your comment" msgstr "Danke für deinen Kommentar." -#: .\kasu\templates\comments\preview.html:4 -#: .\kasu\templates\comments\preview.html:6 +#: templates/comments/preview.html:4 templates/comments/preview.html:6 msgid "Preview your comment" msgstr "Vorschau deines Kommentars" -#: .\kasu\templates\comments\preview.html:10 +#: templates/comments/preview.html:10 msgid "Please correct the error below" msgid_plural "Please correct the errors below" msgstr[0] "Bitte den Fehler weiter unten beheben" msgstr[1] "Bitte die Fehler weiter unten beheben" -#: .\kasu\templates\index.html:4 +#: templates/index.html:4 msgid "traditional Asian game culture" msgstr "traditionelle asiatische Spielkultur" -#: .\kasu\templates\index.html:33 +#: templates/index.html:33 msgid "Read More" msgstr "Mehr lesen" -#: .\kasu\templates\index.html:47 +#: templates/index.html:47 #, python-format msgid "" "\n" @@ -192,23 +194,23 @@ msgstr "" " \n" " " -#: .\kasu\templates\index.html:59 +#: templates/index.html:59 msgid "Kasu in the social network" msgstr "Kasu im sozialem Netzwerk" -#: .\kasu\templates\index.html:62 .\kasu\templates\index.html:65 +#: templates/index.html:62 templates/index.html:65 msgid "Visit us on" msgstr "Besuche uns auf" -#: .\kasu\templates\index.html:74 +#: templates/index.html:74 msgid "Add Article" msgstr "Artikel hinzufügen" -#: .\kasu\templates\paginator.html:8 +#: templates/paginator.html:8 msgid "Previous" msgstr "Vorherige" -#: .\kasu\templates\paginator.html:20 +#: templates/paginator.html:20 msgid "Next" msgstr "Nächste" @@ -1014,20 +1016,15 @@ msgstr "Nächste" #~ msgid "" #~ "\n" #~ "

You can register here with your Google, or Facebook account.\n" -#~ "If you don't own such an account, or do not want to use it for " -#~ "authentication,\n" +#~ "If you don't own such an account, or do not want to use it for authentication,\n" #~ "you can fill out our registration form.

\n" #~ msgstr "" #~ "\n" -#~ "

Du kannst dich hier mit deinen Google, Twitter, oder Facebook Account " -#~ "anmelden. Wenn du so etwas nicht besitzt, oder es nicht für die Anmeldung " -#~ "verwenden möchtest, kannst du auch unser Registrierungsformular verwenden." -#~ "

\n" +#~ "

Du kannst dich hier mit deinen Google, Twitter, oder Facebook Account anmelden. Wenn du so etwas nicht besitzt, oder es nicht für die Anmeldung verwenden möchtest, kannst du auch unser Registrierungsformular verwenden.

\n" #~ msgid "Your username and password didn't match. Please try again." #~ msgstr "" -#~ "Benutzername und Passwort haben nicht gepasst. Bitte noch einmal " -#~ "versuchen." +#~ "Benutzername und Passwort haben nicht gepasst. Bitte noch einmal versuchen." #~ msgid "Forgot your Password?" #~ msgstr "Passwort vergessen?" @@ -1048,12 +1045,12 @@ msgstr "Nächste" #~ msgstr "Passwort ändern" #~ msgid "" -#~ "Please enter your old password, for security's sake, and then enter your " -#~ "new password twice so we can verify you typed it in correctly." +#~ "Please enter your old password, for security's sake, and then enter your new" +#~ " password twice so we can verify you typed it in correctly." #~ msgstr "" -#~ "Bitte gebe aus Sicherheitsgründen den altes Passwort an und anschließend " -#~ "2x das neue Passwort, so können wir sicher gehen das du es korrekt " -#~ "eingegeben hast." +#~ "Bitte gebe aus Sicherheitsgründen den altes Passwort an und anschließend 2x " +#~ "das neue Passwort, so können wir sicher gehen das du es korrekt eingegeben " +#~ "hast." #~ msgid "Change Password" #~ msgstr "Passwort ändern" diff --git a/src/kasu/templates/base.html b/src/kasu/templates/base.html index 14e5dff..e451284 100644 --- a/src/kasu/templates/base.html +++ b/src/kasu/templates/base.html @@ -79,7 +79,7 @@ - {% else %} + {% elif next_event %}

{% trans "Next Event" %}

{{ next_event.name}}

{% endblock %}