File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 44 racket/string
55 racket/snip/private/style
66 racket/draw
7+ string-constants
78 (prefix-in wx: "kernel.rkt " )
89 "const.rkt "
910 "check.rkt "
101102 (send w popup-menu
102103 (let ([m (make-object popup-menu%)])
103104 (make-object menu-item%
104- " Copy Message "
105+ (string-constant install-pkg-copy)
105106 m
106107 (lambda (i e)
107108 (send (wx:get-the-clipboard)
270271 (let-values ([(one two one-v two-v close-val default)
271272 (cond
272273 [(memq 'ok style)
273- (values " OK " #f 'ok #f 1 'default=1 )]
274+ (values (string-constant ok) #f 'ok #f 1 'default=1 )]
274275 [(memq 'ok-cancel style)
275- (values " OK " " Cancel " 'ok 'cancel 2 'default=1 )]
276+ (values (string-constant ok) (string-constant cancel) 'ok 'cancel 2 'default=1 )]
276277 [(memq 'yes-no style)
277- (values " &Yes " " &No " 'yes 'no #f 'no-default )])])
278+ (values (string-constant yes) (string-constant no) 'yes 'no #f 'no-default )])])
278279 (let-values ([(result checked?)
279280 (do-message-box/custom who
280281 title message
You can’t perform that action at this time.
0 commit comments