0
我必須串聯以下兩個.po文件級聯這些.po文件到一個單一的.po文件
firstfile.po
msgid "Select game"
msgstr "Choisissez le jeu"
msgid "Without answers1"
msgstr "Guide d'achat1"
secondfile.po
msgid "Select game"
msgstr "Choose category"
msgid "any one answer"
msgstr "Guide d'achat
這裏,等我在不使用--use-first
的情況下使用msgcat
進行拼接,所獲得的輸出po在下面給出。
output.po
msgid "Select game"
msgstr "Choisissez le jeu"
msgid "Without answers1"
msgstr "Guide d'achat1
msgid "any one answer"
msgstr "Guide d'achat
Thev上述輸出文件不列入包含所有找到的重複MSGID的msgstrs。
預期輸出是
output.po
msgid "Select game"
msgstr "Choisissez le jeu"
msgid "Without answers1"
msgstr "Guide d'achat1"
msgid "Select game"
msgstr "Choose category"
msgid "any one answer"
msgstr "Guide d'achat
有什麼辦法重複相同msgid
輸出PO文件
難道你的意思是'cat firstfile.po secondfile.po> output.po'? – 2012-07-22 13:16:06