Compare commits

...

11 Commits

Author SHA1 Message Date
Richard Schreiber
e70a903875 fix flake8 2025-03-12 12:26:30 +01:00
Richard Schreiber
fa0aa71c5c Fix race-condition when creating a customer 2025-03-12 12:23:04 +01:00
Richard Schreiber
032be74d77 Add min/max-limit on giftcard_expiry_years 2025-03-12 08:54:40 +01:00
Raphael Michel
e2e811ea47 Search engines: Do not index event lists for specific dates (#23185037) (#4901) 2025-03-11 16:09:40 +01:00
Renne Rocha
febf32a0a4 Translations: Update Portuguese (Brazil)
Currently translated at 74.4% (4358 of 5853 strings)

Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/pt_BR/

powered by weblate
2025-03-07 14:46:39 +01:00
Renne Rocha
0a63ae67d3 Translations: Update Portuguese (Brazil)
Currently translated at 74.4% (4358 of 5853 strings)

Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/pt_BR/

powered by weblate
2025-03-07 14:46:39 +01:00
Renne Rocha
da4438bbf7 Translations: Update Portuguese (Brazil)
Currently translated at 69.9% (4094 of 5853 strings)

Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/pt_BR/

powered by weblate
2025-03-07 14:46:39 +01:00
조정화
6dc5f5bc99 Translations: Update Korean
Currently translated at 2.2% (133 of 5853 strings)

Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/ko/

powered by weblate
2025-03-07 14:46:39 +01:00
Renne Rocha
a6d3139e25 Translations: Update Portuguese (Brazil)
Currently translated at 69.2% (4053 of 5853 strings)

Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/pt_BR/

powered by weblate
2025-03-07 14:46:39 +01:00
조정화
7348c1a3d4 Translations: Update Korean
Currently translated at 2.1% (127 of 5853 strings)

Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/ko/

powered by weblate
2025-03-07 14:46:39 +01:00
Renne Rocha
16811a1e63 Translations: Update Portuguese (Brazil)
Currently translated at 67.5% (3953 of 5853 strings)

Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/pt_BR/

powered by weblate
2025-03-07 14:46:39 +01:00
6 changed files with 663 additions and 869 deletions

View File

@@ -3291,6 +3291,8 @@ Your {organizer} team""")) # noqa: W291
label=_('Validity of gift card codes in years'),
help_text=_('If you set a number here, gift cards will by default expire at the end of the year after this '
'many years. If you keep it empty, gift cards do not have an explicit expiry date.'),
min_value=0,
max_value=99,
)
},
'cookie_consent': {

View File

@@ -8,8 +8,8 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-02-25 10:10+0000\n"
"PO-Revision-Date: 2025-02-11 20:00+0000\n"
"Last-Translator: deborahfoell <deborah.foell@om.org>\n"
"PO-Revision-Date: 2025-03-05 15:00+0000\n"
"Last-Translator: 조정화 <junghwa.jo@om.org>\n"
"Language-Team: Korean <https://translate.pretix.eu/projects/pretix/pretix/ko/"
">\n"
"Language: ko\n"
@@ -17,7 +17,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 5.9.2\n"
"X-Generator: Weblate 5.10.2\n"
#: pretix/_base_settings.py:87
msgid "English"
@@ -57,7 +57,7 @@ msgstr "체코어"
#: pretix/_base_settings.py:96
msgid "Croatian"
msgstr ""
msgstr "크로아티아어"
#: pretix/_base_settings.py:97
msgid "Danish"
@@ -290,17 +290,14 @@ msgstr ""
"다. 전용 중첩은 마지막 지점에서 사용해주세요."
#: pretix/api/serializers/item.py:306
#, fuzzy
msgid "Only admission products can currently be personalized."
msgstr "현재 입장권 상품만 개인화할 수 있습니다."
#: pretix/api/serializers/item.py:317
#, fuzzy
msgid ""
"Gift card products should not be associated with non-zero tax rates since "
"sales tax will be applied when the gift card is redeemed."
msgstr ""
"기프트 카드 상품은 0이 아닌 세율과 연결되어서는 안됩니다. 왜냐하면 판매세는 "
msgstr "기프트 카드 상품은 0이 아닌 세율과 연결되어서는 안됩니다. 왜냐하면 판매세는 "
"기프트 카드가 사용될 때 부과되기 때문입니다."
#: pretix/api/serializers/item.py:322 pretix/control/forms/item.py:774
@@ -308,13 +305,11 @@ msgid "Gift card products should not be admission products at the same time."
msgstr "기프트 카드 상품은 동시에 입장권 상품이 될 수 없습니다."
#: pretix/api/serializers/item.py:519
#, fuzzy
msgid ""
"Updating options via PATCH/PUT is not supported. Please use the dedicated "
"nested endpoint."
msgstr ""
"옵션을 PATCH/PUT을 통해 업데이트 하는 것은 지원되지 않습니다. 전용 중첩 마지"
"막 지점을 사용하세요."
msgstr "옵션을 PATCH/PUT을 통해 업데이트 하는 것은 지원되지 않습니다. 전용 중첩 "
"마지막 지점을 사용하세요."
#: pretix/api/serializers/item.py:533 pretix/control/forms/item.py:178
msgid "Question cannot depend on a question asked during check-in."
@@ -333,7 +328,6 @@ msgid "This type of question cannot be shown during check-in."
msgstr "체크인 중에는 이러한 유형의 질문을 표시할 수 없습니다."
#: pretix/api/serializers/media.py:108
#, fuzzy
msgid ""
"A medium with the same identifier and type already exists in your organizer "
"account."
@@ -355,7 +349,6 @@ msgid "The product \"{}\" is not available on this date."
msgstr "\"{}\" 제품은 이 날짜에 구매할 수 없습니다."
#: pretix/api/serializers/order.py:1422 pretix/api/views/cart.py:200
#, fuzzy
msgid ""
"There is not enough quota available on quota \"{}\" to perform the operation."
msgstr "할당량 \"{}\"에 작업을 수행할 수 있는 할당량이 충분하지 않습니다."
@@ -576,7 +569,7 @@ msgstr "대기자 명단 항목 추가"
#: pretix/api/webhooks.py:374
msgid "Waiting list entry changed"
msgstr ""
msgstr "대기자명단 항목이 변경되었습니다."
#: pretix/api/webhooks.py:378
msgid "Waiting list entry deleted"

File diff suppressed because it is too large Load Diff

View File

@@ -257,18 +257,21 @@ class RegistrationForm(forms.Form):
return self.cleaned_data
def create(self):
customer = self.request.organizer.customers.create(
customer, created = self.request.organizer.customers.get_or_create(
email=self.cleaned_data['email'],
name_parts=self.cleaned_data['name_parts'],
phone=self.cleaned_data.get('phone'),
is_active=True,
is_verified=False,
locale=get_language_without_region(),
defaults={
"name_parts": self.cleaned_data['name_parts'],
"phone": self.cleaned_data.get('phone'),
"is_active": True,
"is_verified": False,
"locale": get_language_without_region(),
}
)
customer.set_unusable_password()
customer.save()
customer.log_action('pretix.customer.created', {})
customer.send_activation_mail()
if created:
customer.set_unusable_password()
customer.save()
customer.log_action('pretix.customer.created', {})
customer.send_activation_mail()
return customer

View File

@@ -15,6 +15,8 @@
{% block custom_header %}
{% if event.settings.meta_noindex %}
<meta name="robots" content="noindex, nofollow">
{% elif "date" in request.GET or "old" in request.GET %}
<meta name="robots" content="noindex, follow">
{% endif %}
<meta property="og:type" content="website" />
{% if social_image %}

View File

@@ -11,6 +11,8 @@
{% block custom_header %}
{% if organizer.settings.meta_noindex %}
<meta name="robots" content="noindex, nofollow">
{% elif "date" in request.GET or "old" in request.GET %}
<meta name="robots" content="noindex, follow">
{% endif %}
<meta property="og:type" content="website" />