2017-03-11 54 views
0

我在POEdit中收到重複的消息定義錯誤,我無法從該目錄更新。如何找到POEdit錯誤

POEdit不顯示詳細信息,並且錯誤中的行號不匹配。

我怎樣才能找到什麼是錯的?

Sat Mar 11 16:51:31 2017: /var/folders/qt/cg8qlhc159v9s15kmhy1h4440000gn/T/poeditgGtdFw/1input.po:2791: duplicate message definition... 
Sat Mar 11 16:51:31 2017: /var/folders/qt/cg8qlhc159v9s15kmhy1h4440000gn/T/poeditgGtdFw/1input.po:65: ...this is the location of the first definition 
Sat Mar 11 16:51:31 2017: /var/folders/qt/cg8qlhc159v9s15kmhy1h4440000gn/T/poeditgGtdFw/1input.po:2827: duplicate message definition... 
Sat Mar 11 16:51:31 2017: /var/folders/qt/cg8qlhc159v9s15kmhy1h4440000gn/T/poeditgGtdFw/1input.po:1530: ...this is the location of the first definition 
Sat Mar 11 16:51:31 2017: /Users/burakkilic/Applications/Poedit.app/Contents/PlugIns/GettextTools.bundle/Contents/MacOS/bin/msgmerge: found 2 fatal errors 
Sat Mar 11 16:51:31 2017: Entries in the catalogue are probably incorrect. 
Sat Mar 11 16:51:31 2017: Updating the catalogue failed. Click on 'Details >>' for details. 

回答

1

我如何才能找到什麼是錯的?

msgfmt -v -c

+0

的msgfmt -v -c tr.po顯示問題出在哪裏。非常感謝,接受爲答案。 – Burak

+0

你如何在Windows上運行這個? – icc97