|
From: <mi...@us...> - 2023-05-11 15:01:23
|
Revision: 9383
http://sourceforge.net/p/docutils/code/9383
Author: milde
Date: 2023-05-11 15:01:20 +0000 (Thu, 11 May 2023)
Log Message:
-----------
Announce upcoming fix for the localization of the "admonition" directive name.
Modified Paths:
--------------
trunk/docutils/RELEASE-NOTES.txt
trunk/docutils/docutils/parsers/rst/languages/fr.py
Modified: trunk/docutils/RELEASE-NOTES.txt
===================================================================
--- trunk/docutils/RELEASE-NOTES.txt 2023-05-11 14:23:48 UTC (rev 9382)
+++ trunk/docutils/RELEASE-NOTES.txt 2023-05-11 15:01:20 UTC (rev 9383)
@@ -183,6 +183,15 @@
__ docs/ref/transforms.html
+* docutils/parsers/rst/languages/
+
+ Fix mistranslated localizations of the "admonition" directive name in
+ Docutils 0.21 (or later). In Docutils, "admonition" is used as a
+ generic term for "advice"/"caveat"/"remark", not a reprimand.
+ Use the English term (or specific admonitions) instead of "aanmaning",
+ "ammonizione", "Ermahnung", "exhortacion", "formaning", "upomnienie",
+ or "vermaning" to avoid errors in future conversions.
+
.. _front end tools: docs/user/tools.html
.. _input encoding:
.. _input_encoding: docs/user/config.html#input-encoding
Modified: trunk/docutils/docutils/parsers/rst/languages/fr.py
===================================================================
--- trunk/docutils/docutils/parsers/rst/languages/fr.py 2023-05-11 14:23:48 UTC (rev 9382)
+++ trunk/docutils/docutils/parsers/rst/languages/fr.py 2023-05-11 15:01:20 UTC (rev 9383)
@@ -26,6 +26,8 @@
'astuce': 'tip',
'avertissement': 'warning',
'admonition': 'admonition', # sic! Not used in this sense in rST.
+ # suggestions: annonce, avis, indication, remarque, renseignement
+ # see also https://sourceforge.net/p/docutils/bugs/453/
'encadré': 'sidebar',
'sujet': 'topic',
'bloc-textuel': 'line-block',
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|