diff --git a/pretix_servicefees/locale/nl_BE/LC_MESSAGES/django.po b/pretix_servicefees/locale/nl_BE/LC_MESSAGES/django.po new file mode 100644 index 0000000..be30812 --- /dev/null +++ b/pretix_servicefees/locale/nl_BE/LC_MESSAGES/django.po @@ -0,0 +1,134 @@ +# 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 , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-02-14 11:41+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: pretix_servicefees/apps.py:11 +msgid "Service Fees" +msgstr "" + +#: pretix_servicefees/apps.py:14 +msgid "This plugin allows to charge a service fee on all non-free orders." +msgstr "" + +#: pretix_servicefees/signals.py:25 +msgid "Service Fee" +msgstr "" + +#: pretix_servicefees/signals.py:183 +msgid "per ticket" +msgstr "" + +#: pretix_servicefees/signals.py:187 pretix_servicefees/signals.py:191 +msgid "per order" +msgstr "" + +#: pretix_servicefees/signals.py:194 +msgid "A service fee of {} will be added to the order total." +msgstr "" + +#: pretix_servicefees/signals.py:195 +msgid "plus" +msgstr "" + +#: pretix_servicefees/templates/pretix_servicefees/settings.html:5 +#: pretix_servicefees/templates/pretix_servicefees/settings.html:10 +msgid "Service fees" +msgstr "" + +#: pretix_servicefees/templates/pretix_servicefees/settings.html:21 +msgid "Service fees with resellers" +msgstr "" + +#: pretix_servicefees/templates/pretix_servicefees/settings.html:23 +msgid "" +"If you keep values empty, we will fall back to the values from above. If you " +"do not want to charge any fees through this sales channel, set them to zero " +"explicity." +msgstr "" + +#: pretix_servicefees/templates/pretix_servicefees/settings.html:31 +msgid "Save" +msgstr "" + +#: pretix_servicefees/views.py:13 pretix_servicefees/views.py:56 +msgid "Fixed fee per order" +msgstr "" + +#: pretix_servicefees/views.py:17 pretix_servicefees/views.py:60 +msgid "Percentual fee per order" +msgstr "" + +#: pretix_servicefees/views.py:18 pretix_servicefees/views.py:61 +msgid "" +"Percentage of the order total. Note that this percentage will currently only " +"be calculated on the summed price of sold tickets, not on other fees like e." +"g. shipping fees, if there are any." +msgstr "" + +#: pretix_servicefees/views.py:24 pretix_servicefees/views.py:67 +msgid "Fixed fee per ticket" +msgstr "" + +#: pretix_servicefees/views.py:25 pretix_servicefees/views.py:69 +msgid "" +"This fee will be added for each ticket sold, except for free items and " +"addons." +msgstr "" + +#: pretix_servicefees/views.py:29 +msgid "Do not charge service fee on tickets paid with gift cards" +msgstr "" + +#: pretix_servicefees/views.py:30 +msgid "" +"If a gift card is used for the payment, the percentual fees will be applied " +"on the value of the tickets minus the value of the gift cards. All fixed " +"fees will be dropped if the tickets can be paid with gift cards entirely. " +"This only works if the gift card is redeemd when the order is submitted, not " +"if it's used to pay an unpaid order later." +msgstr "" + +#: pretix_servicefees/views.py:37 +msgid "Do not charge per-ticket service fee on add-on products" +msgstr "" + +#: pretix_servicefees/views.py:41 +msgid "Do not charge per-ticket service fee on non-admission products" +msgstr "" + +#: pretix_servicefees/views.py:45 +msgid "Do not charge per-ticket service fee on free products" +msgstr "" + +#: pretix_servicefees/views.py:46 +msgid "" +"Note that regardless of this setting, a per-ticket fee will not be charged " +"if the entire order is free." +msgstr "" + +#: pretix_servicefees/views.py:50 +msgid "" +"Split taxes proportionate to the tax rates and net values of the ordered " +"products." +msgstr "" + +#: pretix_servicefees/views.py:51 +msgid "" +"If not split based on ordered products, the tax rate falls back to the " +"event’s base tax rate or no tax, if none is given." +msgstr "" diff --git a/pretix_servicefees/signals.py b/pretix_servicefees/signals.py index ccf0274..b1d1eb7 100644 --- a/pretix_servicefees/signals.py +++ b/pretix_servicefees/signals.py @@ -3,9 +3,9 @@ from decimal import Decimal from django.dispatch import receiver from django.http import HttpRequest from django.urls import resolve, reverse -from django.utils.translation import get_language, gettext, gettext_lazy as _ +from django.utils.translation import gettext, gettext_lazy as _ from pretix.base.decimal import round_decimal -from pretix.base.models import CartPosition, Event, Order, TaxRule +from pretix.base.models import CartPosition, Event, TaxRule from pretix.base.models.orders import OrderFee from pretix.base.settings import settings_hierarkey from pretix.base.signals import order_fee_calculation @@ -191,7 +191,7 @@ def front_page_top_recv(sender: Event, **kwargs): fees = fees + ['{} % {}'.format(fee_percent, gettext('per order'))] if fee_per_ticket or fee_abs or fee_percent: - return '

%s

' % gettext('A service fee of {} will be added on top of each order.').format( + return '

%s

' % gettext('A service fee of {} will be added to the order total.').format( ' {} '.format(gettext('plus')).join(fees) )