Closed aggronmagi closed 3 years ago
我这边没发现这个问题啊,包含换行也能正常翻译。不知道你说的大段文档需要去除换行才能翻译是什么情况,能不能提供更多信息?
将换行替换成空格,翻译完的结果跟原文格式不一样了,也许不是太好的方案。
下面这段是从emacs info 中复制出来的.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sections being “GNU General Public License,” with the Front-Cover Texts being “A GNU Manual,” and with the Back-Cover Texts as in (a) below. A copy of the license is included in the section entitled “GNU Free Documentation License.”
下面是去除换行的. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sections being “GNU General Public License,” with the Front-Cover Texts being “A GNU Manual,” and with the Back-Cover Texts as in (a) below. A copy of the license is included in the section entitled “GNU Free Documentation License.”
我一次只翻译一个段. 所以格式被修改了我这是可以接受的.
我关掉pull request了啊. 插件允许我替换那个函数. 我在本地修改了.
上面没换行的,在我这里也能正常翻译。你那边翻译不了,我估计是其他原因导致的
当选择一大段文档进行翻译的时候,需要去除换行才能正确翻译.