• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Japanese translation of message catalog for Sawfish Window-Manager


Commit MetaInfo

修订版e04c92b0743f3173237b5880ab778a33511800a1 (tree)
时间2000-09-25 21:36:17
作者john <john>
Commiterjohn

Log Message

grok how :tooltip's are embedded into doc strings of customization
options

更改概述

差异

--- a/po/sawfish-xgettext
+++ b/po/sawfish-xgettext
@@ -34,8 +34,13 @@ exec rep "$0" "$@"
3434 (define (helper form)
3535 (case (car form)
3636 ((defcustom)
37- (when (stringp (nth 3 form))
38- (register (nth 3 form))))
37+ (let ((doc (nth 3 form))
38+ (keys (nthcdr 4 form)))
39+ (let ((tooltip (cadr (memq ':tooltip keys))))
40+ (when tooltip
41+ (setq doc (concat doc "\n\n" tooltip))))
42+ (when (stringp doc)
43+ (register doc))))
3944
4045 ((defgroup)
4146 (let ((real-name (nth 3 form)))