From dc105234b5861a7b663a5bd3d6903980eed830ea Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Mon, 11 Jul 2022 14:39:30 +0200 Subject: move user menu (login, logout, ...) to right side --- fietsboek/locale/de/LC_MESSAGES/messages.mo | Bin 9769 -> 9866 bytes fietsboek/locale/de/LC_MESSAGES/messages.po | 32 ++++++++++------ fietsboek/locale/en/LC_MESSAGES/messages.mo | Bin 9197 -> 9289 bytes fietsboek/locale/en/LC_MESSAGES/messages.po | 32 ++++++++++------ fietsboek/locale/fietslog.pot | 26 ++++++++----- fietsboek/templates/layout.jinja2 | 56 +++++++++++++++++----------- 6 files changed, 91 insertions(+), 55 deletions(-) diff --git a/fietsboek/locale/de/LC_MESSAGES/messages.mo b/fietsboek/locale/de/LC_MESSAGES/messages.mo index b0d23d3..34bd05a 100644 Binary files a/fietsboek/locale/de/LC_MESSAGES/messages.mo and b/fietsboek/locale/de/LC_MESSAGES/messages.mo differ diff --git a/fietsboek/locale/de/LC_MESSAGES/messages.po b/fietsboek/locale/de/LC_MESSAGES/messages.po index 47bcabb..0912079 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-09 15:04+0200\n" +"POT-Creation-Date: 2022-07-11 14:34+0200\n" "PO-Revision-Date: 2022-07-02 17:35+0200\n" "Last-Translator: FULL NAME \n" "Language: de\n" @@ -368,29 +368,37 @@ msgid "page.navbar.browse" msgstr "Stöbern" #: fietsboek/templates/layout.jinja2:44 -msgid "page.navbar.login" -msgstr "Anmelden" +msgid "page.navbar.upload" +msgstr "Hochladen" #: fietsboek/templates/layout.jinja2:48 -msgid "page.navbar.create_account" -msgstr "Konto Erstellen" +msgid "page.navbar.user" +msgstr "Nutzer" -#: fietsboek/templates/layout.jinja2:53 +#: fietsboek/templates/layout.jinja2:52 +msgid "page.navbar.welcome_user" +msgstr "Willkommen, {}!" + +#: fietsboek/templates/layout.jinja2:55 msgid "page.navbar.logout" msgstr "Abmelden" -#: fietsboek/templates/layout.jinja2:56 -msgid "page.navbar.upload" -msgstr "Hochladen" - -#: fietsboek/templates/layout.jinja2:59 +#: fietsboek/templates/layout.jinja2:58 msgid "page.navbar.profile" msgstr "Profil" -#: fietsboek/templates/layout.jinja2:63 +#: fietsboek/templates/layout.jinja2:62 msgid "page.navbar.admin" msgstr "Admin" +#: fietsboek/templates/layout.jinja2:68 +msgid "page.navbar.login" +msgstr "Anmelden" + +#: fietsboek/templates/layout.jinja2:72 +msgid "page.navbar.create_account" +msgstr "Konto Erstellen" + #: fietsboek/templates/login.jinja2:7 msgid "page.login.title" msgstr "Anmelden" diff --git a/fietsboek/locale/en/LC_MESSAGES/messages.mo b/fietsboek/locale/en/LC_MESSAGES/messages.mo index 493c094..127794c 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 acc5a7e..723c12c 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-09 15:04+0200\n" +"POT-Creation-Date: 2022-07-11 14:34+0200\n" "PO-Revision-Date: 2022-06-28 13:11+0200\n" "Last-Translator: \n" "Language: en\n" @@ -364,29 +364,37 @@ msgid "page.navbar.browse" msgstr "Browse" #: fietsboek/templates/layout.jinja2:44 -msgid "page.navbar.login" -msgstr "Login" +msgid "page.navbar.upload" +msgstr "Upload" #: fietsboek/templates/layout.jinja2:48 -msgid "page.navbar.create_account" -msgstr "Create Account" +msgid "page.navbar.user" +msgstr "User" -#: fietsboek/templates/layout.jinja2:53 +#: fietsboek/templates/layout.jinja2:52 +msgid "page.navbar.welcome_user" +msgstr "Welcome, {}!" + +#: fietsboek/templates/layout.jinja2:55 msgid "page.navbar.logout" msgstr "Logout" -#: fietsboek/templates/layout.jinja2:56 -msgid "page.navbar.upload" -msgstr "Upload" - -#: fietsboek/templates/layout.jinja2:59 +#: fietsboek/templates/layout.jinja2:58 msgid "page.navbar.profile" msgstr "Profile" -#: fietsboek/templates/layout.jinja2:63 +#: fietsboek/templates/layout.jinja2:62 msgid "page.navbar.admin" msgstr "Admin" +#: fietsboek/templates/layout.jinja2:68 +msgid "page.navbar.login" +msgstr "Login" + +#: fietsboek/templates/layout.jinja2:72 +msgid "page.navbar.create_account" +msgstr "Create Account" + #: fietsboek/templates/login.jinja2:7 msgid "page.login.title" msgstr "Login" diff --git a/fietsboek/locale/fietslog.pot b/fietsboek/locale/fietslog.pot index ee0be47..b3a5837 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-09 15:04+0200\n" +"POT-Creation-Date: 2022-07-11 14:34+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -361,29 +361,37 @@ msgid "page.navbar.browse" msgstr "" #: fietsboek/templates/layout.jinja2:44 -msgid "page.navbar.login" +msgid "page.navbar.upload" msgstr "" #: fietsboek/templates/layout.jinja2:48 -msgid "page.navbar.create_account" +msgid "page.navbar.user" msgstr "" -#: fietsboek/templates/layout.jinja2:53 -msgid "page.navbar.logout" +#: fietsboek/templates/layout.jinja2:52 +msgid "page.navbar.welcome_user" msgstr "" -#: fietsboek/templates/layout.jinja2:56 -msgid "page.navbar.upload" +#: fietsboek/templates/layout.jinja2:55 +msgid "page.navbar.logout" msgstr "" -#: fietsboek/templates/layout.jinja2:59 +#: fietsboek/templates/layout.jinja2:58 msgid "page.navbar.profile" msgstr "" -#: fietsboek/templates/layout.jinja2:63 +#: fietsboek/templates/layout.jinja2:62 msgid "page.navbar.admin" msgstr "" +#: fietsboek/templates/layout.jinja2:68 +msgid "page.navbar.login" +msgstr "" + +#: fietsboek/templates/layout.jinja2:72 +msgid "page.navbar.create_account" +msgstr "" + #: fietsboek/templates/login.jinja2:7 msgid "page.login.title" msgstr "" diff --git a/fietsboek/templates/layout.jinja2 b/fietsboek/templates/layout.jinja2 index 3e0b3ea..a03b7c1 100644 --- a/fietsboek/templates/layout.jinja2 +++ b/fietsboek/templates/layout.jinja2 @@ -32,38 +32,50 @@ var FRIENDS_URL = "{{ request.route_url('json-friends') }}"; -- cgit v1.2.3