kir*_*ril 5 django internationalization po
我正在使用 django i18n,并且makemessages在开发我的应用程序时,我被多次执行以包含我标记为翻译的新短语。
最近,我意识到有一些翻译(不是很多)标记为:
#~ msgid "Location:"
#~ msgstr "Lugar:"
#~ msgid "Sector:"
#~ msgstr "Sector:"
Run Code Online (Sandbox Code Playgroud)
我发现这些条目是重复的,因为在文件中也有正确的翻译:
#: templates/userprofile.html:63
msgid "Location"
msgstr "Lugar:"
#: tiesport/userprofile.html:69
msgid "Sector"
msgstr "Sector:"
Run Code Online (Sandbox Code Playgroud)
这个'#~'是什么意思?
根据Pology 手册(第 2.5.3 节),这些是过时的条目:
最后,第四类是过时的消息,即不再存在于源中的消息。所有过时的消息都在合并的 PO 文件的末尾分组,并由 #~ 注释完全注释掉
我在gettext 文档中找不到,但是 Pology 手册还声称“[t] 这里没有正式的 PO 格式规范;相反,Gettext 手册的相关部分作为其工作定义”。
| 归档时间: |
|
| 查看次数: |
1141 次 |
| 最近记录: |