mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2024-11-21 20:21:03 +00:00
fix translation
This commit is contained in:
parent
29db37bca5
commit
8dde19105d
3 changed files with 51 additions and 17 deletions
|
@ -1,7 +1,8 @@
|
|||
from tempfile import NamedTemporaryFile
|
||||
|
||||
from django.utils.timezone import now
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from django.utils.translation import gettext_noop
|
||||
from i18nfield.strings import LazyI18nString
|
||||
from pretalx.schedule.exporters import ScheduleData
|
||||
from reportlab.lib import colors
|
||||
from reportlab.lib.enums import TA_CENTER
|
||||
|
@ -24,6 +25,9 @@ A4_WIDTH, A4_HEIGHT = A4
|
|||
PAGE_PADDING = 10 * mm
|
||||
|
||||
|
||||
def _(text):
|
||||
return LazyI18nString.from_gettext(gettext_noop(text))
|
||||
|
||||
class PDFInfoPage(Flowable):
|
||||
def __init__(self, event, schedule, fahrplan_day, room_details, talk, style):
|
||||
super().__init__()
|
||||
|
@ -153,10 +157,10 @@ class PDFInfoPage(Flowable):
|
|||
Table(
|
||||
[
|
||||
(
|
||||
"Duration",
|
||||
"Language",
|
||||
"Type",
|
||||
"Code",
|
||||
self._localize(_("Duration")),
|
||||
self._localize(_("Language")),
|
||||
self._localize(_("Type")),
|
||||
self._localize(_("Code")),
|
||||
),
|
||||
(
|
||||
self.talk.export_duration,
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-10-31 18:54+0100\n"
|
||||
"POT-Creation-Date: 2024-10-31 20:19+0100\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"
|
||||
|
@ -31,19 +31,35 @@ msgstr ""
|
|||
"Einige Helfer, die zur Unterstützung von Broadcasting-Software benutzt "
|
||||
"werden kann, zum Beispiel eine 'Bauchbinden'-Seite."
|
||||
|
||||
#: exporter.py:120
|
||||
#: exporter.py:124
|
||||
msgid "DO NOT RECORD - DO NOT STREAM"
|
||||
msgstr "NICHT AUFNEHMEN - NICHT STREAMEN"
|
||||
|
||||
#: exporter.py:203
|
||||
#: exporter.py:160
|
||||
msgid "Duration"
|
||||
msgstr "Dauer"
|
||||
|
||||
#: exporter.py:161
|
||||
msgid "Language"
|
||||
msgstr "Sprache"
|
||||
|
||||
#: exporter.py:162
|
||||
msgid "Type"
|
||||
msgstr "Typ"
|
||||
|
||||
#: exporter.py:163
|
||||
msgid "Code"
|
||||
msgstr "Code"
|
||||
|
||||
#: exporter.py:207
|
||||
msgid "Questions"
|
||||
msgstr "Fragen"
|
||||
|
||||
#: exporter.py:231
|
||||
#: exporter.py:235
|
||||
msgid "Notes"
|
||||
msgstr "Notizen"
|
||||
|
||||
#: exporter.py:253
|
||||
#: exporter.py:257
|
||||
msgid "Internal Notes"
|
||||
msgstr "Interne Notizen"
|
||||
|
||||
|
@ -152,8 +168,6 @@ msgid "broadcasting tools"
|
|||
msgstr "Broadcasting-Tools"
|
||||
|
||||
#: templates/pretalx_broadcast_tools/orga.html:14
|
||||
#, fuzzy
|
||||
#| msgid "room list"
|
||||
msgid "room"
|
||||
msgstr "Raum"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-10-31 18:54+0100\n"
|
||||
"POT-Creation-Date: 2024-10-31 20:18+0100\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"
|
||||
|
@ -28,19 +28,35 @@ msgid ""
|
|||
"software"
|
||||
msgstr ""
|
||||
|
||||
#: exporter.py:120
|
||||
#: exporter.py:124
|
||||
msgid "DO NOT RECORD - DO NOT STREAM"
|
||||
msgstr ""
|
||||
|
||||
#: exporter.py:203
|
||||
#: exporter.py:160
|
||||
msgid "Duration"
|
||||
msgstr ""
|
||||
|
||||
#: exporter.py:161
|
||||
msgid "Language"
|
||||
msgstr ""
|
||||
|
||||
#: exporter.py:162
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
|
||||
#: exporter.py:163
|
||||
msgid "Code"
|
||||
msgstr ""
|
||||
|
||||
#: exporter.py:207
|
||||
msgid "Questions"
|
||||
msgstr ""
|
||||
|
||||
#: exporter.py:231
|
||||
#: exporter.py:235
|
||||
msgid "Notes"
|
||||
msgstr ""
|
||||
|
||||
#: exporter.py:253
|
||||
#: exporter.py:257
|
||||
msgid "Internal Notes"
|
||||
msgstr ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue