lilypond-devel
[Top][All Lists]
Advanced

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

Example Source file Name (Welcome_to_Lilypond.ly)


From: Ian Hulin
Subject: Example Source file Name (Welcome_to_Lilypond.ly)
Date: Sun, 14 Mar 2010 10:44:50 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3

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



reply via email to

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