File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 13
13
"pict-lib "
14
14
"scheme-lib "
15
15
"scribble-lib "
16
- ["string-constants-lib " #:version "1.24 " ]
16
+ ["string-constants-lib " #:version "1.33 " ]
17
17
"option-contract-lib "
18
18
"2d-lib "
19
19
"compatibility-lib "
Original file line number Diff line number Diff line change 4
4
racket/string
5
5
racket/snip/private/style
6
6
racket/draw
7
+ string-constants
7
8
(prefix-in wx: "kernel.rkt " )
8
9
"const.rkt "
9
10
"check.rkt "
101
102
(send w popup-menu
102
103
(let ([m (make-object popup-menu%)])
103
104
(make-object menu-item%
104
- " Copy Message "
105
+ (string-constant install-pkg-copy)
105
106
m
106
107
(lambda (i e)
107
108
(send (wx:get-the-clipboard)
270
271
(let-values ([(one two one-v two-v close-val default)
271
272
(cond
272
273
[(memq 'ok style)
273
- (values " OK " #f 'ok #f 1 'default=1 )]
274
+ (values (string-constant ok) #f 'ok #f 1 'default=1 )]
274
275
[(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 )]
276
277
[(memq 'yes-no style)
277
- (values " &Yes " " &No " 'yes 'no #f 'no-default )])])
278
+ (values (string-constant yes-mnemonic) (string-constant no-mnemonic) 'yes 'no #f 'no-default )])])
278
279
(let-values ([(result checked?)
279
280
(do-message-box/custom who
280
281
title message
You can’t perform that action at this time.
0 commit comments