From: Radek Czajka Date: Wed, 20 Nov 2024 13:55:31 +0000 (+0100) Subject: Basic biblical tools. X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/f164694b5e7ad5ed5f6d95743f9259bd3a9292bd?ds=inline;hp=23d025c8875cca1404f274aca7170c9db5e980e7 Basic biblical tools. --- diff --git a/src/librarian/elements/__init__.py b/src/librarian/elements/__init__.py index 0191ae5..affcb9e 100644 --- a/src/librarian/elements/__init__.py +++ b/src/librarian/elements/__init__.py @@ -79,6 +79,7 @@ WL_ELEMENTS = { "pe": footnotes.PE, "pr": footnotes.PR, "pt": footnotes.PT, + "ptrad": footnotes.PTrad, "ref": ref.Ref, @@ -127,10 +128,14 @@ WL_ELEMENTS = { "rownolegle": tools.Rownolegle, "tab": tools.Tab, - # Section "wywiad_pyt": blocks.WywiadPyt, "wywiad_odp": blocks.WywiadOdp, + # Biblical + "werset": bible.Werset, + "sekcja_petucha": bible.Petucha, + "sekcja_stuma": bible.Stuma, + # Inline MathML, should really be namespaced. "mrow": styles.MRow, "mi": styles.M, diff --git a/src/librarian/elements/footnotes/__init__.py b/src/librarian/elements/footnotes/__init__.py index a94b968..a342e05 100644 --- a/src/librarian/elements/footnotes/__init__.py +++ b/src/librarian/elements/footnotes/__init__.py @@ -134,3 +134,11 @@ class PE(Footnote): def qualifier(self): _ = self.gettext return _("source editor's footnote") + + +class PTrad(Footnote): + """Przypis tradycyjny.""" + @property + def qualifier(self): + _ = self.gettext + return _("traditional footnote") diff --git a/src/librarian/locale/pl/LC_MESSAGES/messages.mo b/src/librarian/locale/pl/LC_MESSAGES/messages.mo index 1246851..aa1ab3d 100644 Binary files a/src/librarian/locale/pl/LC_MESSAGES/messages.mo and b/src/librarian/locale/pl/LC_MESSAGES/messages.mo differ diff --git a/src/librarian/locale/pl/LC_MESSAGES/messages.po b/src/librarian/locale/pl/LC_MESSAGES/messages.po index 3c60fe2..c31f3bb 100644 --- a/src/librarian/locale/pl/LC_MESSAGES/messages.po +++ b/src/librarian/locale/pl/LC_MESSAGES/messages.po @@ -8,35 +8,39 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2020-10-07 12:11+0200\n" +"PO-Revision-Date: 2024-11-20 14:54+0100\n" "Last-Translator: Radek Czajka \n" "Language-Team: \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.3\n" +"X-Generator: Poedit 3.4.2\n" -#: src/librarian/builders/html.py:94 +#: src/librarian/builders/html.py:136 msgid "translated by" msgstr "tłum." -#: src/librarian/builders/html.py:118 +#: src/librarian/builders/html.py:157 msgid "Footnotes" msgstr "Przypisy" -#: src/librarian/elements/footnotes/__init__.py:111 +#: src/librarian/elements/footnotes/__init__.py:112 msgid "author's footnote" msgstr "przypis autorski" -#: src/librarian/elements/footnotes/__init__.py:119 +#: src/librarian/elements/footnotes/__init__.py:120 msgid "translator's footnote" msgstr "przypis tłumacza" -#: src/librarian/elements/footnotes/__init__.py:127 +#: src/librarian/elements/footnotes/__init__.py:128 msgid "editor's footnote" msgstr "przypis redakcyjny" -#: src/librarian/elements/footnotes/__init__.py:135 +#: src/librarian/elements/footnotes/__init__.py:136 msgid "source editor's footnote" msgstr "przypis edytorski" + +#: src/librarian/elements/footnotes/__init__.py:144 +msgid "traditional footnote" +msgstr "przypis tradycyjny"