From 4f8834e4096f97e43eea6166501caa0b03decef3 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Fri, 1 Jul 2022 16:00:44 +0200 Subject: update messages --- fietsboek/locale/en/LC_MESSAGES/messages.mo | Bin 7015 -> 7724 bytes fietsboek/locale/en/LC_MESSAGES/messages.po | 98 ++++++++++++++++++++-------- fietsboek/locale/fietslog.pot | 98 ++++++++++++++++++++-------- 3 files changed, 138 insertions(+), 58 deletions(-) diff --git a/fietsboek/locale/en/LC_MESSAGES/messages.mo b/fietsboek/locale/en/LC_MESSAGES/messages.mo index ee8faaa..a50807b 100644 Binary files a/fietsboek/locale/en/LC_MESSAGES/messages.mo and b/fietsboek/locale/en/LC_MESSAGES/messages.mo differ diff --git a/fietsboek/locale/en/LC_MESSAGES/messages.po b/fietsboek/locale/en/LC_MESSAGES/messages.po index ff05525..b975110 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-01 13:29+0200\n" +"POT-Creation-Date: 2022-07-01 15:57+0200\n" "PO-Revision-Date: 2022-06-28 13:11+0200\n" "Last-Translator: \n" "Language: en\n" @@ -66,31 +66,39 @@ msgstr "November" msgid "month.december" msgstr "December" -#: fietsboek/models/track.py:319 +#: fietsboek/util.py:155 +msgid "password_constraint.mismatch" +msgstr "Passwords don't match" + +#: fietsboek/util.py:157 +msgid "password_constraint.length" +msgstr "Password not long enough" + +#: fietsboek/models/track.py:381 msgid "tooltip.table.length" msgstr "Length" -#: fietsboek/models/track.py:320 +#: fietsboek/models/track.py:382 msgid "tooltip.table.uphill" msgstr "Uphill" -#: fietsboek/models/track.py:321 +#: fietsboek/models/track.py:383 msgid "tooltip.table.downhill" msgstr "Downhill" -#: fietsboek/models/track.py:322 +#: fietsboek/models/track.py:384 msgid "tooltip.table.moving_time" msgstr "Moving Time" -#: fietsboek/models/track.py:323 +#: fietsboek/models/track.py:385 msgid "tooltip.table.stopped_time" msgstr "Stopped Time" -#: fietsboek/models/track.py:324 +#: fietsboek/models/track.py:386 msgid "tooltip.table.max_speed" msgstr "Max Speed" -#: fietsboek/models/track.py:326 +#: fietsboek/models/track.py:388 msgid "tooltip.table.avg_speed" msgstr "Average Speed" @@ -207,6 +215,26 @@ msgstr "Average Speed" msgid "page.details.comments" msgstr "Comments" +#: fietsboek/templates/details.jinja2:119 +msgid "page.details.comments.author" +msgstr "Comment by {}" + +#: fietsboek/templates/details.jinja2:136 +msgid "page.details.comments.new.title" +msgstr "Create a new comment" + +#: fietsboek/templates/details.jinja2:139 +msgid "page.details.comments.new.input_title" +msgstr "Title" + +#: fietsboek/templates/details.jinja2:140 +msgid "page.details.comments.new.input_comment" +msgstr "Comment" + +#: fietsboek/templates/details.jinja2:143 +msgid "page.details.comments.new.submit" +msgstr "Submit" + #: fietsboek/templates/edit.jinja2:7 msgid "page.edit.title" msgstr "Edit Track" @@ -347,11 +375,19 @@ msgstr "Reset Your Password" msgid "page.password_reset.password" msgstr "Password" -#: fietsboek/templates/password_reset.jinja2:13 +#: fietsboek/templates/password_reset.jinja2:11 +msgid "page.password_reset.password_invalid" +msgstr "Password not long enough" + +#: fietsboek/templates/password_reset.jinja2:16 msgid "page.password_reset.repeat_password" msgstr "Repeat password" -#: fietsboek/templates/password_reset.jinja2:18 +#: fietsboek/templates/password_reset.jinja2:20 +msgid "page.password_reset.password_mismatch" +msgstr "Passwords must match" + +#: fietsboek/templates/password_reset.jinja2:24 msgid "page.password_reset.reset" msgstr "Reset" @@ -371,31 +407,39 @@ msgstr "My name" msgid "page.my_profile.personal_data.password" msgstr "Password" -#: fietsboek/templates/profile.jinja2:25 +#: fietsboek/templates/profile.jinja2:23 +msgid "page.my_profile.personal_data.password_invalid" +msgstr "Password not long enough" + +#: fietsboek/templates/profile.jinja2:28 msgid "page.my_profile.personal_data.repeat_password" msgstr "Repeat password" -#: fietsboek/templates/profile.jinja2:30 +#: fietsboek/templates/profile.jinja2:32 +msgid "page.my_profile.personal_data.password_must_match" +msgstr "Passwords must match" + +#: fietsboek/templates/profile.jinja2:36 msgid "page.my_profile.personal_data.save" msgstr "Save" -#: fietsboek/templates/profile.jinja2:35 +#: fietsboek/templates/profile.jinja2:41 msgid "page.my_profile.friends" msgstr "Friends" -#: fietsboek/templates/profile.jinja2:42 +#: fietsboek/templates/profile.jinja2:48 msgid "page.my_profile.unfriend" msgstr "Unfriend" -#: fietsboek/templates/profile.jinja2:51 +#: fietsboek/templates/profile.jinja2:57 msgid "page.my_profile.accept_friend" msgstr "Accept" -#: fietsboek/templates/profile.jinja2:64 +#: fietsboek/templates/profile.jinja2:70 msgid "page.my_profile.friend_request_email" msgstr "Email of the friend" -#: fietsboek/templates/profile.jinja2:70 +#: fietsboek/templates/profile.jinja2:76 msgid "page.my_profile.send_friend_request" msgstr "Send friend request" @@ -468,31 +512,27 @@ msgstr "" msgid "flash.email_verified" msgstr "Your email address has been verified" -#: fietsboek/views/default.py:163 fietsboek/views/profile.py:48 -msgid "flash.password_mismatch" -msgstr "Passwords don't match" - -#: fietsboek/views/default.py:168 +#: fietsboek/views/default.py:171 msgid "flash.password_updated" msgstr "Password has been updated" -#: fietsboek/views/profile.py:54 +#: fietsboek/views/profile.py:57 msgid "flash.personal_data_updated" msgstr "Personal data has been updated" -#: fietsboek/views/profile.py:75 +#: fietsboek/views/profile.py:78 msgid "flash.friend_not_found" msgstr "The friend was not found" -#: fietsboek/views/profile.py:80 +#: fietsboek/views/profile.py:83 msgid "flash.friend_already_exists" msgstr "Friend already exists" -#: fietsboek/views/profile.py:88 +#: fietsboek/views/profile.py:91 msgid "flash.friend_added" msgstr "Friend has been added" -#: fietsboek/views/profile.py:98 +#: fietsboek/views/profile.py:101 msgid "flash.friend_request_sent" msgstr "Friend request sent" @@ -504,11 +544,11 @@ msgstr "No file selected" msgid "flash.invalid_file" msgstr "Invalid GPX file selected" -#: fietsboek/views/upload.py:157 +#: fietsboek/views/upload.py:158 msgid "flash.upload_success" msgstr "Upload successful" -#: fietsboek/views/upload.py:175 +#: fietsboek/views/upload.py:176 msgid "flash.upload_cancelled" msgstr "Upload cancelled" diff --git a/fietsboek/locale/fietslog.pot b/fietsboek/locale/fietslog.pot index a4426fe..f804f43 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-01 13:29+0200\n" +"POT-Creation-Date: 2022-07-01 15:57+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -65,31 +65,39 @@ msgstr "" msgid "month.december" msgstr "" -#: fietsboek/models/track.py:319 +#: fietsboek/util.py:155 +msgid "password_constraint.mismatch" +msgstr "" + +#: fietsboek/util.py:157 +msgid "password_constraint.length" +msgstr "" + +#: fietsboek/models/track.py:381 msgid "tooltip.table.length" msgstr "" -#: fietsboek/models/track.py:320 +#: fietsboek/models/track.py:382 msgid "tooltip.table.uphill" msgstr "" -#: fietsboek/models/track.py:321 +#: fietsboek/models/track.py:383 msgid "tooltip.table.downhill" msgstr "" -#: fietsboek/models/track.py:322 +#: fietsboek/models/track.py:384 msgid "tooltip.table.moving_time" msgstr "" -#: fietsboek/models/track.py:323 +#: fietsboek/models/track.py:385 msgid "tooltip.table.stopped_time" msgstr "" -#: fietsboek/models/track.py:324 +#: fietsboek/models/track.py:386 msgid "tooltip.table.max_speed" msgstr "" -#: fietsboek/models/track.py:326 +#: fietsboek/models/track.py:388 msgid "tooltip.table.avg_speed" msgstr "" @@ -206,6 +214,26 @@ msgstr "" msgid "page.details.comments" msgstr "" +#: fietsboek/templates/details.jinja2:119 +msgid "page.details.comments.author" +msgstr "" + +#: fietsboek/templates/details.jinja2:136 +msgid "page.details.comments.new.title" +msgstr "" + +#: fietsboek/templates/details.jinja2:139 +msgid "page.details.comments.new.input_title" +msgstr "" + +#: fietsboek/templates/details.jinja2:140 +msgid "page.details.comments.new.input_comment" +msgstr "" + +#: fietsboek/templates/details.jinja2:143 +msgid "page.details.comments.new.submit" +msgstr "" + #: fietsboek/templates/edit.jinja2:7 msgid "page.edit.title" msgstr "" @@ -344,11 +372,19 @@ msgstr "" msgid "page.password_reset.password" msgstr "" -#: fietsboek/templates/password_reset.jinja2:13 +#: fietsboek/templates/password_reset.jinja2:11 +msgid "page.password_reset.password_invalid" +msgstr "" + +#: fietsboek/templates/password_reset.jinja2:16 msgid "page.password_reset.repeat_password" msgstr "" -#: fietsboek/templates/password_reset.jinja2:18 +#: fietsboek/templates/password_reset.jinja2:20 +msgid "page.password_reset.password_mismatch" +msgstr "" + +#: fietsboek/templates/password_reset.jinja2:24 msgid "page.password_reset.reset" msgstr "" @@ -368,31 +404,39 @@ msgstr "" msgid "page.my_profile.personal_data.password" msgstr "" -#: fietsboek/templates/profile.jinja2:25 +#: fietsboek/templates/profile.jinja2:23 +msgid "page.my_profile.personal_data.password_invalid" +msgstr "" + +#: fietsboek/templates/profile.jinja2:28 msgid "page.my_profile.personal_data.repeat_password" msgstr "" -#: fietsboek/templates/profile.jinja2:30 +#: fietsboek/templates/profile.jinja2:32 +msgid "page.my_profile.personal_data.password_must_match" +msgstr "" + +#: fietsboek/templates/profile.jinja2:36 msgid "page.my_profile.personal_data.save" msgstr "" -#: fietsboek/templates/profile.jinja2:35 +#: fietsboek/templates/profile.jinja2:41 msgid "page.my_profile.friends" msgstr "" -#: fietsboek/templates/profile.jinja2:42 +#: fietsboek/templates/profile.jinja2:48 msgid "page.my_profile.unfriend" msgstr "" -#: fietsboek/templates/profile.jinja2:51 +#: fietsboek/templates/profile.jinja2:57 msgid "page.my_profile.accept_friend" msgstr "" -#: fietsboek/templates/profile.jinja2:64 +#: fietsboek/templates/profile.jinja2:70 msgid "page.my_profile.friend_request_email" msgstr "" -#: fietsboek/templates/profile.jinja2:70 +#: fietsboek/templates/profile.jinja2:76 msgid "page.my_profile.send_friend_request" msgstr "" @@ -460,31 +504,27 @@ msgstr "" msgid "flash.email_verified" msgstr "" -#: fietsboek/views/default.py:163 fietsboek/views/profile.py:48 -msgid "flash.password_mismatch" -msgstr "" - -#: fietsboek/views/default.py:168 +#: fietsboek/views/default.py:171 msgid "flash.password_updated" msgstr "" -#: fietsboek/views/profile.py:54 +#: fietsboek/views/profile.py:57 msgid "flash.personal_data_updated" msgstr "" -#: fietsboek/views/profile.py:75 +#: fietsboek/views/profile.py:78 msgid "flash.friend_not_found" msgstr "" -#: fietsboek/views/profile.py:80 +#: fietsboek/views/profile.py:83 msgid "flash.friend_already_exists" msgstr "" -#: fietsboek/views/profile.py:88 +#: fietsboek/views/profile.py:91 msgid "flash.friend_added" msgstr "" -#: fietsboek/views/profile.py:98 +#: fietsboek/views/profile.py:101 msgid "flash.friend_request_sent" msgstr "" @@ -496,11 +536,11 @@ msgstr "" msgid "flash.invalid_file" msgstr "" -#: fietsboek/views/upload.py:157 +#: fietsboek/views/upload.py:158 msgid "flash.upload_success" msgstr "" -#: fietsboek/views/upload.py:175 +#: fietsboek/views/upload.py:176 msgid "flash.upload_cancelled" msgstr "" -- cgit v1.2.3