【发布时间】:2014-10-23 17:15:51
【问题描述】:
我正在使用 django i18n,并且在开发我的应用程序时,我已经多次执行 makemessages 以包含我标记为要翻译的新短语。
最近才发现有一些翻译(不多)标记为:
#~ msgid "Location:"
#~ msgstr "Lugar:"
#~ msgid "Sector:"
#~ msgstr "Sector:"
我发现这些条目是重复的,因为在文件中也有正确的翻译:
#: templates/userprofile.html:63
msgid "Location"
msgstr "Lugar:"
#: tiesport/userprofile.html:69
msgid "Sector"
msgstr "Sector:"
这个“#~”是什么意思?
【问题讨论】:
标签: django internationalization po