X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=class-support.lisp;h=c14291d7607e9552f1a878a046e5bd95bb21ec19;hb=d31820a74816f320079eeed9448c41272f7c9692;hp=208e1a3e23f368d710089a6312a06b3030dd30e8;hpb=0f5f4f56ab77890ac68b8fb34a2edcca4962e152;p=umlisp.git diff --git a/class-support.lisp b/class-support.lisp index 208e1a3..c14291d 100644 --- a/class-support.lisp +++ b/class-support.lisp @@ -242,21 +242,23 @@ (defvar +language-abbreviations+ - '(("BAQ" . "Basque") - ("DAN" . "Danish") - ("DUT" . "Dutch") - ("ENG" . "English") - ("FIN" . "Finnish") - ("FRE" . "French") - ("GER" . "German") - ("HEB" . "Hebrew") - ("HUN" . "Hungarian") - ("ITA" . "Italian") - ("NOR" . "Norwegian") - ("POR" . "Portuguese") - ("RUS" . "Russian") - ("SPA" . "Spanish") - ("SWE" . "Swedish"))) + '(("BAQ" . "Basque") + ("CZE" . "Chech") + ("DAN" . "Danish") + ("DUT" . "Dutch") + ("ENG" . "English") + ("FIN" . "Finnish") + ("FRE" . "French") + ("GER" . "German") + ("HEB" . "Hebrew") + ("HUN" . "Hungarian") + ("ITA" . "Italian") + ("JPN" . "Japanese") + ("NOR" . "Norwegian") + ("POR" . "Portuguese") + ("RUS" . "Russian") + ("SPA" . "Spanish") + ("SWE" . "Swedish"))) (defvar *lat-info-table* (make-hash-table :size 30 :test 'equal)) (defvar *is-lat-table-init* nil) @@ -267,7 +269,10 @@ (setq *is-lat-table-init* t)) (defun lat-abbr-info (lat) - (nth-value 0 (gethash (string-downcase lat) *lat-info-table*))) + (aif (nth-value 0 (gethash (string-downcase lat) *lat-info-table*)) + it + lat)) + (defun stt-abbr-info (stt) @@ -332,7 +337,7 @@ (let* ((anc-this-cxn (remove-if-not (lambda (cxt) (= (1+ i) (cxn cxt))) anc))) (push - (sort anc-this-cxn (lambda (a b) (< (rnk a) (rnk b)))) + (sort anc-this-cxn (lambda (a b) (< (rank a) (rank b)))) anc-lists)))))