fnp
/
librarian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
23d025c
)
Basic biblical tools.
master
author
Radek Czajka
<rczajka@rczajka.pl>
Wed, 20 Nov 2024 13:55:31 +0000
(14:55 +0100)
committer
Radek Czajka
<rczajka@rczajka.pl>
Wed, 20 Nov 2024 13:55:31 +0000
(14:55 +0100)
src/librarian/elements/__init__.py
patch
|
blob
|
history
src/librarian/elements/footnotes/__init__.py
patch
|
blob
|
history
src/librarian/locale/pl/LC_MESSAGES/messages.mo
patch
|
blob
|
history
src/librarian/locale/pl/LC_MESSAGES/messages.po
patch
|
blob
|
history
diff --git
a/src/librarian/elements/__init__.py
b/src/librarian/elements/__init__.py
index
0191ae5
..
affcb9e
100644
(file)
--- 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,
"pe": footnotes.PE,
"pr": footnotes.PR,
"pt": footnotes.PT,
+ "ptrad": footnotes.PTrad,
"ref": ref.Ref,
"ref": ref.Ref,
@@
-127,10
+128,14
@@
WL_ELEMENTS = {
"rownolegle": tools.Rownolegle,
"tab": tools.Tab,
"rownolegle": tools.Rownolegle,
"tab": tools.Tab,
- # Section
"wywiad_pyt": blocks.WywiadPyt,
"wywiad_odp": blocks.WywiadOdp,
"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,
# 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
(file)
--- 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")
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
(file)
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
(file)
--- 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"
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: \n"
-"PO-Revision-Date: 202
0-10-07 12:11+02
00\n"
+"PO-Revision-Date: 202
4-11-20 14:54+01
00\n"
"Last-Translator: Radek Czajka <rczajka@rczajka.pl>\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"
"Last-Translator: Radek Czajka <rczajka@rczajka.pl>\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."
msgid "translated by"
msgstr "tłum."
-#: src/librarian/builders/html.py:1
18
+#: src/librarian/builders/html.py:1
57
msgid "Footnotes"
msgstr "Przypisy"
msgid "Footnotes"
msgstr "Przypisy"
-#: src/librarian/elements/footnotes/__init__.py:11
1
+#: src/librarian/elements/footnotes/__init__.py:11
2
msgid "author's footnote"
msgstr "przypis autorski"
msgid "author's footnote"
msgstr "przypis autorski"
-#: src/librarian/elements/footnotes/__init__.py:1
19
+#: src/librarian/elements/footnotes/__init__.py:1
20
msgid "translator's footnote"
msgstr "przypis tłumacza"
msgid "translator's footnote"
msgstr "przypis tłumacza"
-#: src/librarian/elements/footnotes/__init__.py:12
7
+#: src/librarian/elements/footnotes/__init__.py:12
8
msgid "editor's footnote"
msgstr "przypis redakcyjny"
msgid "editor's footnote"
msgstr "przypis redakcyjny"
-#: src/librarian/elements/footnotes/__init__.py:13
5
+#: src/librarian/elements/footnotes/__init__.py:13
6
msgid "source editor's footnote"
msgstr "przypis edytorski"
msgid "source editor's footnote"
msgstr "przypis edytorski"
+
+#: src/librarian/elements/footnotes/__init__.py:144
+msgid "traditional footnote"
+msgstr "przypis tradycyjny"