bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ly:expect-warning message translation


From: ArnoldTheresius
Subject: ly:expect-warning message translation
Date: Tue, 7 Apr 2015 04:16:43 -0700 (MST)

>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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]