Hi,

This is for "

>>>Chinese speakers, I need feedback for you
>>>
>>>Rafael Fontenelle
>>>unread,Jul 3, 2024, 5:23:29 AM
>>>Hello,


>>>Running sphinx-lint in the Simplified Chinese (zh_CN) translation files of 
>>>Sphinx's own documentation reported some missing spaces between roles in the 
>>>paragraphs, and I wonder whether >>>the locale requires to NOT have spaces 
>>>(case which escaping would be a way out) or spaces can be added.


>>>For instance, for Sphinx FAQ in zh_CN, the translation file faq.po has 
>>>(NOTE: a proper font might need to be installed see the translation):


>>>#: ../../sphinx/doc/faq.rst:19
>>>msgid ""
>>>"They are automatic in LaTeX output; for HTML, give a ``:numbered:`` option "
>>>"to the :rst:dir:`toctree` directive where you want to start numbering."
>>>msgstr ""
>>>"它们在LaTeX输出中是自动的;对于HTML,为:rst:方向:`toctree`指令,从中开始编"
>>>"号。"


>>>Notice how there is no space between ":rst:dir:`toctree`" (besides some 
>>>wrong characters between).

"





I can not reply directly at the moment., so I write the reply here.




The problem should be that the Chinese translation may be machine translated, 
resulting in unrecognized sphinx+rst syntax.
The correct Chinese translation should not translate  :rst:dir:`toctree`.

I think the correct Chinese translation should be as follows:





msgstr ""

"它们在LaTeX输出中是自动的;对于HTML,在开始编号的位置"
"给:rst:dir:`toctree`指令一个 ``:numbered:`` 选项。"












--
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/CAFPa%2BS%3DwFcSGnKbrA%3DwXBdQQyabMHK01D1FQPAe07%3DvO%3D_4CGQ%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/3c1ddb97.911b.190ca5ff543.Coremail.classenu%40163.com.

Reply via email to