擅长:python、mysql、java
<p>两个条目完全相同,即单数项与复数项相同。演示:</p>
<pre><code>msgid "Test"
msgstr "Toets"
msgid "Test"
msgid_plural "Tests"
msgstr[0] "Toets"
msgstr[1] "Toetse"
</code></pre>
<p>然后使用msgfmt编译它:</p>
^{pr2}$
<p>Gettext使用msgid作为字符串的键,因此它将看到这些单数和复数字符串是重复的。在</p>