------- Comment #19 from burnus at gcc dot gnu dot org 2008-05-03 13:55 ------- > PS. in emacs's po-mode, po-validate does not warning in this case, any script > to check this po file?
I had none, but now I wrote a very basic one, which misses several checks and gives false positives. I put the Perl script at http://physik.fu-berlin.de/~tburnus/tmp/check_po Remaining problems found using my just created script: msgid Unable to resolve the specific function '%s' at %L msgstr 不能解析 %$2L处的函数%1$s The problem is that %$2L should be %2$L. Probably no problem, but at least inconsistent: Missing % before <: ERROR: Wrong number of '%' signs(4 vs. 3) msgid both %<long%> and %<short%> in declaration specifiers msgstr 声明中同时使用了 <long%>和%<short%> ERROR: Wrong number of '%' signs(16 vs. 15) msgid expected %<+%>, %<*%>, %<-%>, %<&%>, %<^%>, %<|%>, %<&&%>, or %<||%> msgstr 需要%<+%>、<*%>、%<-%>、%<&%>、%<^%>、%<|%>、%<&&%>或%<||%> -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36103