[Debian-handbook-translators] zh-CN build failure in weblate git help
tony
tonywang5 at 163.com
Mon Nov 9 03:43:26 GMT 2020
sorry, all guys
I translate the chapter 11 and I am sorry to make you trouble. The reason is I am not sure whether to keep the conntent unchanged or translate it, so I add some afterwards and place it outside block. since this is illegal, I will check what I have translated and pay attetion afterwards.
I translate this in Weblate online and did not check my mail on time. I do not use git now and I am not quite familiar with Weblate or the the translation rules. The problem you mentioned cannot be troubleshooted or fixed by myself, I suppose. I will try to check my email more ofter later. Sorry again.
Regards
wang, tao
At 2020-11-06 16:35:42, "xiao sheng wen(肖盛文)" <xsw at atzlinux.com> wrote:
>
>在 2020/11/6 下午3:47, Petter Reinholdtsen 写道:
>> [xiao sheng wen(肖盛文)]
>>> Beginning work on zh-CN
>>> DTD Validation failed for
>>> '/home/atzlinux/debian-handbook/tmp/zh-CN/xml/debian-handbook.xml':
>>> 11_network-services.xml:2295: validity error : Element indexterm content
>>> does not follow the DTD, expecting (primary? , ((secondary , ((tertiary
>>> , (see | seealso+)?) | see | seealso+)?) | see | seealso+)?), got
>>> (primary see CDATA)
>>> ERROR: failed to build HTML output for zh-CN
>> [...]
>>> Is there anybody would tell me how to debug more?
>> Sure. The error above report that there is
>> "<primary>text1</primary><see>text2</see>text3" somewhere, while the
>> docbook standard state that text3 can not bee there (designated CDATA in
>> the (primary see CDATA) sequence. Searching for 'primary see' in the
>> zh-CN translation on Weblate led me to this broken entry:
>>
>> "<primary>CIFS</primary><see>Common Internet File System</see>(公用因
>> 特网文件系统)"
>>
>> The trailing text need to move inside the <primary> or <see> block.
>
>Yes, you are right!
>
>After I update this entry as your said, zh-CN build SUCCESS!
>
>>
>> I fixed one of these earlier when pulling the weblate changes into salsa
>> earlier, so this is not the first such issue. Then I moved the triling
>> text into the <see> block. Perhaps a solution also here.
>
>Thanks again!
>
>
>xiao sheng wen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-handbook-translators/attachments/20201109/18e73138/attachment.html>
More information about the Debian-handbook-translators
mailing list