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

From: Philippe Meunier (meunier at ccs.neu.edu)
Date: Fri Jan 21 09:15:13 EST 2011

commit 2043b4ad6f8d40d20f27bf4ad09b54fcc00f12f9
Author: Robby Findler <robby at racket-lang.org>
Date:   Tue Jan 18 07:44:20 2011 -0600

    various bug report form changes and fixes
    - show discard-all-bug-reports menu item as long as there is at least one bug report
    - move the close-and-save button to the left-hand side of the dialog
    - ask about discarding bug reports when clicking the close box
    - working dealing with empty bug reports
    - the 'finished' stage of the bug report form sets the focus to the close button
      closes PR 11644
      closes PR 11645
      closes PR 11638
      closes PR 11640

commit cde613218e8b9a64e8495b050f1c9a474ab71afa
Author: Robby Findler <robby at racket-lang.org>
Date:   Tue Jan 18 15:53:03 2011 -0600

    adjusted the framework preferences system to work better with failures under windows
diff --git a/collects/string-constants/english-string-constants.rkt b/collects/string-constants/english-string-constants.rkt
index fb0da78..8cc6aab 100644
--- a/collects/string-constants/english-string-constants.rkt
+++ b/collects/string-constants/english-string-constants.rkt
@@ -140,6 +140,9 @@ please adhere to these guidelines:
  (cancel-bug-report? "Cancel Bug Report?")
   "Are you sure that you want to cancel sending this bug report?")
+ (do-you-want-to-discard-or-save-this-bug-report
+  "Do you want to discard or save this bug report?")
+ (discard "Discard") ;; a button label for a dialog box with the above question
  (bug-report-form "Bug Report Form")
  (bug-report-field-name "Name")
  (bug-report-field-email "Email")
@@ -420,10 +423,18 @@ please adhere to these guidelines:
  (error-saving-preferences "Error saving preferences: ~a")
  (error-saving-preferences-title "Error saving preferences")
  (steal-the-lock-and-retry "Steal the lock && retry") ;; in the preferences error dialog; this happens when the lockfile exists (after 3 pref writes). 
  (error-reading-preferences "Error reading preferences")
+ (error-reading-preferences-explanation "The preferences file is locked and thus the ~a preference cannot be read") ;; ~a is filled with the name of the preference (a symbol)
+ (dont-ask-again-until-drracket-restarted "Don't ask again (until DrRacket is restarted)")
+ ; difference between the above and below is one comes with a question (steal the lock or not) and the other with just a notation saying "the file is locked"
+ (dont-notify-again-until-drracket-restarted "Don't notify again (until DrRacket is restarted)") 
  (prefs-file-locked "The preferences file is locked (because the file ~a exists), so your preference change could not be saved. Cancel preference change?")
  (try-again "Try again") ;; button label
+ (give-up-and-use-the-default "Give up and use the default") ;; button label
  (prefs-file-still-locked "The preferences file is still locked (because the file ~a exists), so your preference change will not be saved.")
+ (prefs-file-locked-nothing-doing "The preferences file is locked (via ~s) so changes to the preferences not be saved.") ;; the  ~s is filled with the lockfile; this string is (currently) used only on windows where lockfiles are less friendly (and there is no steal fallback)
  (scheme-prefs-panel-label "Racket")
  (warnings-prefs-panel-label "Warnings")
  (editor-prefs-panel-label "Editing")

Posted on the translators mailing list.