X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdocument-translation.scm;h=00b22be7a31ebc0640486a95653c2e7df610ae31;hb=e7638b90e908840010125d0c150db8c18a5016c7;hp=f7049cdeb2b80a91dc38c9897854035225dde550;hpb=b7a0cffbf9d1069860368f289a5b50e9d1d90ba8;p=lilypond.git diff --git a/scm/document-translation.scm b/scm/document-translation.scm index f7049cdeb2..00b22be7a3 100644 --- a/scm/document-translation.scm +++ b/scm/document-translation.scm @@ -1,6 +1,6 @@ ;;;; This file is part of LilyPond, the GNU music typesetter. ;;;; -;;;; Copyright (C) 2000--2009 Han-Wen Nienhuys +;;;; Copyright (C) 2000--2012 Han-Wen Nienhuys ;;;; Jan Nieuwenhuizen ;;;; ;;;; LilyPond is free software: you can redistribute it and/or modify @@ -113,7 +113,7 @@ #:text (engraver-doc-string grav #t))) ;; Second level, part of Context description -(define name->engraver-table (make-vector 61 '())) +(define name->engraver-table (make-hash-table 61)) (map (lambda (x) (hash-set! name->engraver-table (ly:translator-name x) x)) @@ -145,14 +145,14 @@ (string-append "@item Set " - (format "grob-property @code{~a} " + (format #f "grob-property @code{~a} " (string-join (map symbol->string path) " ")) - (format "in @ref{~a} to ~a." + (format #f "in @ref{~a} to ~a." context-sym (scm->texi value)) "\n"))) ((equal? (object-property context-sym 'is-grob?) #t) "") ((equal? tag 'assign) - (format "@item Set translator property @code{~a} to ~a.\n" + (format #f "@item Set translator property @code{~a} to ~a.\n" context-sym (scm->texi (car args)))) )))