Commit 78094823 authored by phil's avatar phil

Auftreten von Gestalt uebersetzt

parent 95102488
Pipeline #2019 failed with stage
in 11 minutes and 10 seconds
{% load i18n %}
<input class="dropdown-state" id="menu-more" type="checkbox" data-menu-group="main">
<label for="menu-more" class="nav-menu-item nav-state-toggle"
aria-label="Zeige weitere Menüpunkte" tabindex="0"
......@@ -5,7 +7,7 @@
<span class="nav-tab-icon">
<i class="sg sg-dots"></i>
</span>
<span>Mehr</span>
<span>{% trans 'More' %}</span>
<i class="caret"></i>
</label>
<div class="dock dock-left dock-light dock-menu" id="menu-more-dropdown" data-dropdown
......@@ -19,21 +21,21 @@
<a href="{% url 'events' %}"
class="nav-menu-item {% if menu|lower == 'event' %}nav-menu-item-current{% endif %}">
<i class="sg sg-fw sg-content-type-event"></i>
<span class="nav-menu-item-label">Veranstaltungen</span>
<span class="nav-menu-item-label">{% trans 'Events' %}</span>
</a>
</li>
<li>
<a href="{% url 'articles' %}"
class="nav-menu-item {% if menu|lower == 'article' %}nav-menu-item-current{% endif %}">
<i class="sg sg-fw sg-content-type-article"></i>
<span class="nav-menu-item-label">Artikel</span>
<span class="nav-menu-item-label">{% trans 'Articles' %}</span>
</a>
</li>
<li>
<a href="{% url 'gestalten' %}"
class="nav-menu-item {% if menu|lower == 'gestalt' %}nav-menu-item-current{% endif %}">
<i class="sg sg-fw sg-content-type-gestalt"></i>
<span class="nav-menu-item-label">Gestalten</span>
<span class="nav-menu-item-label">{% trans 'Persons' %}</span>
</a>
</li>
</ol>
......
[% load i18n %}
<ul class="thread-contributors">
<!-- todo external people probably should see individual group members answering -->
{% for contributor in contributors %}
......@@ -7,7 +9,7 @@
</li>
{% elif forloop.counter == max_shown|add:1 %}
<li>
<div class="avatar avatar-size-32-32 avatar-more" title="und {{ forloop.revcounter }} weitere Gestalten"></div>
<div class="avatar avatar-size-32-32 avatar-more" title="und {{ forloop.revcounter }} {% trans 'more Persons' %}"></div>
</li>
{% endif %}
{% endfor %}
......
{% load i18n %}
<div class="box box-striped">
<div class="box-inner">
<header class="box-header">
<h2 class="box-title">
<i class="sg sg-author"></i>
Gestalt
{% trans 'Person' %}
</h2>
</header>
<div class="box-content">
{% include "gestalten/_preview.html" with gestalt=gestalt link=False %}
</div>
<div class="btn-toolbar btn-toolbar-right">
<a href="{{ gestalt|url_for_user:user }}" class="btn btn-link">Mehr von {{ gestalt }}</a>
<a href="{{ gestalt|url_for_user:user }}" class="btn btn-link">{% trans 'More of' %} {{ gestalt }}</a>
</div>
</div>
</div>
......@@ -20,7 +20,7 @@
<li>{{ view.data.memberships.count }} {% trans 'Memberships of groups' %}</li>
</ul>
<p><strong>{% trans 'The following data will be marked as' %}<em>{% trans 'Unknown figure' %}</em>:</strong></p>
<p><strong>{% trans 'The following data will be marked as' %}<em>{% trans 'Unknown person' %}</em>:</strong></p>
<ul>
<li>{{ view.data.versions.count }} {% trans 'Version of contribution' %}</li>
......
{% extends 'content/list.html' %}
{% load events rules %}
{% load i18n %}
{% block title %}{{ gestalt }} - {{ block.super }}{% endblock %}
{% block menu %}{% menu %}{% endblock %}
......@@ -10,14 +11,14 @@
<header class="profile-header">
<div class="profile-header-title-image">
{% if gestalt.background %}
<img src="{{ gestalt.background_cover.url }}" alt="Titelbild von {{ gestalt }}">
<img src="{{ gestalt.background_cover.url }}" alt="{% trans 'Picture of' %} {{ gestalt }}">
{% else %}
<div class="disclaimer"></div>
{% endif %}
{% if can_edit %}
<div class="btn-toolbar btn-toolbar-bottom btn-toolbar-fixed">
<a href="{% url 'image-settings' %}" class="btn btn-backdrop btn-ts" title="Hintergrundbild ändern">
<a href="{% url 'image-settings' %}" class="btn btn-backdrop btn-ts" title="{% trans 'Change background picture' %}">
<i class="sg sg-2x sg-camera"></i>
</a>
</div>
......@@ -45,26 +46,26 @@
{% if can_edit %}
<dt>
<i class="sg sg-private"></i>
<span class="sr-only">Privatsphäre</span>
<span class="sr-only">{% trans 'Privacy' %}</span>
</dt>
<dd>
{% if gestalt.public %}
Dein Profil ist <strong>öffentlich</strong>
{% trans 'Your profile is <strong>public</strong>' %}
{% else %}
Dein Profil ist <strong>nicht öffentlich</strong>
{% trans 'Your profile is <strong>not public</strong>' %}
{% endif %}
</dd>
{% endif %}
<dt>
<i class="sg sg-gestalt"></i>
<span class="sr-only">Über mich</span>
<span class="sr-only">{% trans 'About me' %}</span>
</dt>
<dd>
{% if not gestalt.about %}
{% if request.user.gestalt == gestalt %}
Schreib doch ein paar Zeilen zu dir!
{% trans 'Write some lines about you!' %}
{% else %}
Dieser Mensch hat nichts zu sich geschrieben.
{% trans 'This person has not write something her' %}
{% endif %}
{% else %}
{{ gestalt.about }}
......@@ -77,13 +78,13 @@
<dl class="def def-icons">
<dt>
<i class="sg sg-link"></i>
<span class="sr-only">URL auf {{ about_group }}</span>
<span class="sr-only">{% trans 'URL at' %} {{ about_group }}</span>
</dt>
<dd class="selectable">
{{ site.domain }}/<span class="selectable-token">{{ gestalt.user.username }}</span>
<button type="button" class="btn-text hide-no-js" data-component="clipboard"
data-clipboard-text="{{ gestalt.get_absolute_url|full_url }}"
title="URL zu dieser Gestalt kopieren">
title="{%trans 'Copy URL from this person' %}">
<i class="sg sg-copy"></i>
</button>
</dd>
......@@ -99,7 +100,7 @@
<div class="btn-group">
<a href="{% url 'settings' %}" class="btn btn-default btn-sm">
<i class="sg sg-edit"></i>
Profil bearbeiten
{% trans 'Edit profile' %}
</a>
</div>
{% endif %}
......@@ -109,7 +110,7 @@
<div class="btn-group">
<a href="{% url 'create-gestalt-conversation' gestalt.pk %}" class="btn btn-default btn-sm">
<i class="sg sg-message"></i>
Nachricht schreiben
{% trans 'Send a message' %}
</a>
</div>
{% endif %}
......@@ -119,21 +120,21 @@
{% block heading %}
<div class="content-section-header">
<h2 class="content-classification">Beiträge</h2>
<h2 class="content-classification">{% trans 'Contributions' %}</h2>
{% include "core/_decoration.html" with icon="sg-pen" %}
<div class="btn-toolbar">
{% has_perm 'content.create_for_gestalt' user gestalt as can_create_content %}
{% if can_create_content %}
{% dropdown 'content-new' '<i class="sg sg-add"></i> Beitrag' %}
<li><a href="{% url 'create-article' %}"><i class="sg sg-fw sg-article"></i> Artikel schreiben</a></li>
<li><a href="{% url 'create-event' %}"><i class="sg sg-fw sg-event"></i> Veranstaltung eintragen</a></li>
<li><a href="{% url 'create-gallery' %}"><i class="sg sg-fw sg-gallery"></i> Bildergalerie</a></li>
<li><a href="{% url 'create-article' %}"><i class="sg sg-fw sg-article"></i> {% trans 'Write an article' %}</a></li>
<li><a href="{% url 'create-event' %}"><i class="sg sg-fw sg-event"></i> {% trans 'Create an event' %}</a></li>
<li><a href="{% url 'create-gallery' %}"><i class="sg sg-fw sg-gallery"></i> {% trans 'Gallery' %}</a></li>
{% comment %}
<!-- poll creation deactivated, see #654 -->
<li><a href="{% url 'create-poll' %}"><i class="sg sg-fw sg-poll"></i> (Termin-)Umfrage beginnen</a></li>
<li><a href="{% url 'create-poll' %}"><i class="sg sg-fw sg-poll"></i> {% trans 'Start a (date) poll' %}</a></li>
{% endcomment %}
{% if about_group %}
<li><a href="{% url 'content' about_group.slug 'tools' %}#8-werkzeuge-fur-andere-anwendungsfalle"><i class="sg sg-fw sg-tools"></i> Weitere Möglichkeiten</a></li>
<li><a href="{% url 'content' about_group.slug 'tools' %}#8-werkzeuge-fur-andere-anwendungsfalle"><i class="sg sg-fw sg-tools"></i> {% trans 'More options' %}</a></li>
{% endif %}
{% enddropdown %}
{% endif %}
......
{% extends 'stadt/stadt.html' %}
{% load dismissible events groups rules %}
{% load i18n %}
{% block title %}Gestalten - {{ GROUPRISE_SITE_NAME }}{% endblock %}
{% block title %}{% trans 'Persons' %} - {{ GROUPRISE_SITE_NAME }}{% endblock %}
{% block menu %}{% with menu='gestalt' %}{{ block.super }}{% endwith %}{% endblock %}
{% block heading_title %}<h1 class="content-classification">Gestalten</h1>{% endblock %}
{% block heading_title %}<h1 class="content-classification">{% trans 'Persons' %}</h1>{% endblock %}
{% block heading_toolbar %}
{% has_perm 'account.signup' user as can_signup %}
{% if can_signup %}
<a href="{% url 'account_signup' %}" class="btn btn-ch">
<span class="btn-label">
Registrieren
{% trans 'Signup' %}
</span>
</a>
{% endif %}
......@@ -27,14 +28,14 @@
{% dismissible 'gestalt-profile-visibility' %}
<div class="disclaimer disclaimer-standalone">
{% dismiss 'gestalt-profile-visibility' %}
Du wirst hier nicht alle <em>Gestalten</em> finden. Jede <em>Gestalt</em> entscheidet
für sich, ob sie ein öffentliches Profil haben möchte. Du kannst diese Einstellung in
{% trans 'Not all <em>persons</em> are visible to you. Every single <em>person</em> can
choose to publish their profile. You can change this setting in' %}
{% if can_edit %}
<a href="{% url 'gestalt-update' user.gestalt.pk %}">
deinem Profil ändern.
</a>
{% trans 'your profile' %}
</a>.
{% else %}
deinem Profil ändern.
{% trans 'your profile.' %}
{% endif %}
</div>
{% enddismissible %}
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment