36
36
(define skk-im-short-desc (N_ "uim version of SKK input method"))
38
38
(define-custom-group 'skk
39
(ugettext skk-im-name-label)
40
(ugettext skk-im-short-desc))
42
42
(define-custom-group 'skk-dict
43
(_ "SKK dictionaries")
44
(_ "Dictionary settings for SKK"))
43
(N_ "SKK dictionaries")
44
(N_ "Dictionary settings for SKK"))
46
46
(define-custom-group 'skk-advanced
48
(_ "Advanced settings for SKK"))
48
(N_ "Advanced settings for SKK"))
51
(define-custom-group 'skkserv
53
(N_ "long description will be here."))
56
(define-custom-group 'dict-files
57
(N_ "Dictionary files")
58
(N_ "long description will be here."))
55
65
(define-custom 'skk-use-candidate-window? #t
58
(_ "Use candidate window")
59
(_ "long description will be here."))
68
(N_ "Use candidate window")
69
(N_ "long description will be here."))
61
71
(define-custom 'skk-commit-candidate-by-label-key? #t
64
(_ "Commit candidate by heading label keys")
65
(_ "long description will be here."))
74
(N_ "Commit candidate by heading label keys")
75
(N_ "long description will be here."))
67
77
(define-custom 'skk-candidate-selection-style 'ddskk-like
70
(list 'uim (_ "uim") (_ "uim native"))
71
(list 'ddskk-like (_ "ddskk-like") (_ "Similar to ddskk")))
72
(_ "Candidate selection style")
73
(_ "long description will be here."))
80
(list 'uim (N_ "uim") (N_ "uim native"))
81
(list 'ddskk-like (N_ "ddskk-like") (N_ "Similar to ddskk")))
82
(N_ "Candidate selection style")
83
(N_ "long description will be here."))
75
85
(define-custom 'skk-use-manual-candwin-setting? #f
78
(_ "Set candidate window behavior manually")
79
(_ "long description will be here."))
88
(N_ "Set candidate window behavior manually")
89
(N_ "long description will be here."))
81
91
(define-custom 'skk-candidate-op-count 5
84
(_ "Conversion key press count to show candidate window")
85
(_ "long description will be here."))
94
(N_ "Conversion key press count to show candidate window")
95
(N_ "long description will be here."))
87
97
(define-custom 'skk-nr-candidate-max 7
90
(_ "Number of candidates in candidate window at a time")
91
(_ "long description will be here."))
100
(N_ "Number of candidates in candidate window at a time")
101
(N_ "long description will be here."))
93
103
;; activity dependency
94
104
(custom-add-hook 'skk-commit-candidate-by-label-key?
209
219
(list 'ordered-list
210
220
(list 'widget_skk_input_mode
213
223
(list 'widget_skk_kana_input_method
214
(_ "Kana input method")
215
(_ "Kana input method")))
216
(_ "Enabled toolbar buttons")
217
(_ "long description will be here."))
224
(N_ "Kana input method")
225
(N_ "Kana input method")))
226
(N_ "Enabled toolbar buttons")
227
(N_ "long description will be here."))
219
229
;; dynamic reconfiguration
220
230
;; skk-configure-widgets is not defined at this point. So wrapping
233
243
(map indication-alist-entry-extract-choice
234
244
skk-input-mode-indication-alist))
235
(_ "Default input mode")
236
(_ "long description will be here."))
245
(N_ "Default input mode")
246
(N_ "long description will be here."))
238
248
(define-custom 'skk-input-mode-actions
239
249
(map car skk-input-mode-indication-alist)
241
251
(cons 'ordered-list
242
252
(map indication-alist-entry-extract-choice
243
253
skk-input-mode-indication-alist))
244
(_ "Input mode menu items")
245
(_ "long description will be here."))
254
(N_ "Input mode menu items")
255
(N_ "long description will be here."))
247
257
;; value dependency
248
258
(if custom-full-featured?
273
283
(map indication-alist-entry-extract-choice
274
284
skk-kana-input-method-indication-alist))
275
(_ "Default kana input method")
276
(_ "long description will be here."))
285
(N_ "Default kana input method")
286
(N_ "long description will be here."))
278
288
(define-custom 'skk-kana-input-method-actions
279
289
(map car skk-kana-input-method-indication-alist)
281
291
(cons 'ordered-list
282
292
(map indication-alist-entry-extract-choice
283
293
skk-kana-input-method-indication-alist))
284
(_ "Kana input method menu items")
285
(_ "long description will be here."))
294
(N_ "Kana input method menu items")
295
(N_ "long description will be here."))
287
297
;; value dependency
288
298
(if custom-full-featured?
324
334
(define-custom 'skk-use-skkserv? #f
327
(_ "Use skkserv instead of SKK-JISYO")
328
(_ "long description will be here."))
337
(N_ "Use skkserv instead of SKK-JISYO")
338
(N_ "long description will be here."))
340
(define-custom 'skk-skkserv-use-env? #t
343
(N_ "Use value of environment variable SKKSERVER")
344
(N_ "long description will be here."))
346
(custom-add-hook 'skk-skkserv-use-env?
347
'custom-activity-hooks
351
(define-custom 'skk-skkserv-hostname "localhost"
354
(N_ "Hostname of skkserv")
355
(N_ "long description will be here."))
357
(custom-add-hook 'skk-skkserv-hostname
358
'custom-activity-hooks
360
(not skk-skkserv-use-env?)))
330
362
(define-custom 'skk-skkserv-portnum 1178
332
364
'(integer 0 65535)
333
(_ "Port number of skkserv")
334
(_ "long description will be here."))
365
(N_ "Port number of skkserv")
366
(N_ "long description will be here."))
336
368
(custom-add-hook 'skk-skkserv-portnum
337
369
'custom-activity-hooks
339
371
skk-use-skkserv?))
373
(define-custom 'skk-skkserv-address-family 'unspecified
376
(list 'unspecified (N_ "Auto") (N_ "Auto"))
377
(list 'inet (N_ "IPv4")
378
(N_ "Forces skkserv to use IPv4 addresses only"))
379
(list 'inet6 (N_ "IPv6")
380
(N_ "Forces skkserv to use IPv6 addresses only")))
381
(N_ "Address family of skkserv")
382
(N_ "long description will be here."))
384
(custom-add-hook 'skk-skkserv-address-family
385
'custom-activity-hooks
341
389
(define-custom 'skk-dic-file-name (string-append (sys-datadir)
342
390
"/skk/SKK-JISYO.L")
391
'(skk-dict dict-files)
344
392
'(pathname regular-file)
345
(_ "Dictionary file")
346
(_ "long description will be here."))
393
(N_ "System dictionary file")
394
(N_ "long description will be here."))
348
396
(define-custom 'skk-personal-dic-filename
349
(string-append (getenv "HOME") "/.skk-jisyo")
397
(string-append (or (home-directory (user-name)) "") "/.skk-jisyo")
398
'(skk-dict dict-files)
351
399
'(pathname regular-file)
352
(_ "Personal dictionary file")
353
(_ "long description will be here."))
400
(N_ "Personal dictionary file")
401
(N_ "long description will be here."))
355
403
(define-custom 'skk-uim-personal-dic-filename
356
(string-append (getenv "HOME") "/.skk-uim-jisyo")
404
(string-append (or (home-directory (user-name)) "") "/.skk-uim-jisyo")
405
'(skk-dict dict-files)
358
406
'(pathname regular-file)
359
(_ "Personal dictionary file (dedicated to uim)")
360
(_ "long description will be here."))
407
(N_ "Personal dictionary file (dedicated to uim)")
408
(N_ "long description will be here."))
362
410
(custom-add-hook 'skk-dic-file-name
363
411
'custom-activity-hooks
371
419
(define-custom 'skk-style 'skk-style-ddskk-like
374
(list 'skk-style-ddskk-like (_ "ddskk") (_ "Similar to ddskk"))
375
(list 'skk-style-uim (_ "uim") (_ "uim native")))
377
(_ "long description will be here."))
422
(list 'skk-style-ddskk-like (N_ "ddskk") (N_ "Similar to ddskk"))
423
(list 'skk-style-uim (N_ "uim") (N_ "uim native")))
425
(N_ "long description will be here."))
379
427
(define-custom 'skk-use-recursive-learning? #t
382
(_ "Use recursive learning")
383
(_ "long description will be here."))
430
(N_ "Use recursive learning")
431
(N_ "long description will be here."))
385
433
(define-custom 'skk-use-numeric-conversion? #t
388
(_ "Use numeric conversion")
389
(_ "long description will be here."))
436
(N_ "Use numeric conversion")
437
(N_ "long description will be here."))
391
439
(define-custom 'skk-auto-start-henkan? #t
394
(_ "Enable auto conversion with punctuation marks")
395
(_ "long description will be here."))
442
(N_ "Enable auto conversion with punctuation marks")
443
(N_ "long description will be here."))
397
445
(define-custom 'skk-dcomp-activate? #f
400
(_ "Enable dynamic completion")
401
(_ "long description will be here."))
448
(N_ "Enable dynamic completion")
449
(N_ "long description will be here."))
403
451
(define-custom 'skk-use-look? #f
406
(_ "Use UNIX look command for completion")
407
(_ "long description will be here."))
454
(N_ "Use UNIX look command for completion")
455
(N_ "long description will be here."))
457
(define-custom 'skk-look-dict "/usr/share/dict/words"
459
'(pathname regular-file)
460
(N_ "Use UNIX look dictionary file")
461
(N_ "long description will be here."))
463
(custom-add-hook 'skk-look-dict
464
'custom-activity-hooks
412
472
(define-custom 'skk-show-annotation? #t
413
473
'(skk-advanced annotation)
415
(_ "Show annotation of candidate word")
416
(_ "long description will be here."))
475
(N_ "Show annotation of candidate word")
476
(N_ "long description will be here."))
418
478
(define-custom 'skk-show-annotation-in-preedit? #f
419
479
'(skk-advanced annotation)
421
(_ "Show annotation also in preedit area")
422
(_ "long description will be here."))
481
(N_ "Show annotation also in preedit area")
482
(N_ "long description will be here."))
424
484
(custom-add-hook 'skk-show-annotation-in-preedit?
425
485
'custom-activity-hooks
439
499
(define-custom 'skk-use-with-vi? #f
440
500
'(skk-advanced special-op)
442
(_ "Enable vi-cooperative mode")
443
(_ "long description will be here."))
502
(N_ "Enable vi-cooperative mode")
503
(N_ "long description will be here."))
445
505
(define-custom 'skk-egg-like-newline? #f
446
506
'(skk-advanced special-op)
448
(_ "Use Enter key as just committing (egg-like operation)")
449
(_ "long description will be here."))
508
(N_ "Use Enter key as just committing (egg-like operation)")
509
(N_ "long description will be here."))
451
511
;; should be removed if there is no usage
452
512
(define-custom 'skk-commit-newline-explicitly? #f
453
513
'(skk-advanced special-op)
455
(_ "Commit newline as ASCII string instead of native key-event")
456
(_ "long description will be here."))
515
(N_ "Commit newline as ASCII string instead of native key-event")
516
(N_ "long description will be here."))