move a literal string that should be translated into the string-constants library

This commit is contained in:
Robby Findler 2013-01-05 12:22:37 -06:00
parent cce6f28d4d
commit 23fec98cbb
2 changed files with 3 additions and 5 deletions

View File

@ -412,11 +412,7 @@ module browser threading seems wrong.
[(not (drracket:language-configuration:language-allows-executable-creation? [(not (drracket:language-configuration:language-allows-executable-creation?
(drracket:language-configuration:language-settings-language settings))) (drracket:language-configuration:language-settings-language settings)))
(message-box (string-constant drscheme) (message-box (string-constant drscheme)
(string-append (string-constant drracket-creates-executables-only-in-some-languages)
"Executable creation in DrRacket is supported only in the teaching languages and"
" when the #lang line specifies the language (in “The Racket Language”)"
"\n\n"
"Consider using the raco exe command-line tool instead.")
frame frame
#:dialog-mixin frame:focus-table-mixin)] #:dialog-mixin frame:focus-table-mixin)]
[(not program-filename) [(not program-filename)

View File

@ -1000,6 +1000,8 @@ please adhere to these guidelines:
;;; executables ;;; executables
(create-executable-menu-item-label "Create &Executable...") (create-executable-menu-item-label "Create &Executable...")
(create-executable-title "Create Executable") (create-executable-title "Create Executable")
(drracket-creates-executables-only-in-some-languages
"Executable creation in DrRacket is supported only in the teaching languages and when the #lang line specifies the language (in “The Racket Language”)\n\nConsider using the raco exe command-line tool instead.")
(must-save-before-executable "You must save your program before creating an executable.") (must-save-before-executable "You must save your program before creating an executable.")
(save-a-mred-launcher "Save a GRacket Launcher") (save-a-mred-launcher "Save a GRacket Launcher")
(save-a-mzscheme-launcher "Save a Racket Launcher") (save-a-mzscheme-launcher "Save a Racket Launcher")