gnuwin32用msgctxt连接po文件

时间:2020-06-26 07:25:53

标签: localization gettext gnuwin32

我已经成功使用gnuwin32 msgcat命令连接po文件。但是现在po文件之一包含带有上下文msgctxt的翻译。当我运行命令时,出现以下错误:

(null):..\<...>\de.po:71: keyword "msgctxt" unknown
(null): ..\<...>\de.po:71:8: parse error
(null):..\<...>\de.po:72: duplicate message definition
(null):..\<...>\de.po:69: ...this is the location of the first definition
(null): found 3 fatal errors

是否有msgcat的替代品,只是它支持msgctxt而做同样的事情?

编辑 很抱歉这么晚回复。这是错误的几行。因此,您可以看到msgcat不支持msgctx,因为它无法识别它。

Line 68 msgid "Cancel"
Line 69 msgstr "Abbrechen"
Line 70
Line 71 msgctxt "Views.Charge.Index"
Line 72 msgid "Cancel"
Line 73 msgstr "Stornieren"

0 个答案:

没有答案