forked from CGM_Public/pretix_original
Fix string formatting issue in log message
This commit is contained in:
@@ -534,7 +534,7 @@ def pretixcontrol_logentry_display(sender: Event, logentry: LogEntry, **kwargs):
|
||||
if logentry.action_type == 'pretix.event.order.canceled':
|
||||
comment = logentry.parsed_data.get('comment')
|
||||
if comment:
|
||||
return _('The order has been canceled (comment: "{}").').format(comment)
|
||||
return _('The order has been canceled (comment: "{comment}").').format(comment=comment)
|
||||
else:
|
||||
return _('The order has been canceled.')
|
||||
|
||||
|
||||
@@ -12504,7 +12504,7 @@ msgstr "أكد المستخدم الرسالة التالية: \"{}\""
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "The order has been denied."
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "تم رفض الطلب."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -12884,7 +12884,7 @@ msgstr ""
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "A voucher has already been sent to this person."
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "Ja s'ha enviat un val a aquesta persona."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -11539,7 +11539,7 @@ msgid "The user confirmed the following message: \"{}\""
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:537
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -12330,7 +12330,7 @@ msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "Bestillingen er blevet tilbagebetalt."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -12977,7 +12977,7 @@ msgid "The user confirmed the following message: \"{}\""
|
||||
msgstr "Der Nutzer hat diesen Text bestätigt: \"{}\""
|
||||
|
||||
#: pretix/control/logdisplay.py:537
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "Die Bestellung wurde storniert (Kommentar: \"{comment}\")."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -12958,7 +12958,7 @@ msgid "The user confirmed the following message: \"{}\""
|
||||
msgstr "Der Nutzer hat diesen Text bestätigt: \"{}\""
|
||||
|
||||
#: pretix/control/logdisplay.py:537
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "Die Bestellung wurde storniert (Kommentar: \"{comment}\")."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -11310,7 +11310,7 @@ msgid "The user confirmed the following message: \"{}\""
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:537
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -13547,7 +13547,7 @@ msgstr "Ο χρήστης επιβεβαίωσε το ακόλουθο μήνυ
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "The order has been denied."
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "Η παραγγελία απορρίφθηκε."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -13426,7 +13426,7 @@ msgstr "El usuario confirmó el siguiente mensaje: \"{}\""
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "The order has been denied."
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "La orden ha sido denegada."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -11422,7 +11422,7 @@ msgstr ""
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "The order has been deleted."
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "Tilaus poistettu."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -13712,7 +13712,7 @@ msgstr "L'utilisateur a confirmé le message suivant : \"{}\""
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "The order has been refunded."
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "La commande a été remboursée."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -13685,7 +13685,7 @@ msgstr "El usuario confirmó el siguiente mensaje: \"{}\""
|
||||
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "La orden ha sido denegada."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -11311,7 +11311,7 @@ msgid "The user confirmed the following message: \"{}\""
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:537
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -11496,7 +11496,7 @@ msgstr ""
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "The selected seat \"{seat}\" is not available."
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "A kiválasztott \"{seat}\" ülés nem elérhető."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -11983,7 +11983,7 @@ msgstr ""
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "Order changed"
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "Ordine modificato"
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -11339,7 +11339,7 @@ msgid "The user confirmed the following message: \"{}\""
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:537
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -11747,7 +11747,7 @@ msgstr ""
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "The order has been canceled."
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "Pasūtījums ir atcelts."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -11403,7 +11403,7 @@ msgid "The user confirmed the following message: \"{}\""
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:537
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -12851,7 +12851,7 @@ msgstr "De gebruiker bevestigde het volgende bericht: \"{}\""
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "The order has been denied."
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "De bestelling is geweigerd."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -11309,7 +11309,7 @@ msgid "The user confirmed the following message: \"{}\""
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:537
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -12858,7 +12858,7 @@ msgstr "De gebruiker bevestigde het volgende bericht: \"{}\""
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "The order has been denied."
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "De bestelling is geweigerd."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -12107,7 +12107,7 @@ msgstr ""
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "A voucher has already been sent to this person."
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "Voucher został już wysłany do tej osoby."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -11310,7 +11310,7 @@ msgid "The user confirmed the following message: \"{}\""
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:537
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -11373,7 +11373,7 @@ msgid "The user confirmed the following message: \"{}\""
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:537
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -12361,7 +12361,7 @@ msgstr ""
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "Your cart has been updated."
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "Seu carrinho foi atualizado."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -13009,7 +13009,7 @@ msgstr "O utilizador confirmou a seguinte mensagem: \"{}\""
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "The order has been denied."
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "A encomenda foi negada."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -11312,7 +11312,7 @@ msgid "The user confirmed the following message: \"{}\""
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:537
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -12346,7 +12346,7 @@ msgstr ""
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "The order has been canceled."
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "Заказ отменён."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -11341,7 +11341,7 @@ msgid "The user confirmed the following message: \"{}\""
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:537
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -12184,7 +12184,7 @@ msgstr "Uporabnik je potrdil naslednje sporočilo: \"{}\""
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "The voucher has been sent to {recipient}."
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "Bon je poslan prejemniku/ci {recipient}."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -12244,7 +12244,7 @@ msgstr ""
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "The invoice has been generated."
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "Denna faktura har skapats."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -13634,7 +13634,7 @@ msgstr "Kullanıcı şu mesajı doğruladı: \"{}\""
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "The order has been denied."
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "Sipariş reddedildi."
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -11310,7 +11310,7 @@ msgid "The user confirmed the following message: \"{}\""
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:537
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr ""
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
@@ -12783,7 +12783,7 @@ msgstr "用户确认以下消息:\"{}\""
|
||||
#: pretix/control/logdisplay.py:537
|
||||
#, fuzzy
|
||||
#| msgid "The order has been denied."
|
||||
msgid "The order has been canceled (comment: \"{}\")."
|
||||
msgid "The order has been canceled (comment: \"{comment}\")."
|
||||
msgstr "订单已拒绝。"
|
||||
|
||||
#: pretix/control/logdisplay.py:539 pretix/control/views/orders.py:1291
|
||||
|
||||
Reference in New Issue
Block a user