16,719
edits
Changes
From Gramps
m
no edit summary
原文:
* Download <code>gramps.pot</code> from GRAMPS SVN repository, see [[Brief_introduction_to_SVN| the introduction to SVN]].
* Look for <code>gramps.pot</code> in the directory <code>gramps31gramps{{stable_branch}}/po</code> or if you looking for the trunk version look for <code>gramps.pot</code> in the directory <code>trunk/po</code>.
译文:
* 从GRAMPS SVN 仓库下载 <code>gramps.pot</code>,参照[[Brief_introduction_to_SVN| the introduction to SVN]].
* 在<code>gramps31gramps{{stable_branch}}/po</code> 目录中搜索<code>gramps.pot</code> ,或者你在trunk 版本中的<code>trunk/po</code>目录搜索<code>gramps.pot</code>。
===Translating messages===
原文:
In the directory <code>gramps31gramps{{stable_branch}}/po</code> or the <code>trunk/po</code> run the command: <pre>make</pre> If there are errors in your po file, this will fail and give you an error message. You should correct these errors. If you have trouble understanding the error, try to run the next test, which might give a more verbose output.
译文:
在目录<code>gramps31gramps{{stable_branch}}/po</code> 或者 <code>trunk/po</code> 中运行命令:<pre>make</pre> 如果在你的 po 文件中有错误,将会编译失败,并且反馈错误信息。你应该纠正这些错误。 如果你无法理解错误,尝试下一个测试,可能会给你更加冗长的输出。
====check_po====
原文
In the directory <code>gramps31gramps{{stable_branch}}/po</code> or the <code>trunk/po</code> run the command: <pre>./check_po lang.po</pre> or <pre>python check_po lang.po > lang</pre> or <pre>alternative under Windows OS ???</pre> where lang is your language code. This will give you errors in your translation, information on badly translated phrases, ... the output could resemble something like this..
译文:
在目录 <code>gramps31gramps{{stable_branch}}/po</code> 或者 <code>trunk/po</code>中运行命令: <pre>./check_po lang.po</pre> 或者 <pre>python check_po lang.po > lang</pre> 或者 <pre>alternative under Windows OS ???</pre> 其中 lang是你语言的编码。 这将会在你的翻译中提供更多的错误信息,包括不适当的翻译句型,...输出可能类似以下:
原文:
In the directory <code>gramps31gramps{{stable_branch}}/po</code> or the <code>trunk/po</code> run the command: <pre>msgfmt --statistics lang.po</pre> where lang is your language code. This should not throw an error.
Basically this gives the same info in a condensed format: 3533 translated messages, 125 fuzzy translations, 12 untranslated messages.
译文:
在目录 <code>gramps31gramps{{stable_branch}}/po</code> 或者 <code>trunk/po</code> 下运行命令:<pre>msgfmt --statistics lang.po</pre> 其中 lang 代表你的语言编码。 这应该不会发生错误。
大体上说,这会显示一种紧凑的格式:3533 已翻译,125 模糊翻译,12 未翻译。