Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • AlekSIS/official/AlekSIS-App-Hjelp
  • sunweaver/AlekSIS-App-Hjelp
  • sggua/AlekSIS-App-Hjelp
  • quetialka/AlekSIS-App-Hjelp
  • nasolmemo/AlekSIS-App-Hjelp
5 results
Show changes
Commits on Source (8)
#noqa
from django.contrib import admin
from django.db.models import Model
from django.utils.html import format_html
......
......@@ -8,9 +8,10 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-28 13:31+0000\n"
"PO-Revision-Date: 2020-04-19 18:26+0000\n"
"PO-Revision-Date: 2020-05-03 09:28+0000\n"
"Last-Translator: Jonathan Weth <teckids@jonathanweth.de>\n"
"Language-Team: German <https://translate.edugit.org/projects/aleksis/aleksis-app-hjelp/de/>\n"
"Language-Team: German <https://translate.edugit.org/projects/aleksis/"
"aleksis-app-hjelp/de/>\n"
"Language: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
......@@ -36,7 +37,7 @@ msgstr "Kategorie A"
#: forms.py:25
msgid "Select a category"
msgstr ""
msgstr "Wählen Sie eine Kategorie aus"
#: forms.py:30
msgid "Category B"
......@@ -118,27 +119,27 @@ msgstr "Name"
#: models.py:24 models.py:38 models.py:60
msgid "Symbol"
msgstr ""
msgstr "Symbol"
#: models.py:25
msgid "Symbol colour"
msgstr ""
msgstr "Symbolfarbe"
#: models.py:31
msgid "FAQ section"
msgstr ""
msgstr "FAQ-Abschnitt"
#: models.py:32
msgid "FAQ sections"
msgstr ""
msgstr "FAQ-Abschnitte"
#: models.py:36
msgid "Question"
msgstr ""
msgstr "Frage"
#: models.py:40
msgid "Published"
msgstr ""
msgstr "Veröffentlicht"
#: models.py:41
msgid "Because of our CSS framework the HTML tag <strong>&lt;ul&gt;</strong> must have the CSS class <em>browser-default</em>. In this case, please use the manual editor mode."
......@@ -146,39 +147,39 @@ msgstr ""
#: models.py:47
msgid "Section"
msgstr ""
msgstr "Abschnitt"
#: models.py:53 models.py:54
msgid "FAQ questions"
msgstr ""
msgstr "FAQ-Fragen"
#: models.py:58
msgid "Category name"
msgstr ""
msgstr "Name der Kategorie"
#: models.py:62
msgid "Parent"
msgstr ""
msgstr "Elternelement"
#: models.py:63
msgid "Free text input allowed"
msgstr ""
msgstr "Freitext-Eingabe erlaubt"
#: models.py:64
msgid "Placeholder"
msgstr ""
msgstr "Platzhalter"
#: models.py:75
msgid "Bug report category"
msgstr ""
msgstr "Fehlerkategorie"
#: models.py:76
msgid "Bug report categories"
msgstr ""
msgstr "Fehlerkategorien"
#: templates/hjelp/ask.html:6
msgid "You have a question?"
msgstr ""
msgstr "Sie haben eine Frage?"
#: templates/hjelp/ask.html:8
msgid ""
......@@ -186,6 +187,10 @@ msgid ""
" You have a question about AlekSIS and didn't find the answer to your question in the FAQ? Then you can ask us your question here:\n"
"\t"
msgstr ""
"\n"
" Sie haben eine Frage über AlekSIS und konnten die Antwort auf Ihre "
"Frage nicht in den FAQ finden? Dann können Sie uns die Frage hier stellen:\n"
"\t"
#: templates/hjelp/faq.html:39
msgid ""
......@@ -193,6 +198,9 @@ msgid ""
"\t Your question is not listed above?\n"
"\t"
msgstr ""
"\n"
"\t Ihre Frage war nicht dabei?\n"
"\t"
#: templates/hjelp/faq.html:47
msgid ""
......@@ -207,6 +215,10 @@ msgid ""
" If you have a question please ask one of you site administrators:\n"
" "
msgstr ""
"\n"
" Wenn Sie eine Frage haben, fragen Sie bitte einen der "
"Administratoren:\n"
" "
#: templates/hjelp/feedback.html:9
msgid ""
......@@ -214,12 +226,14 @@ msgid ""
" Please give us detailed and honest feedback so that we can make AlekSIS even better!\n"
"\t"
msgstr ""
"\n"
" Bitte geben Sie uns ein ausführliches und ehrliches Feedback, "
"damit wir AlekSIS noch besser machen können!\n"
"\t"
#: templates/hjelp/feedback.html:100
#, fuzzy
#| msgid "Can send feedback"
msgid "Send feedback"
msgstr "Kann Feedback senden"
msgstr "Feedback senden"
#: templates/hjelp/feedback_submitted.html:7
msgid ""
......@@ -227,6 +241,9 @@ msgid ""
" Thank you for your feedback. It was successfully submitted.\n"
"\t"
msgstr ""
"\n"
" Vielen Dank für Ihr Feedback. Es wurde erfolgreich übermittelt.\n"
"\t"
#: templates/hjelp/feedback_submitted.html:14
msgid ""
......
......@@ -3,24 +3,25 @@
# 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: 2020-04-28 13:31+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"
"PO-Revision-Date: 2020-05-03 09:28+0000\n"
"Last-Translator: Anonymous <noreply@weblate.org>\n"
"Language-Team: French <https://translate.edugit.org/projects/aleksis/"
"aleksis-app-hjelp/fr/>\n"
"Language: fr\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"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.0.1\n"
#: admin.py:11
msgid "Publish selected questions"
msgstr ""
msgstr "Publier questions sélectées"
#: admin.py:18
msgid "Unpublish selected questions"
......
{% load i18n %}
{% block subject %} {% trans "New" %} {{ type }} {% trans "from" %} {{ user.username }} {% endblock %}
{% block html %}
<main>
<p>{% trans "The user" %} {{ user.username }} ({% trans "full name: "} {{ user.first_name }} {{ user.last_name }}, {% trans "e-mail: "} {{ user.email }}) {% trans "has submitted the following" %} {{ type }}: </p>
<blockquote>
{{ for item in description }}
<p>{{ item }}</p>
{{ endfor }}
</blockquote>
</main>
{% endblock %}
......@@ -6,9 +6,7 @@ from .models import FAQSection, FAQQuestion, IssueCategory
from .forms import FAQForm, IssueForm, FeedbackForm
from constance import config
from .mailer import send_mail_with_template
from templated_email import send_templated_mail
from aleksis.core.models import Activity
......@@ -39,14 +37,12 @@ def ask_faq(request):
)
act.save()
context = {"question": question, "user": request.user}
send_mail_with_template(
f"[FAQ QUESTION] {question}",
[config.MAIL_QUESTIONS],
"hjelp/mail/question.txt",
"hjelp/mail/question.html",
context,
f"{request.user.get_full_name()} <{request.user.email}>",
context = {"description": [question], "user": request.user, "type": _("FAQ question")}
send_templated_mail(
template_name="hjelp",
from_email=f"{request.user.get_full_name()} <{request.user.email}>",
recipient_list=[config.MAIL_QUESTIONS],
context=context,
)
return render(request, "hjelp/question_submitted.html")
......@@ -104,25 +100,25 @@ def rebus(request):
# Send mail
context = {
"arrow_list": add_arrows(
[
bug_category_1,
bug_category_2,
bug_category_3,
bug_category_free_text,
]
),
"short_desc": short_description,
"long_desc": long_description,
"description": [add_arrows(
[
bug_category_1,
bug_category_2,
bug_category_3,
bug_category_free_text,
]
),
short_description,
long_description,
],
"user": request.user,
"type": _("Issue"),
}
send_mail_with_template(
f"[Issue] {short_description}",
[config.MAIL_Issue],
"hjelp/mail/rebus.txt",
"hjelp/mail/rebus.html",
context,
f"{request.user.get_full_name()} <{request.user.email}>",
send_templated_mail(
template_name="hjelp",
from_email=f"{request.user.get_full_name()} <{request.user.email}>",
recipient_list=[config.MAIL_REBUS],
context=context,
)
return render(request, "hjelp/rebus_submitted.html")
......@@ -158,22 +154,15 @@ def feedback(request):
# Send mail
context = {
"design": design_rating,
"performance": performance_rating,
"usability": usability_rating,
"overall": overall_rating,
"more": more,
"apps": apps,
"ideas": ideas,
"description": [design_rating, performance_rating, usability_rating, overall_rating, more, apps, ideas],
"user": request.user,
"type": _("Feedback"),
}
send_mail_with_template(
_(f"Feedback from {request.user.username}"),
[config.MAIL_FEEDBACK],
"hjelp/mail/feedback.txt",
"hjelp/mail/feedback.html",
context,
f"{request.user.get_full_name()} <{request.user.email}>",
send_templated_mail(
template_name="hjelp",
from_email=f"{request.user.get_full_name()} <{request.user.email}>",
recipient_list=[config.MAIL_FEEDBACK],
context=context,
)
return render(request, "hjelp/feedback_submitted.html")
......