回复:网站和软件翻译
原始发布页
打开来源页面查看 1 个交叉存档
顺序对程序无关紧要,但对我的维护工作很重要。如果它打乱了 .po 文件的顺序,我就无法用 diff 查看变更。每当我修改程序中的英文文本时,都必须更新全部 7 个翻译文件,而当它们的顺序都相同时会更容易。
我仍然可以让 poedit 重新扫描它,从而恢复正常顺序。
未翻译的字符串显示在顶部是正常的。
引用 eurekafag 发表于 2010 年 10 月 06 日 07:39:36 PM
顺便说一下,有一些相似的行或许可以用一行替代。它们的含义非常接近,只有 1-2 个词不同。当然,这只是一个建议。
我知道,但如果不让源代码变复杂,就很难做到。
英文原文
展开英文原文
The order matters not to the program, but it matters to me maintaining it. If it jumbles the order of the .po file then I can't diff for changes. I have to update all 7 translation files when I change the English text in the program, and it's easier when they're all in the same order.
I can still put it back into normal order by making poedit rescan it.
It is normal that untranslated strings are shown on top.
Quote from: eurekafag on October 06, 2010, 07:39:36 PM
By the way, there are some similar lines that possibly may be replaced by one. They are very close by meaning and differs only by 1-2 words. Just a suggestion of course.
I know, but not easily without complicating the sourcecode.