[plt-translators] english-string-constants.rkt update

From: Philippe Meunier (meunier at ccs.neu.edu)
Date: Fri Nov 23 07:34:47 EST 2012

commit 5b18645a9a5f1646d69f6d3ff1b761cb7def3e65
Author: Robby Findler <robby at racket-lang.org>
Date:   Thu Nov 22 19:24:22 2012 -0600

    added spelling dictionary support
    
    related to PR 13242

commit 25e92e2cc224784f19a7aef9686156ce27a04e8a
Author: Robby Findler <robby at racket-lang.org>
Date:   Thu Nov 22 15:07:34 2012 -0600

    use "replace" instead of "delete" for executable creation when
    the file already exists and improve error handling
    
    closes PR 13243
============================================================
diff --git a/collects/string-constants/private/english-string-constants.rkt b/collects/string-constants/private/english-string-constants.rkt
index bdd38b5..2fe2bc8 100644
--- a/collects/string-constants/private/english-string-constants.rkt
+++ b/collects/string-constants/private/english-string-constants.rkt
@@ -120,6 +120,7 @@ please adhere to these guidelines:
  (stop "Stop")   
  (&stop "&Stop") ;; for use in button and menu item labels, with short cut.
  (are-you-sure-delete? "Are you sure you want to delete ~a?") ;; ~a is a filename or directory name
+ (are-you-sure-replace? "Are you sure you want to replace ~a?") ;; ~a is a filename or directory name
  (ignore "Ignore")
  (revert "Revert")
 
@@ -995,7 +996,8 @@ please adhere to these guidelines:
  (save-a-mzscheme-stand-alone-executable "Save a Racket Stand-alone Executable")
  (save-a-mred-distribution "Save a GRacket Distribution")
  (save-a-mzscheme-distribution "Save a Racket Distribution")
-
+ (error-creating-executable "Error creating executable:") ;; this is suffixed with an error message ala error-display-handler
+  
  (definitions-not-saved "The definitions window has not been saved. The executable will use the latest saved version of the definitions window. Continue?")
  ;; The "-explanatory-label" variants are the labels used for the radio buttons in
  ;;  the "Create Executable..." dialog for the "(module ...)" language.
@@ -1709,6 +1711,8 @@ please adhere to these guidelines:
   ;; menu item in the 'edit' menu; applies to editors with programs in them
   ;; (technically, editors that implement color:text<%>)
   (spell-check-string-constants "Spell Check String Constants")
+  (spelling-dictionaries "Spelling Dictionaries") ; (sub)menu whose items are the different possible dictionaries
+  (default-spelling-dictionary "Default Dictionary") ; first item in menu from previous line
   (misspelled-text-color "Misspelled Text Color") ;; in the preferences dialog  
   (cannot-find-ispell-or-aspell-path "Cannot find the aspell or ispell binary")
   ; puts the path to the spell program in the ~a and then the error message


Posted on the translators mailing list.