From meunier at ccs.neu.edu Wed Mar 6 07:48:28 2013 From: meunier at ccs.neu.edu (Philippe Meunier) Date: Wed, 6 Mar 2013 07:48:28 -0500 Subject: [plt-translators] english-string-constants.rkt update Message-ID: <20130306124828.GA6304@login-hk55fp1.ccs.neu.edu> commit 39e4ac15e5855b2b10830e516965dd0ce733f120 Author: Robby Findler Date: Tue Mar 5 08:53:53 2013 -0600 bring 'jump to definition' more in line with online check syntax That is, when right-clicking on an imported identifier, if the file that has that identifier's definition is open and online check syntax has completed, then offer a "jump to definition" menu item that just jumps there with the already computed informtion. If the file isn't open or online check syntax hasn't completed, instead offer just to go to the file, without jumping to the definition also - things should generally work slightly better with submodules - jumping to identifiers should do a better job with scrolling, specifically it should scroll so the jumped-to identifier is about 20% from the top of the window (unless it was already visible, in which case no scrolling should occur) ============================================================ diff --git a/collects/string-constants/private/english-string-constants.rkt b/collects/string-constants/private/english-string-constants.rkt index f0b33b7..2dcdb48 100644 --- a/collects/string-constants/private/english-string-constants.rkt +++ b/collects/string-constants/private/english-string-constants.rkt @@ -194,6 +194,7 @@ please adhere to these guidelines: (cs-jump-to-next-bound-occurrence "Jump to Next Bound Occurrence") (cs-jump-to-binding "Jump to Binding Occurrence") (cs-jump-to-definition "Jump to Definition") + (cs-open-defining-file "Open Defining File") (cs-error-message "Error Message") (cs-open-file "Open ~a") (cs-rename-var "Rename ~a") From meunier at ccs.neu.edu Fri Mar 15 10:54:30 2013 From: meunier at ccs.neu.edu (Philippe Meunier) Date: Fri, 15 Mar 2013 10:54:30 -0400 Subject: [plt-translators] english-string-constants.rkt update Message-ID: <20130315145430.GA21109@login-hk55fp1.ccs.neu.edu> commit 1bc82cc404dfb1c0337279d6e378534f7742c189 Author: Robby Findler Date: Thu Mar 14 10:13:54 2013 -0500 add an "install package" GUI to DrRacket that calls into planet2 commit af6be85ff576e475753a46bd3f1690eb8bf88a28 Author: Eli Barzilay Date: Thu Mar 14 07:15:43 2013 -0400 Fix lots of indentation mistakes. (Found by my ayatollah script...) ============================================================ diff --git a/collects/string-constants/private/english-string-constants.rkt b/collects/string-constants/private/english-string-constants.rkt index 2dcdb48..a35578c 100644 --- a/collects/string-constants/private/english-string-constants.rkt +++ b/collects/string-constants/private/english-string-constants.rkt @@ -174,9 +174,10 @@ please adhere to these guidelines: (saved-unsubmitted-bug-reports "Saved, unsubmitted bug reports:") ;; the above string constant is next to previous line in same dialog, followed by list of bug report subjects (as buttons) (error-sending-bug-report "Error Sending Bug Report") - (error-sending-bug-report-expln "An error occurred when sending this bug report." - " If your internet connection is otherwise working fine, please visit:\n\n http://bugs.racket-lang.org/\n\nand" - " submit the bug via our online web-form. Sorry for the difficulties.\n\nThe error message is:\n~a") + (error-sending-bug-report-expln + "An error occurred when sending this bug report." + " If your internet connection is otherwise working fine, please visit:\n\n http://bugs.racket-lang.org/\n\nand" + " submit the bug via our online web-form. Sorry for the difficulties.\n\nThe error message is:\n~a") (illegal-bug-report "Illegal Bug Report") (pls-fill-in-field "Please fill in the \"~a\" field") (malformed-email-address "Malformed email address") @@ -1382,7 +1383,7 @@ please adhere to these guidelines: (module-browser-refresh "Refresh") ;; button label in show module browser pane in drscheme window. (module-browser-highlight "Highlight") ;; used to search in the graph; the label on a text-field% object (module-browser-only-in-plt-and-module-langs - "The module browser is only available for module-based programs.") + "The module browser is only available for module-based programs.") (module-browser-name-length "Name length") (module-browser-name-short "Short") (module-browser-name-medium "Medium") @@ -1770,4 +1771,21 @@ please adhere to these guidelines: ; puts the path to the spell program in the ~a and then the error message ; is put following this string (with a blank line in between) (spell-program-wrote-to-stderr-on-startup "The spell program (~a) printed an error message:") + + ;; GUI for installing a planet2 package; available via File|Install Package... + (install-pkg-menu-item... "Install Package...") + (install-pkg-dialog-title "Install Package") + (install-pkg-source-label "Package Source") + (install-pkg-type-label "Package Source Type") + (install-pkg-infer "Infer") + (install-pkg-file "File") + (install-pkg-dir "Directory") + (install-pkg-dir-url "URL Directory") + (install-pkg-file-url "URL File") + (install-pkg-github "Github") + (install-pkg-name "Name (consulting resolver)") + (install-pkg-inferred-as "Type inferred to be ~a") + (install-pkg-force? "Overwrite Existing?") + (install-pkg-command-line "Equivalent Command Line Invocation:") + (install-pkg-error-installing-title "Error Installing Package") )