From 447caa0f90d0ba340e2d4aaab6211552d35aa253 Mon Sep 17 00:00:00 2001 From: Lucas Brandstaetter <lucas@brandstaetter.tech> Date: Sat, 7 Dec 2024 00:02:05 +0100 Subject: [PATCH] Fix typos in plainui --- src/plainui/jinja2/plainui/board.html.j2 | 2 +- .../jinja2/plainui/components/avatar.html.j2 | 4 +-- .../plainui/components/badge_elements.html.j2 | 2 +- .../plainui/components/event_info.html.j2 | 2 +- .../plainui/components/list_events.html.j2 | 2 +- .../plainui/components/resourcesbox.html.j2 | 2 +- src/plainui/locale/de/LC_MESSAGES/django.po | 26 +++++++++--------- src/plainui/locale/en/LC_MESSAGES/django.po | 10 +++---- ....png => hub-no-avatar-platform-active.png} | Bin src/plainui/views/report.py | 2 +- 10 files changed, 26 insertions(+), 26 deletions(-) rename src/plainui/static/plainui/img/{hub-no-avatar-plattform-active.png => hub-no-avatar-platform-active.png} (100%) diff --git a/src/plainui/jinja2/plainui/board.html.j2 b/src/plainui/jinja2/plainui/board.html.j2 index 92fe448d1..56c113331 100644 --- a/src/plainui/jinja2/plainui/board.html.j2 +++ b/src/plainui/jinja2/plainui/board.html.j2 @@ -72,7 +72,7 @@ {% if page_obj.has_previous() %} <li class="mb-3 mx-3"> <a href="?page={{ page_obj.previous_page_number() }}" - class="btn btn-secondary">{{ _("board--paginage--previous") }}</a> + class="btn btn-secondary">{{ _("board--paginate--previous") }}</a> </li> {%- endif %} {% if page_obj.has_next() %} diff --git a/src/plainui/jinja2/plainui/components/avatar.html.j2 b/src/plainui/jinja2/plainui/components/avatar.html.j2 index 48ef14e11..755ca0007 100644 --- a/src/plainui/jinja2/plainui/components/avatar.html.j2 +++ b/src/plainui/jinja2/plainui/components/avatar.html.j2 @@ -1,4 +1,4 @@ -{% macro avatar(user, scope="plattform") -%} +{% macro avatar(user, scope="platform") -%} <figure class="col hub-avatar"> {% if user and user.avatar %} <img class="hub-avatar__img" @@ -10,7 +10,7 @@ </figure> {%- endmacro %} -{% macro no_avatar(scope="plattform") -%} +{% macro no_avatar(scope="platform") -%} <img class="hub-avatar__none" src="{{ static('plainui/img/hub-no-avatar-%s-active.png' % (scope,) ) }}" alt="{{ _('Avatar image') }}"> diff --git a/src/plainui/jinja2/plainui/components/badge_elements.html.j2 b/src/plainui/jinja2/plainui/components/badge_elements.html.j2 index f236463e0..1b7fefc13 100644 --- a/src/plainui/jinja2/plainui/components/badge_elements.html.j2 +++ b/src/plainui/jinja2/plainui/components/badge_elements.html.j2 @@ -12,7 +12,7 @@ {% else %} <img class="card-img-top aspect-ratio-16by9" alt="Thumbnail Badge {{ badge_link.badge.name }}" - src="{{ static('plainui/img/hub-no-avatar-plattform-active.png') }}" + src="{{ static('plainui/img/hub-no-avatar-platform-active.png') }}" data-holder-rendered="true"> {% endif %} </div> diff --git a/src/plainui/jinja2/plainui/components/event_info.html.j2 b/src/plainui/jinja2/plainui/components/event_info.html.j2 index 9a79f158c..8749a292d 100644 --- a/src/plainui/jinja2/plainui/components/event_info.html.j2 +++ b/src/plainui/jinja2/plainui/components/event_info.html.j2 @@ -33,7 +33,7 @@ {{ speaker }} {% if not loop.last %},{% endif %} {% else %} - {{ _("No Speakers publicated yet") }} + {{ _("No Speakers published yet") }} {% endfor %} {% if event.abstract %}<div class="hub-text">{{ event.abstract }}</div>{% endif %} diff --git a/src/plainui/jinja2/plainui/components/list_events.html.j2 b/src/plainui/jinja2/plainui/components/list_events.html.j2 index be7ff4bbb..9c3e17808 100644 --- a/src/plainui/jinja2/plainui/components/list_events.html.j2 +++ b/src/plainui/jinja2/plainui/components/list_events.html.j2 @@ -339,7 +339,7 @@ {% if room.next_event %} {{ tile(room.next_event, faved=true if room.next_event.id | safe in my_favorite_events, custom_class="flex-lg-grow-1 mb-0") }} {% else %} - <p class="text-center my-6 flex-lg-grow">{{ _("no entry availaible") }}</p> + <p class="text-center my-6 flex-lg-grow">{{ _("no entry available") }}</p> {% endif %} {% if room.room.id %} <a href="{{ url('plainui:room', slug=room.room.slug) }}" diff --git a/src/plainui/jinja2/plainui/components/resourcesbox.html.j2 b/src/plainui/jinja2/plainui/components/resourcesbox.html.j2 index 2b30c6771..eefbba15a 100644 --- a/src/plainui/jinja2/plainui/components/resourcesbox.html.j2 +++ b/src/plainui/jinja2/plainui/components/resourcesbox.html.j2 @@ -14,7 +14,7 @@ </ul> {% else %} <div class="p-3 ps-3 w-100 d-flex flex-row flex-wrap justify-content-start align-items-center"> - <p>{{ _("no entry availaible") }}</p> + <p>{{ _("no entry available") }}</p> </div> {% endif %} </div> diff --git a/src/plainui/locale/de/LC_MESSAGES/django.po b/src/plainui/locale/de/LC_MESSAGES/django.po index 68f0907af..a6539627d 100644 --- a/src/plainui/locale/de/LC_MESSAGES/django.po +++ b/src/plainui/locale/de/LC_MESSAGES/django.po @@ -21,7 +21,7 @@ msgid "Unknown User!" msgstr "Unbekannter Nutzer!" msgid "Please enter the recipient name" -msgstr "Bitte den/dei Empfänger*in angeben" +msgstr "Bitte den Namen der empfangenden Person angeben" msgid "Please enter a subject" msgstr "Bitte einen Betreff eingeben" @@ -64,10 +64,10 @@ msgid "Unknown User" msgstr "Unbekannter Nutzer" msgid "User is not active!" -msgstr "User ist nich aktiv" +msgstr "User ist nicht aktiv" msgid "User can use password reset by email!" -msgstr "Paswort über E-Mail reset ist möglich" +msgstr "Passwort-Reset über E-Mail ist möglich!" msgid "User didn't use this Ticket!" msgstr "Dieser Benutzer ist nicht mit diesem Ticket verknüpft." @@ -91,7 +91,7 @@ msgid "Wiki__edit__body" msgstr "Seiten-Inhalt" msgid "Wiki__edit__body_help" -msgstr "Inhalt der auf der Wiki-Seite angezeigt wird. Du kannst Markdown-Syntax nutzen um den Inhalt zu formatieren. Nutze den Vorschau-Button um die formattierte Seite zu sehen." +msgstr "Inhalt der auf der Wiki-Seite angezeigt wird. Du kannst Markdown-Syntax nutzen um den Inhalt zu formatieren. Nutze den Vorschau-Button um die formatierte Seite zu sehen." msgid "Assemblies" msgstr "Assemblies" @@ -252,7 +252,7 @@ msgstr "Öffentliches Bulletin Board" msgid "New Entry" msgstr "Neuer Eintrag" -msgid "board--paginage--previous" +msgid "board--paginate--previous" msgstr "Vorherige Page" msgid "board--paginate--next" @@ -312,7 +312,7 @@ msgstr "Fahrplan anschauen" msgid "No entries available." msgstr "Keine Einträge vorhanden." -msgid "No Speakers publicated yet" +msgid "No Speakers published yet" msgstr "Noch keine Speaker bekannt gegeben" msgid "Event description" @@ -382,7 +382,7 @@ msgstr "Streaming" msgid "Coming Up Next" msgstr "Als nächstes" -msgid "no entry availaible" +msgid "no entry available" msgstr "Keine Einträge vorhanden." msgid "View next Events" @@ -407,7 +407,7 @@ msgid "profile" msgstr "Profil" msgid "Edit your profile" -msgstr "Dein Profil berarbeiten" +msgstr "Dein Profil bearbeiten" msgid "search" msgstr "suchen" @@ -428,7 +428,7 @@ msgid "Hey" msgstr "Hey" msgid "You are leaving the »RC3-area«. For external sites, streams and applications the actual owners are completely and solely responsible regarding data protection, copyright, youth protection, etc.!" -msgstr "Du verlässt das virtuelle Veranstaltungs-Gelände. Für externe Seiten, Streams und Angebote sind vollinhaltlich die jeweiligen Betreiber in bezug auf Datenschutz, Copyright und Jugendschutz etc. verantwortlich." +msgstr "Du verlässt das virtuelle Veranstaltungs-Gelände. Für externe Seiten, Streams und Angebote sind vollinhaltlich die jeweiligen Betreiber in Bezug auf Datenschutz, Copyright und Jugendschutz etc. verantwortlich." msgid "Back" msgstr "Zurück" @@ -507,7 +507,7 @@ msgid "Reset Password" msgstr "Passwort zurücksetzen" msgid "login--cookieinfo" -msgstr "Hinweis: Wir setzen einen Cookie um deine Sessiondaten zu speichern." +msgstr "Hinweis: Wir setzen einen Cookie um die Daten deiner Sitzung zu speichern." msgid "New here?" msgstr "Neu hier?" @@ -666,7 +666,7 @@ msgid "Reset password link invalid. Please try again." msgstr "Passwortwiederherstellungslink ungültig. Bitte erneut versuchen." msgid "You will receive an e-mail with a reset link." -msgstr "Du erhälst eine E-Mail mit einem Reset-Link." +msgstr "Du erhältst eine E-Mail mit einem Reset-Link." msgid "If you have no configured e-mail address, revisit your ticket activation link" msgstr "Falls du keine E-Mail-Adresse konfiguriert hast, klick noch einmal auf deinen Ticket-Aktivierungslink" @@ -866,8 +866,8 @@ msgstr "Nachricht verschickt" msgid "Message deleted." msgstr "Nachricht gelöscht" -msgid "Thank you for your help to make this plattform safer and better! Please give us some time to find a solution and keep an eye on your Messages, we may contact you." -msgstr "Danke für Deine Hilfe diese Plattform besser und sicherer zu machen. Bitte gib uns ein wenig Zeit eine Lösung zu finden und behalte deine Nachrichten hier im Auge, vielleicht kontaktieren wird Dich." +msgid "Thank you for your help to make this platform safer and better! Please give us some time to find a solution and keep an eye on your Messages, we may contact you." +msgstr "Danke für Deine Hilfe diese Plattform besser und sicherer zu machen. Bitte gib uns ein wenig Zeit eine Lösung zu finden und behalte deine Nachrichten hier im Auge, vielleicht kontaktieren wird dich." msgid "RoomView--loginrequired" msgstr "Anmeldung erforderlich." diff --git a/src/plainui/locale/en/LC_MESSAGES/django.po b/src/plainui/locale/en/LC_MESSAGES/django.po index b4633e5c5..2d35dac39 100644 --- a/src/plainui/locale/en/LC_MESSAGES/django.po +++ b/src/plainui/locale/en/LC_MESSAGES/django.po @@ -91,7 +91,7 @@ msgid "Wiki__edit__body" msgstr "Page Content" msgid "Wiki__edit__body_help" -msgstr "Content shown for the wiki page. You can use Markdown syntax to format the page content. Use the preview button to see the formated page." +msgstr "Content shown for the wiki page. You can use Markdown syntax to format the page content. Use the preview button to see the formatted page." msgid "Assemblies" msgstr "" @@ -252,7 +252,7 @@ msgstr "" msgid "New Entry" msgstr "" -msgid "board--paginage--previous" +msgid "board--paginate--previous" msgstr "Previous Page" msgid "board--paginate--next" @@ -312,7 +312,7 @@ msgstr "view the schedule" msgid "No entries available." msgstr "" -msgid "No Speakers publicated yet" +msgid "No Speakers published yet" msgstr "" msgid "Event description" @@ -382,7 +382,7 @@ msgstr "" msgid "Coming Up Next" msgstr "" -msgid "no entry availaible" +msgid "no entry available" msgstr "" msgid "View next Events" @@ -866,7 +866,7 @@ msgstr "" msgid "Message deleted." msgstr "" -msgid "Thank you for your help to make this plattform safer and better! Please give us some time to find a solution and keep an eye on your Messages, we may contact you." +msgid "Thank you for your help to make this platform safer and better! Please give us some time to find a solution and keep an eye on your Messages, we may contact you." msgstr "" msgid "RoomView--loginrequired" diff --git a/src/plainui/static/plainui/img/hub-no-avatar-plattform-active.png b/src/plainui/static/plainui/img/hub-no-avatar-platform-active.png similarity index 100% rename from src/plainui/static/plainui/img/hub-no-avatar-plattform-active.png rename to src/plainui/static/plainui/img/hub-no-avatar-platform-active.png diff --git a/src/plainui/views/report.py b/src/plainui/views/report.py index 9d06aeb6c..9e2a12962 100644 --- a/src/plainui/views/report.py +++ b/src/plainui/views/report.py @@ -48,7 +48,7 @@ class ReportContentView(ConferenceRequiredMixin, FormView): messages.success( self.request, gettext( - 'Thank you for your help to make this plattform safer and better! ' + 'Thank you for your help to make this platform safer and better! ' 'Please give us some time to find a solution and keep an eye on your Messages, we may contact you.' ), ) -- GitLab