Compare commits

..

No commits in common. "e283449e0de6fc61c10358ff651fe112c5f46068" and "c38ab9a9b4b3b2995baef20dbd950c0900d2b118" have entirely different histories.

11 changed files with 25 additions and 151 deletions

View File

@ -1,109 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-12-28 15:24+0000\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"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: web_galleries/templates/gallery/create_gallery.html:14
msgid "Create"
msgstr "Erstellen"
#: web_galleries/templates/gallery/gallery_detail.html:10
msgid "Upload image to this gallery"
msgstr "Bild in diese Gallerie hochladen"
#: web_galleries/templates/gallery/gallery_detail.html:21
msgid "You have gained access to the following people"
msgstr "Du hast folgenden Leuten Zugriff erteilt"
#: web_galleries/templates/gallery/gallery_detail.html:23
msgid "Revoke access"
msgstr "Zugriff entziehen"
#: web_galleries/templates/gallery/gallery_no_access.html:9
msgid "You do not have access to this private gallery"
msgstr "Du hast keinen Zugriff auf diese privaten Gallerie"
#: web_galleries/templates/gallery/gallery_no_access.html:10
msgid "But you can gain access by entering the access code below:"
msgstr "Du kannst aber Zugriff erhalten indem du den Zugangscode eingibst:"
#: web_galleries/templates/gallery/gallery_no_access.html:16
msgid "Enter"
msgstr "Abschicken"
#: web_galleries/templates/gallery/list_galleries.html:12
#: web_galleries/templates/gallery/my_galleries.html:14
#: web_galleries/templates/gallery/my_galleries.html:51
msgid "no images"
msgstr "keine Bilder"
#: web_galleries/templates/gallery/my_galleries.html:9
msgid "Your galleries "
msgstr "Deine Gallerien"
#: web_galleries/templates/gallery/my_galleries.html:46
msgid "Galleries you were invited to"
msgstr "Gallerien in die du eingeladen wurdest"
#: web_galleries/templates/gallery/upload_image.html:8
msgid "Upload image to"
msgstr "Bild hochladen in"
#: web_galleries/templates/gallery/upload_image.html:13
#: web_galleries/templates/upload_image/upload.html:16
msgid "Upload"
msgstr "Hochladen"
#: web_galleries/templates/global.html:22
msgid "Home"
msgstr "Startseite"
#: web_galleries/templates/global.html:27
msgid "Upload image"
msgstr "Bild hochladen"
#: web_galleries/templates/global.html:32
msgid "My images"
msgstr "Meine Bilder"
#: web_galleries/templates/global.html:37
msgid "My galleries"
msgstr "Meine Gallerien"
#: web_galleries/templates/global.html:42
msgid "Create gallery"
msgstr "Gallerie erstellen"
#: web_galleries/templates/global.html:48
msgid "Hello there"
msgstr "Hallo"
#: web_galleries/templates/global.html:53
msgid "My Profile"
msgstr "Dein Profil"
#: web_galleries/templates/image/my_images.html:9
msgid "Images you uploaded"
msgstr "Bilder die du hochgeladen hast"
#: web_galleries/templates/image/my_images.html:21
msgid "Images shared with you"
msgstr "Bilder die mit dir geteilt wurden"
#: web_galleries/templates/visitor/visitor_settings.html:12
msgid "Save"
msgstr "Speichern"

View File

@ -1,7 +1,5 @@
{% extends '../global.html' %}
{% load i18n %}
{% block content %}
<form method="POST" enctype="multipart/form-data">
{% csrf_token %}
@ -11,7 +9,7 @@
{% include 'partials/form_input.html' with field=form.images %}
</div>
<div class="RV-Fieldset">
<button type="submit">{% translate 'Create' %}</button>
<button type="submit">Create</button>
</div>
</form>
{% endblock content %}

View File

@ -1,13 +1,12 @@
{% extends '../global.html' %}
{% load i18n %}
{% load responsive_images %}
{% block content %}
{% if gallery.title %}
<h1>{{gallery.title}}</h1>
{% endif %}
<a href="{% url 'gallery_upload' gallery_id=gallery.id %}">{% translate 'Upload image to this gallery' %}</a>
<a href="{% url 'gallery_upload' gallery_id=gallery.id %}">Upload image to this gallery</a>
<section class="RV-Images">
<li class="RV-Images__list">
{% for image in gallery.images.all %}
@ -18,9 +17,9 @@
</li>
{% if gallery.private and gallery.visitors.all|length > 0 and gallery.created_by == visitor %}
<div>
<h2>{% translate 'You have gained access to the following people' %}</h2>
<h2>You have gained access to the following people</h2>
{% for visitor in gallery.visitors.all %}
{{visitor.name}} <a href="{% url 'gallery_revoke_access' gallery_id=gallery.id visitor_id=visitor.id %}">{% translate 'Revoke access' %}</a>
{{visitor.name}} <a href="{% url 'gallery_revoke_access' gallery_id=gallery.id visitor_id=visitor.id %}">Revoke access</a>
{% endfor %}
</div>
{% endif %}

View File

@ -1,19 +1,17 @@
{% extends '../global.html' %}
{% load i18n %}
{% block content %}
<form method="POST">
{% csrf_token %}
<div class="RV-Fieldset">
<h1>{% translate 'You do not have access to this private gallery' %}</h1>
{% translate 'But you can gain access by entering the access code below:' %}'
<h1>You do not have access to this private gallery</h1>
But you can gain access by entering the access code below:
</div>
<div class="RV-Fieldset">
{% include 'partials/form_input.html' with field=form.access_code %}
</div>
<div class="RV-Fieldset">
<button type="submit">{% translate 'Enter' %}</button>
<button type="submit">Enter</button>
</div>
</form>
{% endblock content %}

View File

@ -1,6 +1,5 @@
{% extends '../global.html' %}
{% load i18n %}
{% load responsive_images %}
{% block content %}
@ -9,7 +8,7 @@
{% for gallery in galleries %}
<a href="{% url 'gallery' pk=gallery.pk %}" class="RV-Image__link RV-Image__link--detail">
{% if gallery.images.all|length <= 0 %}
{% translate 'no images' %}
no images
{% endif %}
{% if gallery.images.all|length == 1 %}
{% for image in gallery.images.all %}

View File

@ -1,17 +1,16 @@
{% extends '../global.html' %}
{% load i18n %}
{% load responsive_images %}
{% block content %}
{% if created_galleries|length > 0 %}
<section class="RV-Images">
<h2>{% translate 'Your galleries '%}</h2>
<h2>Your galleries</h2>
<li class="RV-Images__list">
{% for gallery in created_galleries %}
<a href="{% url 'gallery' pk=gallery.pk %}" class="RV-Image__link RV-Image__link--detail">
{% if gallery.images.all|length <= 0 %}
{% translate 'no images' %}
no images
{% endif %}
{% if gallery.images.all|length == 1 %}
{% for image in gallery.images.all %}
@ -43,12 +42,12 @@
{% endif %}
{% if invited_galleries|length > 0 %}
<section class="RV-Images">
<h2>{% translate 'Galleries you were invited to' %}</h2>
<h2>Galleries you were invited to</h2>
<li class="RV-Images__list">
{% for gallery in invited_galleries %}
<a href="{% url 'gallery' pk=gallery.pk %}" class="RV-Image__link RV-Image__link--detail">
{% if gallery.images.all|length <= 0 %}
{% translate 'no images' %}
no images
{% endif %}
{% if gallery.images.all|length == 1 %}
{% for image in gallery.images.all %}

View File

@ -1,16 +1,14 @@
{% extends '../global.html' %}
{% load i18n %}
{% block content %}
<form method="POST" enctype="multipart/form-data">
{% csrf_token %}
<h2>{% translate 'Upload image to' %} "{{gallery.title}}"</h2>
<h2>Upload image to "{{gallery.title}}"</h2>
<div class="RV-Fieldset">
{% include 'partials/form_input.html' with field=form.images %}
</div>
<div class="RV-Fieldset">
<button type="submit">{% translate 'Upload' %}</button>
<button type="submit">Upload</button>
</div>
</form>
{% endblock content %}

View File

@ -1,7 +1,5 @@
{% load static %}
{% load i18n %}
<!DOCTYPE html>
<html lang="en">
<head>
@ -9,7 +7,6 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Web Gallery</title>
<link rel="stylesheet" href="{% static 'bootstrap.min.css' %}">
<link rel="stylesheet" href="{% static 'web-galleries.css' %}">
</head>
<body>
@ -19,38 +16,38 @@
<ul class="RV-Navigation__list">
<li class="RV-Navigation__item">
<a href="{% url 'home' %}" class="RV-Navigation__link">
{% translate 'Home' %}
Home
</a>
</li>
<li class="RV-Navigation__item">
<a href="{% url 'upload_image' %}" class="RV-Navigation__link">
{% translate 'Upload image' %}
Upload image
</a>
</li>
<li class="RV-Navigation__item">
<a href="{% url 'my_images' %}" class="RV-Navigation__link">
{% translate 'My images' %}
My images
</a>
</li>
<li class="RV-Navigation__item">
<a href="{% url 'my_galleries' %}" class="RV-Navigation__link">
{% translate 'My galleries' %}
My galleries
</a>
</li>
<li class="RV-Navigation__item">
<a href="{% url 'create_gallery' %}" class="RV-Navigation__link">
{% translate 'Create gallery' %}
Create gallery
</a>
</li>
</ul>
<div class="RV-UserInfo">
<div class="RV-UserInfo__name">
{% translate 'Hello there' %}, {{ visitor.name }}
Hello there, {{ visitor.name }}
</div>
<ul class="RV-UserInfo__links">
<li class="RV-UserInfo__link">
<a href="{% url 'visitor_profile' %}">
{% translate 'My Profile' %}
My Profile
</a>
</li>
</ul>

View File

@ -1,12 +1,11 @@
{% extends '../global.html' %}
{% load i18n %}
{% load responsive_images %}
{% block content %}
{% if uploaded_images|length > 0 %}
<section class="RV-Images">
<h2>{% translate 'Images you uploaded' %}</h2>
<h2>Images you uploaded</h2>
<li class="RV-Images__list">
{% for image in uploaded_images %}
<a href="{% url 'image' pk=image.id %}" class="RV-Image__link RV-Image__link--detail">
@ -18,7 +17,7 @@
{% endif %}
{% if shared_images|length > 0 %}
<section class="RV-Images">
<h2>{% translate 'Images shared with you' %}</h2>
<h2>Images shared with you</h2>
<li class="RV-Images__list">
{% for image in shared_images %}
<a href="{% url 'image' pk=image.id %}" class="RV-Image__link RV-Image__link--detail">

View File

@ -1,7 +1,5 @@
{% extends '../global.html' %}
{% load i18n %}
{% block content %}
<form method="POST" enctype="multipart/form-data">
{% csrf_token %}
@ -13,7 +11,7 @@
</div>
<div class="RV-Fieldset">
<button type="submit">{% translate 'Upload' %}</button>
<button type="submit">Upload</button>
</div>
</form>
{% endblock content %}

View File

@ -1,7 +1,5 @@
{% extends '../global.html' %}
{% load i18n %}
{% block content %}
<form method="POST">
{% csrf_token %}
@ -9,7 +7,7 @@
{% include 'partials/form_input.html' with field=name_form.name %}
</div>
<div class="RV-Fieldset">
<button type="submit">{% translate 'Save' %}</button>
<button type="submit">Save</button>
</div>
</form>
{% endblock content %}