X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdocument-translation.scm;h=b6afa8298b982d2468ac99e1c2e272e6370a89ac;hb=70914e508fe4d9bdde80aeead8a5013491bd2b6e;hp=9f4c788443579f5b9f5cffed7b96b4e8b589eaf4;hpb=bc95f4434f760d41191341ab4508b2064eb19025;p=lilypond.git diff --git a/scm/document-translation.scm b/scm/document-translation.scm index 9f4c788443..b6afa8298b 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--2010 Han-Wen Nienhuys +;;;; Copyright (C) 2000--2011 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)))) )))