>Documentation - Internals - Scheme functions - ly:expect-warning

I did read this paragraph in a way that the folloing should work:
#(ly:expect-warning (_ "no such internal option: %s") "dual-pdf")
But I only got an error message (on Win7/64 with version 2.18.2 and language
DE).

I found, instead of using '(_' this will work:
#(ly:expect-warning (ly:translate-cpp-warning-scheme "no such internal
option: %s") "dual-pdf")

Additionally, I did know already, but I suggest to add it to the
desctiption, too:
"You can also lookup the untranslated message string in the PO files of the
source code."

ArnoldTheresius







--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/ly-expect-warning-message-translation-tp174159.html
Sent from the Bugs mailing list archive at Nabble.com.

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to