diff options
-rw-r--r-- | fietsboek/locale/de/LC_MESSAGES/messages.mo | bin | 9264 -> 9389 bytes | |||
-rw-r--r-- | fietsboek/locale/de/LC_MESSAGES/messages.po | 134 | ||||
-rw-r--r-- | fietsboek/locale/en/LC_MESSAGES/messages.mo | bin | 8731 -> 8833 bytes | |||
-rw-r--r-- | fietsboek/locale/en/LC_MESSAGES/messages.po | 116 | ||||
-rw-r--r-- | fietsboek/locale/fietslog.pot | 116 | ||||
-rw-r--r-- | fietsboek/templates/browse.jinja2 | 3 |
6 files changed, 194 insertions, 175 deletions
diff --git a/fietsboek/locale/de/LC_MESSAGES/messages.mo b/fietsboek/locale/de/LC_MESSAGES/messages.mo Binary files differindex b600a32..3741a7d 100644 --- a/fietsboek/locale/de/LC_MESSAGES/messages.mo +++ b/fietsboek/locale/de/LC_MESSAGES/messages.mo diff --git a/fietsboek/locale/de/LC_MESSAGES/messages.po b/fietsboek/locale/de/LC_MESSAGES/messages.po index 48d0e8a..54b7f50 100644 --- a/fietsboek/locale/de/LC_MESSAGES/messages.po +++ b/fietsboek/locale/de/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-02 17:35+0200\n" +"POT-Creation-Date: 2022-07-07 23:27+0200\n" "PO-Revision-Date: 2022-07-02 17:35+0200\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language: de\n" @@ -18,39 +18,39 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.10.3\n" -#: fietsboek/util.py:157 +#: fietsboek/util.py:261 msgid "password_constraint.mismatch" msgstr "Passwörter stimmen nicht überein" -#: fietsboek/util.py:159 +#: fietsboek/util.py:263 msgid "password_constraint.length" msgstr "Passwort zu kurz" -#: fietsboek/models/track.py:392 +#: fietsboek/models/track.py:494 msgid "tooltip.table.length" msgstr "Länge" -#: fietsboek/models/track.py:393 +#: fietsboek/models/track.py:495 msgid "tooltip.table.uphill" msgstr "Bergauf" -#: fietsboek/models/track.py:394 +#: fietsboek/models/track.py:496 msgid "tooltip.table.downhill" msgstr "Bergab" -#: fietsboek/models/track.py:395 +#: fietsboek/models/track.py:497 msgid "tooltip.table.moving_time" msgstr "Fahrzeit" -#: fietsboek/models/track.py:396 +#: fietsboek/models/track.py:498 msgid "tooltip.table.stopped_time" msgstr "Haltezeit" -#: fietsboek/models/track.py:397 +#: fietsboek/models/track.py:499 msgid "tooltip.table.max_speed" msgstr "Maximalgeschwindigkeit" -#: fietsboek/models/track.py:399 +#: fietsboek/models/track.py:501 msgid "tooltip.table.avg_speed" msgstr "Durchschnittsgeschwindigkeit" @@ -126,6 +126,12 @@ msgstr "maximale Geschwindigkeit" msgid "page.details.avg_speed" msgstr "durchschnittliche Geschwindigkeit" +#: fietsboek/templates/browse.jinja2:59 +msgid "page.browse.no_tracks" +msgstr "" +"Es wurden keine Strecken gefunden, auf die Du Zugriff hast. " +"Versuche, Dich anzumelden." + #: fietsboek/templates/create_account.jinja2:4 msgid "page.create_account.title" msgstr "Konto Erstellen" @@ -201,33 +207,35 @@ msgstr "Schlagwörter" #: fietsboek/templates/details.jinja2:53 fietsboek/templates/edit.jinja2:9 #: fietsboek/templates/finish_upload.jinja2:9 msgid "page.noscript" -msgstr "JavaScript ist deaktiviert, zum Nutzen aller Funktionen bitte JavaScript aktivieren" +msgstr "" +"JavaScript ist deaktiviert, zum Nutzen aller Funktionen bitte JavaScript " +"aktivieren" #: fietsboek/templates/details.jinja2:58 msgid "page.details.download" msgstr "Herunterladen" -#: fietsboek/templates/details.jinja2:115 +#: fietsboek/templates/details.jinja2:117 msgid "page.details.comments" msgstr "Kommentare" -#: fietsboek/templates/details.jinja2:119 +#: fietsboek/templates/details.jinja2:121 msgid "page.details.comments.author" msgstr "Kommentar von {}" -#: fietsboek/templates/details.jinja2:136 +#: fietsboek/templates/details.jinja2:138 msgid "page.details.comments.new.title" msgstr "Kommentar erstellen" -#: fietsboek/templates/details.jinja2:139 +#: fietsboek/templates/details.jinja2:141 msgid "page.details.comments.new.input_title" msgstr "Titel" -#: fietsboek/templates/details.jinja2:140 +#: fietsboek/templates/details.jinja2:142 msgid "page.details.comments.new.input_comment" msgstr "Kommentar" -#: fietsboek/templates/details.jinja2:143 +#: fietsboek/templates/details.jinja2:145 msgid "page.details.comments.new.submit" msgstr "Absenden" @@ -251,57 +259,57 @@ msgstr "Titel" msgid "page.track.form.date" msgstr "Datum" -#: fietsboek/templates/edit_form.jinja2:11 +#: fietsboek/templates/edit_form.jinja2:12 msgid "page.track.form.visibility" msgstr "Sichtbarkeit" -#: fietsboek/templates/edit_form.jinja2:13 +#: fietsboek/templates/edit_form.jinja2:14 msgid "page.track.form.visibility.private" msgstr "Privat" -#: fietsboek/templates/edit_form.jinja2:14 +#: fietsboek/templates/edit_form.jinja2:15 msgid "page.track.form.visibility.friends" msgstr "Nur Freunde" -#: fietsboek/templates/edit_form.jinja2:15 +#: fietsboek/templates/edit_form.jinja2:16 msgid "page.track.form.visibility.friends_tagged" msgstr "Nur Freunde von markierten Personen" -#: fietsboek/templates/edit_form.jinja2:16 +#: fietsboek/templates/edit_form.jinja2:17 msgid "page.track.form.visibility.logged_in" msgstr "Angemeldete Nutzer" -#: fietsboek/templates/edit_form.jinja2:17 +#: fietsboek/templates/edit_form.jinja2:18 msgid "page.track.form.visibility.public" msgstr "Öffentlich" -#: fietsboek/templates/edit_form.jinja2:20 +#: fietsboek/templates/edit_form.jinja2:21 msgid "page.track.form.visibility.info" msgstr "" -"Beachte, dass markierte Personen und Personen mit Zugang zum 'Teilen'-Link" -" die Strecke jederzeit sehen können." +"Beachte, dass markierte Personen und Personen mit Zugang zum " +"'Teilen'-Link die Strecke jederzeit sehen können." -#: fietsboek/templates/edit_form.jinja2:24 +#: fietsboek/templates/edit_form.jinja2:25 msgid "page.track.form.tags" msgstr "Schlagwörter" -#: fietsboek/templates/edit_form.jinja2:35 +#: fietsboek/templates/edit_form.jinja2:36 msgid "page.track.form.add_tag" msgstr "Schlagwort hinzufügen" -#: fietsboek/templates/edit_form.jinja2:40 +#: fietsboek/templates/edit_form.jinja2:41 msgid "page.track.form.tagged_people" msgstr "Markierte Personen" -#: fietsboek/templates/edit_form.jinja2:55 +#: fietsboek/templates/edit_form.jinja2:56 msgid "page.track.form.add_friend" msgstr "Freund suchen" -#: fietsboek/templates/edit_form.jinja2:75 +#: fietsboek/templates/edit_form.jinja2:76 msgid "page.track.form.badges" msgstr "Wappen" -#: fietsboek/templates/edit_form.jinja2:86 +#: fietsboek/templates/edit_form.jinja2:87 msgid "page.track.form.description" msgstr "Beschreibung" @@ -327,39 +335,39 @@ msgstr "Startseite" msgid "page.home.total" msgstr "Gesamt" -#: fietsboek/templates/layout.jinja2:37 +#: fietsboek/templates/layout.jinja2:31 msgid "page.navbar.toggle" msgstr "Navigation umschalten" -#: fietsboek/templates/layout.jinja2:43 +#: fietsboek/templates/layout.jinja2:37 msgid "page.navbar.home" msgstr "Startseite" -#: fietsboek/templates/layout.jinja2:46 +#: fietsboek/templates/layout.jinja2:40 msgid "page.navbar.browse" msgstr "Stöbern" -#: fietsboek/templates/layout.jinja2:50 +#: fietsboek/templates/layout.jinja2:44 msgid "page.navbar.login" msgstr "Anmelden" -#: fietsboek/templates/layout.jinja2:54 +#: fietsboek/templates/layout.jinja2:48 msgid "page.navbar.create_account" msgstr "Konto Erstellen" -#: fietsboek/templates/layout.jinja2:59 +#: fietsboek/templates/layout.jinja2:53 msgid "page.navbar.logout" msgstr "Abmelden" -#: fietsboek/templates/layout.jinja2:62 +#: fietsboek/templates/layout.jinja2:56 msgid "page.navbar.upload" msgstr "Hochladen" -#: fietsboek/templates/layout.jinja2:65 +#: fietsboek/templates/layout.jinja2:59 msgid "page.navbar.profile" msgstr "Profil" -#: fietsboek/templates/layout.jinja2:69 +#: fietsboek/templates/layout.jinja2:63 msgid "page.navbar.admin" msgstr "Admin" @@ -387,23 +395,23 @@ msgstr "Passwort vergessen" msgid "page.password_reset.title" msgstr "Passwort Zurücksetzen" -#: fietsboek/templates/password_reset.jinja2:7 +#: fietsboek/templates/password_reset.jinja2:10 msgid "page.password_reset.password" msgstr "Passwort" -#: fietsboek/templates/password_reset.jinja2:11 +#: fietsboek/templates/password_reset.jinja2:12 msgid "page.password_reset.password_invalid" msgstr "Passwort zu kurz" -#: fietsboek/templates/password_reset.jinja2:16 +#: fietsboek/templates/password_reset.jinja2:21 msgid "page.password_reset.repeat_password" msgstr "Passwort wiederholen" -#: fietsboek/templates/password_reset.jinja2:20 +#: fietsboek/templates/password_reset.jinja2:23 msgid "page.password_reset.password_mismatch" msgstr "Passwörter stimmen nicht überein" -#: fietsboek/templates/password_reset.jinja2:24 +#: fietsboek/templates/password_reset.jinja2:28 msgid "page.password_reset.reset" msgstr "Zurücksetzen" @@ -466,10 +474,10 @@ msgstr "Passwortzurücksetzung Beantragen" #: fietsboek/templates/request_password.jinja2:5 msgid "page.request_password.info" msgstr "" -"Wenn Du Dein Passwort vergessen hast, kannst Du Deine E-Mail-Adresse hier " -"eingeben und einen Link zum Zurücksetzen Deines Passworts erhalten." +"Wenn Du Dein Passwort vergessen hast, kannst Du Deine E-Mail-Adresse hier" +" eingeben und einen Link zum Zurücksetzen Deines Passworts erhalten." -#: fietsboek/templates/request_password.jinja2:9 +#: fietsboek/templates/request_password.jinja2:11 msgid "page.request_password.email" msgstr "E-Mail-Adresse" @@ -516,47 +524,47 @@ msgstr "Wappen bearbeitet" msgid "flash.badge_deleted" msgstr "Wappen gelöscht" -#: fietsboek/views/default.py:68 +#: fietsboek/views/default.py:72 msgid "flash.invalid_credentials" msgstr "Ungültige Nutzerdaten" -#: fietsboek/views/default.py:72 +#: fietsboek/views/default.py:76 msgid "flash.account_not_verified" msgstr "Konto noch nicht bestätigt" -#: fietsboek/views/default.py:75 +#: fietsboek/views/default.py:79 msgid "flash.logged_in" msgstr "Du bist nun angemeldet" -#: fietsboek/views/default.py:89 +#: fietsboek/views/default.py:93 msgid "flash.logged_out" msgstr "Du bist nun abgemeldet" -#: fietsboek/views/default.py:120 +#: fietsboek/views/default.py:124 msgid "flash.reset_invalid_email" msgstr "Ungültige E-Mail-Adresse angegeben" -#: fietsboek/views/default.py:125 +#: fietsboek/views/default.py:129 msgid "flash.password_token_generated" msgstr "Ein Link zum Zurücksetzen des Passworts wurde versandt" -#: fietsboek/views/default.py:130 +#: fietsboek/views/default.py:134 msgid "page.password_reset.email.subject" msgstr "Fietsboek Passwortzurücksetzung" -#: fietsboek/views/default.py:135 +#: fietsboek/views/default.py:139 msgid "page.password_reset.email.body" msgstr "" "Du kannst Dein Fietsboek-Passwort hier zurücksetzen: {}\n" "\n" -"Falls Du keine Passwortzurücksetzung beantragt hast, dann ignoriere " -"diese E-Mail." +"Falls Du keine Passwortzurücksetzung beantragt hast, dann ignoriere diese" +" E-Mail." -#: fietsboek/views/default.py:162 +#: fietsboek/views/default.py:166 msgid "flash.email_verified" msgstr "E-Mail-Adresse bestätigt" -#: fietsboek/views/default.py:176 +#: fietsboek/views/default.py:180 msgid "flash.password_updated" msgstr "Passwort aktualisiert" @@ -588,11 +596,11 @@ msgstr "Keine Datei ausgewählt" msgid "flash.invalid_file" msgstr "Ungültige GPX-Datei gesendet" -#: fietsboek/views/upload.py:165 +#: fietsboek/views/upload.py:167 msgid "flash.upload_success" msgstr "Hochladen erfolgreich" -#: fietsboek/views/upload.py:183 +#: fietsboek/views/upload.py:182 msgid "flash.upload_cancelled" msgstr "Hochladen abgebrochen" diff --git a/fietsboek/locale/en/LC_MESSAGES/messages.mo b/fietsboek/locale/en/LC_MESSAGES/messages.mo Binary files differindex 295f7eb..204c327 100644 --- a/fietsboek/locale/en/LC_MESSAGES/messages.mo +++ b/fietsboek/locale/en/LC_MESSAGES/messages.mo diff --git a/fietsboek/locale/en/LC_MESSAGES/messages.po b/fietsboek/locale/en/LC_MESSAGES/messages.po index 29c413e..414fc7b 100644 --- a/fietsboek/locale/en/LC_MESSAGES/messages.po +++ b/fietsboek/locale/en/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-02 17:35+0200\n" +"POT-Creation-Date: 2022-07-07 23:27+0200\n" "PO-Revision-Date: 2022-06-28 13:11+0200\n" "Last-Translator: \n" "Language: en\n" @@ -18,39 +18,39 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.10.3\n" -#: fietsboek/util.py:157 +#: fietsboek/util.py:261 msgid "password_constraint.mismatch" msgstr "Passwords don't match" -#: fietsboek/util.py:159 +#: fietsboek/util.py:263 msgid "password_constraint.length" msgstr "Password not long enough" -#: fietsboek/models/track.py:392 +#: fietsboek/models/track.py:494 msgid "tooltip.table.length" msgstr "Length" -#: fietsboek/models/track.py:393 +#: fietsboek/models/track.py:495 msgid "tooltip.table.uphill" msgstr "Uphill" -#: fietsboek/models/track.py:394 +#: fietsboek/models/track.py:496 msgid "tooltip.table.downhill" msgstr "Downhill" -#: fietsboek/models/track.py:395 +#: fietsboek/models/track.py:497 msgid "tooltip.table.moving_time" msgstr "Moving Time" -#: fietsboek/models/track.py:396 +#: fietsboek/models/track.py:498 msgid "tooltip.table.stopped_time" msgstr "Stopped Time" -#: fietsboek/models/track.py:397 +#: fietsboek/models/track.py:499 msgid "tooltip.table.max_speed" msgstr "Max Speed" -#: fietsboek/models/track.py:399 +#: fietsboek/models/track.py:501 msgid "tooltip.table.avg_speed" msgstr "Average Speed" @@ -126,6 +126,10 @@ msgstr "Max Speed" msgid "page.details.avg_speed" msgstr "Average Speed" +#: fietsboek/templates/browse.jinja2:59 +msgid "page.browse.no_tracks" +msgstr "You currently do not have access to any tracks. Try logging in." + #: fietsboek/templates/create_account.jinja2:4 msgid "page.create_account.title" msgstr "Create Account" @@ -207,27 +211,27 @@ msgstr "JavaScript is disabled, please enable JavaScript" msgid "page.details.download" msgstr "Download Tour" -#: fietsboek/templates/details.jinja2:115 +#: fietsboek/templates/details.jinja2:117 msgid "page.details.comments" msgstr "Comments" -#: fietsboek/templates/details.jinja2:119 +#: fietsboek/templates/details.jinja2:121 msgid "page.details.comments.author" msgstr "Comment by {}" -#: fietsboek/templates/details.jinja2:136 +#: fietsboek/templates/details.jinja2:138 msgid "page.details.comments.new.title" msgstr "Create a new comment" -#: fietsboek/templates/details.jinja2:139 +#: fietsboek/templates/details.jinja2:141 msgid "page.details.comments.new.input_title" msgstr "Title" -#: fietsboek/templates/details.jinja2:140 +#: fietsboek/templates/details.jinja2:142 msgid "page.details.comments.new.input_comment" msgstr "Comment" -#: fietsboek/templates/details.jinja2:143 +#: fietsboek/templates/details.jinja2:145 msgid "page.details.comments.new.submit" msgstr "Submit" @@ -251,57 +255,57 @@ msgstr "Title" msgid "page.track.form.date" msgstr "Date" -#: fietsboek/templates/edit_form.jinja2:11 +#: fietsboek/templates/edit_form.jinja2:12 msgid "page.track.form.visibility" msgstr "Visibility" -#: fietsboek/templates/edit_form.jinja2:13 +#: fietsboek/templates/edit_form.jinja2:14 msgid "page.track.form.visibility.private" msgstr "Private" -#: fietsboek/templates/edit_form.jinja2:14 +#: fietsboek/templates/edit_form.jinja2:15 msgid "page.track.form.visibility.friends" msgstr "Friends only" -#: fietsboek/templates/edit_form.jinja2:15 +#: fietsboek/templates/edit_form.jinja2:16 msgid "page.track.form.visibility.friends_tagged" msgstr "Friends of all tagged people" -#: fietsboek/templates/edit_form.jinja2:16 +#: fietsboek/templates/edit_form.jinja2:17 msgid "page.track.form.visibility.logged_in" msgstr "Logged in users" -#: fietsboek/templates/edit_form.jinja2:17 +#: fietsboek/templates/edit_form.jinja2:18 msgid "page.track.form.visibility.public" msgstr "Public" -#: fietsboek/templates/edit_form.jinja2:20 +#: fietsboek/templates/edit_form.jinja2:21 msgid "page.track.form.visibility.info" msgstr "" "Note that tagged people and people with the share link can always view " "the track." -#: fietsboek/templates/edit_form.jinja2:24 +#: fietsboek/templates/edit_form.jinja2:25 msgid "page.track.form.tags" msgstr "Tags" -#: fietsboek/templates/edit_form.jinja2:35 +#: fietsboek/templates/edit_form.jinja2:36 msgid "page.track.form.add_tag" msgstr "Add Tag" -#: fietsboek/templates/edit_form.jinja2:40 +#: fietsboek/templates/edit_form.jinja2:41 msgid "page.track.form.tagged_people" msgstr "Tagged People" -#: fietsboek/templates/edit_form.jinja2:55 +#: fietsboek/templates/edit_form.jinja2:56 msgid "page.track.form.add_friend" msgstr "Search friends" -#: fietsboek/templates/edit_form.jinja2:75 +#: fietsboek/templates/edit_form.jinja2:76 msgid "page.track.form.badges" msgstr "Badges" -#: fietsboek/templates/edit_form.jinja2:86 +#: fietsboek/templates/edit_form.jinja2:87 msgid "page.track.form.description" msgstr "Description" @@ -327,39 +331,39 @@ msgstr "Home" msgid "page.home.total" msgstr "Total" -#: fietsboek/templates/layout.jinja2:37 +#: fietsboek/templates/layout.jinja2:31 msgid "page.navbar.toggle" msgstr "Toggle navigation" -#: fietsboek/templates/layout.jinja2:43 +#: fietsboek/templates/layout.jinja2:37 msgid "page.navbar.home" msgstr "Home" -#: fietsboek/templates/layout.jinja2:46 +#: fietsboek/templates/layout.jinja2:40 msgid "page.navbar.browse" msgstr "Browse" -#: fietsboek/templates/layout.jinja2:50 +#: fietsboek/templates/layout.jinja2:44 msgid "page.navbar.login" msgstr "Login" -#: fietsboek/templates/layout.jinja2:54 +#: fietsboek/templates/layout.jinja2:48 msgid "page.navbar.create_account" msgstr "Create Account" -#: fietsboek/templates/layout.jinja2:59 +#: fietsboek/templates/layout.jinja2:53 msgid "page.navbar.logout" msgstr "Logout" -#: fietsboek/templates/layout.jinja2:62 +#: fietsboek/templates/layout.jinja2:56 msgid "page.navbar.upload" msgstr "Upload" -#: fietsboek/templates/layout.jinja2:65 +#: fietsboek/templates/layout.jinja2:59 msgid "page.navbar.profile" msgstr "Profile" -#: fietsboek/templates/layout.jinja2:69 +#: fietsboek/templates/layout.jinja2:63 msgid "page.navbar.admin" msgstr "Admin" @@ -387,23 +391,23 @@ msgstr "Forgot password" msgid "page.password_reset.title" msgstr "Reset Your Password" -#: fietsboek/templates/password_reset.jinja2:7 +#: fietsboek/templates/password_reset.jinja2:10 msgid "page.password_reset.password" msgstr "Password" -#: fietsboek/templates/password_reset.jinja2:11 +#: fietsboek/templates/password_reset.jinja2:12 msgid "page.password_reset.password_invalid" msgstr "Password not long enough" -#: fietsboek/templates/password_reset.jinja2:16 +#: fietsboek/templates/password_reset.jinja2:21 msgid "page.password_reset.repeat_password" msgstr "Repeat password" -#: fietsboek/templates/password_reset.jinja2:20 +#: fietsboek/templates/password_reset.jinja2:23 msgid "page.password_reset.password_mismatch" msgstr "Passwords must match" -#: fietsboek/templates/password_reset.jinja2:24 +#: fietsboek/templates/password_reset.jinja2:28 msgid "page.password_reset.reset" msgstr "Reset" @@ -469,7 +473,7 @@ msgstr "" "If you forgot your password, you can type in your email address below and" " receive a link to reset your password" -#: fietsboek/templates/request_password.jinja2:9 +#: fietsboek/templates/request_password.jinja2:11 msgid "page.request_password.email" msgstr "Email" @@ -516,46 +520,46 @@ msgstr "Badge has been modified" msgid "flash.badge_deleted" msgstr "Badge has been deleted" -#: fietsboek/views/default.py:68 +#: fietsboek/views/default.py:72 msgid "flash.invalid_credentials" msgstr "Invalid login credentials" -#: fietsboek/views/default.py:72 +#: fietsboek/views/default.py:76 msgid "flash.account_not_verified" msgstr "Your account is not verified yet" -#: fietsboek/views/default.py:75 +#: fietsboek/views/default.py:79 msgid "flash.logged_in" msgstr "You are now logged in" -#: fietsboek/views/default.py:89 +#: fietsboek/views/default.py:93 msgid "flash.logged_out" msgstr "You have been logged out" -#: fietsboek/views/default.py:120 +#: fietsboek/views/default.py:124 msgid "flash.reset_invalid_email" msgstr "Invalid email address provided" -#: fietsboek/views/default.py:125 +#: fietsboek/views/default.py:129 msgid "flash.password_token_generated" msgstr "A password reset email has been sent" -#: fietsboek/views/default.py:130 +#: fietsboek/views/default.py:134 msgid "page.password_reset.email.subject" msgstr "Fietsboek Password Reset" -#: fietsboek/views/default.py:135 +#: fietsboek/views/default.py:139 msgid "page.password_reset.email.body" msgstr "" "You can reset your Fietsboek password here: {}\n" "\n" "If you did not request a password reset, ignore this email." -#: fietsboek/views/default.py:162 +#: fietsboek/views/default.py:166 msgid "flash.email_verified" msgstr "Your email address has been verified" -#: fietsboek/views/default.py:176 +#: fietsboek/views/default.py:180 msgid "flash.password_updated" msgstr "Password has been updated" @@ -587,11 +591,11 @@ msgstr "No file selected" msgid "flash.invalid_file" msgstr "Invalid GPX file selected" -#: fietsboek/views/upload.py:165 +#: fietsboek/views/upload.py:167 msgid "flash.upload_success" msgstr "Upload successful" -#: fietsboek/views/upload.py:183 +#: fietsboek/views/upload.py:182 msgid "flash.upload_cancelled" msgstr "Upload cancelled" diff --git a/fietsboek/locale/fietslog.pot b/fietsboek/locale/fietslog.pot index 89f21bc..e3cebbb 100644 --- a/fietsboek/locale/fietslog.pot +++ b/fietsboek/locale/fietslog.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-07-02 17:35+0200\n" +"POT-Creation-Date: 2022-07-07 23:27+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -17,39 +17,39 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.10.3\n" -#: fietsboek/util.py:157 +#: fietsboek/util.py:261 msgid "password_constraint.mismatch" msgstr "" -#: fietsboek/util.py:159 +#: fietsboek/util.py:263 msgid "password_constraint.length" msgstr "" -#: fietsboek/models/track.py:392 +#: fietsboek/models/track.py:494 msgid "tooltip.table.length" msgstr "" -#: fietsboek/models/track.py:393 +#: fietsboek/models/track.py:495 msgid "tooltip.table.uphill" msgstr "" -#: fietsboek/models/track.py:394 +#: fietsboek/models/track.py:496 msgid "tooltip.table.downhill" msgstr "" -#: fietsboek/models/track.py:395 +#: fietsboek/models/track.py:497 msgid "tooltip.table.moving_time" msgstr "" -#: fietsboek/models/track.py:396 +#: fietsboek/models/track.py:498 msgid "tooltip.table.stopped_time" msgstr "" -#: fietsboek/models/track.py:397 +#: fietsboek/models/track.py:499 msgid "tooltip.table.max_speed" msgstr "" -#: fietsboek/models/track.py:399 +#: fietsboek/models/track.py:501 msgid "tooltip.table.avg_speed" msgstr "" @@ -125,6 +125,10 @@ msgstr "" msgid "page.details.avg_speed" msgstr "" +#: fietsboek/templates/browse.jinja2:59 +msgid "page.browse.no_tracks" +msgstr "" + #: fietsboek/templates/create_account.jinja2:4 msgid "page.create_account.title" msgstr "" @@ -206,27 +210,27 @@ msgstr "" msgid "page.details.download" msgstr "" -#: fietsboek/templates/details.jinja2:115 +#: fietsboek/templates/details.jinja2:117 msgid "page.details.comments" msgstr "" -#: fietsboek/templates/details.jinja2:119 +#: fietsboek/templates/details.jinja2:121 msgid "page.details.comments.author" msgstr "" -#: fietsboek/templates/details.jinja2:136 +#: fietsboek/templates/details.jinja2:138 msgid "page.details.comments.new.title" msgstr "" -#: fietsboek/templates/details.jinja2:139 +#: fietsboek/templates/details.jinja2:141 msgid "page.details.comments.new.input_title" msgstr "" -#: fietsboek/templates/details.jinja2:140 +#: fietsboek/templates/details.jinja2:142 msgid "page.details.comments.new.input_comment" msgstr "" -#: fietsboek/templates/details.jinja2:143 +#: fietsboek/templates/details.jinja2:145 msgid "page.details.comments.new.submit" msgstr "" @@ -250,55 +254,55 @@ msgstr "" msgid "page.track.form.date" msgstr "" -#: fietsboek/templates/edit_form.jinja2:11 +#: fietsboek/templates/edit_form.jinja2:12 msgid "page.track.form.visibility" msgstr "" -#: fietsboek/templates/edit_form.jinja2:13 +#: fietsboek/templates/edit_form.jinja2:14 msgid "page.track.form.visibility.private" msgstr "" -#: fietsboek/templates/edit_form.jinja2:14 +#: fietsboek/templates/edit_form.jinja2:15 msgid "page.track.form.visibility.friends" msgstr "" -#: fietsboek/templates/edit_form.jinja2:15 +#: fietsboek/templates/edit_form.jinja2:16 msgid "page.track.form.visibility.friends_tagged" msgstr "" -#: fietsboek/templates/edit_form.jinja2:16 +#: fietsboek/templates/edit_form.jinja2:17 msgid "page.track.form.visibility.logged_in" msgstr "" -#: fietsboek/templates/edit_form.jinja2:17 +#: fietsboek/templates/edit_form.jinja2:18 msgid "page.track.form.visibility.public" msgstr "" -#: fietsboek/templates/edit_form.jinja2:20 +#: fietsboek/templates/edit_form.jinja2:21 msgid "page.track.form.visibility.info" msgstr "" -#: fietsboek/templates/edit_form.jinja2:24 +#: fietsboek/templates/edit_form.jinja2:25 msgid "page.track.form.tags" msgstr "" -#: fietsboek/templates/edit_form.jinja2:35 +#: fietsboek/templates/edit_form.jinja2:36 msgid "page.track.form.add_tag" msgstr "" -#: fietsboek/templates/edit_form.jinja2:40 +#: fietsboek/templates/edit_form.jinja2:41 msgid "page.track.form.tagged_people" msgstr "" -#: fietsboek/templates/edit_form.jinja2:55 +#: fietsboek/templates/edit_form.jinja2:56 msgid "page.track.form.add_friend" msgstr "" -#: fietsboek/templates/edit_form.jinja2:75 +#: fietsboek/templates/edit_form.jinja2:76 msgid "page.track.form.badges" msgstr "" -#: fietsboek/templates/edit_form.jinja2:86 +#: fietsboek/templates/edit_form.jinja2:87 msgid "page.track.form.description" msgstr "" @@ -324,39 +328,39 @@ msgstr "" msgid "page.home.total" msgstr "" -#: fietsboek/templates/layout.jinja2:37 +#: fietsboek/templates/layout.jinja2:31 msgid "page.navbar.toggle" msgstr "" -#: fietsboek/templates/layout.jinja2:43 +#: fietsboek/templates/layout.jinja2:37 msgid "page.navbar.home" msgstr "" -#: fietsboek/templates/layout.jinja2:46 +#: fietsboek/templates/layout.jinja2:40 msgid "page.navbar.browse" msgstr "" -#: fietsboek/templates/layout.jinja2:50 +#: fietsboek/templates/layout.jinja2:44 msgid "page.navbar.login" msgstr "" -#: fietsboek/templates/layout.jinja2:54 +#: fietsboek/templates/layout.jinja2:48 msgid "page.navbar.create_account" msgstr "" -#: fietsboek/templates/layout.jinja2:59 +#: fietsboek/templates/layout.jinja2:53 msgid "page.navbar.logout" msgstr "" -#: fietsboek/templates/layout.jinja2:62 +#: fietsboek/templates/layout.jinja2:56 msgid "page.navbar.upload" msgstr "" -#: fietsboek/templates/layout.jinja2:65 +#: fietsboek/templates/layout.jinja2:59 msgid "page.navbar.profile" msgstr "" -#: fietsboek/templates/layout.jinja2:69 +#: fietsboek/templates/layout.jinja2:63 msgid "page.navbar.admin" msgstr "" @@ -384,23 +388,23 @@ msgstr "" msgid "page.password_reset.title" msgstr "" -#: fietsboek/templates/password_reset.jinja2:7 +#: fietsboek/templates/password_reset.jinja2:10 msgid "page.password_reset.password" msgstr "" -#: fietsboek/templates/password_reset.jinja2:11 +#: fietsboek/templates/password_reset.jinja2:12 msgid "page.password_reset.password_invalid" msgstr "" -#: fietsboek/templates/password_reset.jinja2:16 +#: fietsboek/templates/password_reset.jinja2:21 msgid "page.password_reset.repeat_password" msgstr "" -#: fietsboek/templates/password_reset.jinja2:20 +#: fietsboek/templates/password_reset.jinja2:23 msgid "page.password_reset.password_mismatch" msgstr "" -#: fietsboek/templates/password_reset.jinja2:24 +#: fietsboek/templates/password_reset.jinja2:28 msgid "page.password_reset.reset" msgstr "" @@ -464,7 +468,7 @@ msgstr "" msgid "page.request_password.info" msgstr "" -#: fietsboek/templates/request_password.jinja2:9 +#: fietsboek/templates/request_password.jinja2:11 msgid "page.request_password.email" msgstr "" @@ -508,43 +512,43 @@ msgstr "" msgid "flash.badge_deleted" msgstr "" -#: fietsboek/views/default.py:68 +#: fietsboek/views/default.py:72 msgid "flash.invalid_credentials" msgstr "" -#: fietsboek/views/default.py:72 +#: fietsboek/views/default.py:76 msgid "flash.account_not_verified" msgstr "" -#: fietsboek/views/default.py:75 +#: fietsboek/views/default.py:79 msgid "flash.logged_in" msgstr "" -#: fietsboek/views/default.py:89 +#: fietsboek/views/default.py:93 msgid "flash.logged_out" msgstr "" -#: fietsboek/views/default.py:120 +#: fietsboek/views/default.py:124 msgid "flash.reset_invalid_email" msgstr "" -#: fietsboek/views/default.py:125 +#: fietsboek/views/default.py:129 msgid "flash.password_token_generated" msgstr "" -#: fietsboek/views/default.py:130 +#: fietsboek/views/default.py:134 msgid "page.password_reset.email.subject" msgstr "" -#: fietsboek/views/default.py:135 +#: fietsboek/views/default.py:139 msgid "page.password_reset.email.body" msgstr "" -#: fietsboek/views/default.py:162 +#: fietsboek/views/default.py:166 msgid "flash.email_verified" msgstr "" -#: fietsboek/views/default.py:176 +#: fietsboek/views/default.py:180 msgid "flash.password_updated" msgstr "" @@ -576,11 +580,11 @@ msgstr "" msgid "flash.invalid_file" msgstr "" -#: fietsboek/views/upload.py:165 +#: fietsboek/views/upload.py:167 msgid "flash.upload_success" msgstr "" -#: fietsboek/views/upload.py:183 +#: fietsboek/views/upload.py:182 msgid "flash.upload_cancelled" msgstr "" diff --git a/fietsboek/templates/browse.jinja2 b/fietsboek/templates/browse.jinja2 index 117315a..10b16e3 100644 --- a/fietsboek/templates/browse.jinja2 +++ b/fietsboek/templates/browse.jinja2 @@ -55,5 +55,8 @@ </div> </div> {% endfor %} + {% if not tracks %} + <p>{{ _("page.browse.no_tracks") }}</p> + {% endif %} </div> {% endblock %} |