Commit 9512783
* Update MANIFEST.in to include more sphinx_proof files
Added *.json, *.mo, and *.py files from the sphinx_proof directory to the package manifest for more comprehensive distribution. Removed global recursive inclusion of *.pot, *.po, and *.mo files.
* Expand translation coverage for proof terms
Added and updated translations for mathematical proof terms in multiple languages across all JSON files. Also updated and added compiled .mo files for new and existing locales to support broader internationalization.
* Add support for notation directive and translations
Introduces a new 'notation' directive and node to the Sphinx Proof extension, including registration in NODE_TYPES and PROOF_TYPES. Adds a Notation.json file with translations for 'Notation' in multiple languages and updates .mo files for localization support.
* Fix incorrect translations for Remark and Proposition
- Fixed Remark translations that incorrectly used 'Observation':
- Spanish (es): Observación → Nota
- Portuguese (pt): Observação → Nota
- Italian (it): Osservazione → Nota
- Greek (el): Παρατήρηση → Σημείωση
- Romanian (ro): Observație → Remarcă
- Fixed Proposition translation in Polish:
- Polish (pl): Twierdzenie → Propozycja
(Twierdzenie means 'Theorem', not 'Proposition')
- Regenerated all affected locale .mo files
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix duplicate NotationDirective class definition
Removed duplicate NotationDirective class that was causing issues.
Only one NotationDirective definition is needed.
* Fix duplicate notation_node class definition
Removed duplicate notation_node class in nodes.py.
Only one notation_node definition is needed.
---------
Co-authored-by: Dennis den Ouden-van der Horst <d.denouden-vanderhorst@tudelft.nl>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 9ad5f96 commit 9512783
10 files changed
Lines changed: 9 additions & 6 deletions
File tree
- sphinx_proof
- translations
- jsons
- locales
- el/LC_MESSAGES
- es/LC_MESSAGES
- it/LC_MESSAGES
- pl/LC_MESSAGES
- pt/LC_MESSAGES
- ro/LC_MESSAGES
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| 190 | + | |
190 | 191 | | |
191 | 192 | | |
192 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| 103 | + | |
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments