原始文献 / 论坛帖 / Re: Website and software translations
Re: Website and software translations
Bitcointalk · 2010-10-21 22:50:47 UTC
顺序对程序无关紧要,但对我维护它很重要。如果它把 .po 文件的顺序打乱了,我就没法 diff 找改动。我在程序里改英文文本时,要更新全部 7 个翻译文件,顺序一致的话会轻松得多。
我还是可以让 poedit 重新扫描,把它恢复成正常顺序。
未翻译的字符串显示在最上面是正常的。
引用自 eurekafag(2010 年 10 月 6 日 07:39:36 PM)(https://bitcointalk.org/index.php?topic=151.msg15697#msg15697):顺便说,有几行很像,或许可以合并成一行。它们意思很接近,只差一两个词。当然只是个建议。
我知道,但不改复杂源代码的话不容易做到。
英文原文
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(https://bitcointalk.org/index.php?topic=151.msg15697#msg15697)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.
