On Freitag, 5. Dezember 2008, Johannes Meixner wrote:
I use it all the time but it does not detect all cases where a string should be marked for translation
Right. check_ycp is far from fool proof. That's what the documentation clearly
says:
file://usr/share/doc/packages/yast2-devtools/check_ycp/check_ycp_why.html
"Even though using check_ycp is pretty straightforward, some background
information is useful in order to understand what it does, its output and the
limitations of this tool - in short, what you can expect it to do and why not
to blindly rely on it.
check_ycp is far from fool proof. In fact, it is pretty dumb. It just tries to
parse YCP code ("try" is the operative word here!) and applies various checks
for obvious programming errors. Some errors it will catch and report, many it
will not. But we (i.e. the YaST2 core development team) decided we'd rather
have a tool with limited capabilities than none at all."
But then, it's much better than not having anything at all. The old rule holds
true again: "Engage brain. Use tools. Check if what they do makes sense." ;-)
CU
--
Stefan Hundhammer