[frogs] Example Source file Name (Welcome_to_Lilypond.ly)

[ Thread Index | Date Index | More lilynet.net/frogs Archives ]


There's a FIXME in lily.scm:
(define (gui-no-files-handler)
  (let* ((ly (string-append (ly:effective-prefix) "/ly/"))
     ;; FIXME: soft-code, localize
     (welcome-ly (string-append ly "Welcome_to_LilyPond.ly"))
     (cmd (get-editor-command welcome-ly 0 0 0)))
    (ly:message (_ "Invoking `~a'...\n") cmd)
    (system cmd)
    (exit 1)))

Translators/ Baumeister: Is this acceptable?

(define example_source_filename _ "Welcome_to_Lilypond")
(define (gui-no-files-handler)
  (let* ((ly (string-append (ly:effective-prefix) "/ly/"))
     ;; Allow localized names like "Bemvindo_a_Lilypond" or "Wilkommen_an_Lilypond"
     (welcome-ly (string-append ly example_source_filename ".ly"))
     (cmd (get-editor-command welcome-ly 0 0 0)))
    (ly:message (_ "Invoking `~a'...\n") cmd)
    (system cmd)
    (exit 1)))




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/