blob: a26f3bdc6d4af7b5b1e76a362a07499707cad56b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
;; $State$ $Date$ $Revision$
;;--------------------------------------------------------------------------;;
;;--------------------------------------------------------------------------;;
;; messages in various languages
(provide 'phox-lang)
(defvar phox-lang
(let* ((s1 (getenv "LANG")) (s2 (getenv "LC_LANG")) (s (if s1 s1 s2)))
(message s)
(cond
((or (string= s "en") (string= s "us")) 'en)
((string= s "fr") 'fr)
(t 'en))))
(defun phox-lang-absurd ()
(case phox-lang
(en "By absurd")
(fr "Par l'absurde")))
(defun phox-lang-suppress (s)
(case phox-lang
(en (concat "Remove hypothesis " s " (if it became useless)."))
(fr (concat "Supprimer l'hypothèse " s " (si elle est devenue inutile)."))))
(defun phox-lang-opendef ()
(case phox-lang
(en "Expand the definition: ")
(fr "Ouvre la définition : ")))
(defun phox-lang-instance (s)
(case phox-lang
(en (concat "Choose " s " = "))
(fr (concat "Choisissons " s " = "))))
(defun phox-lang-prove ()
(case phox-lang
(en "Let us prove \\[ \\].")
(fr "Prouvons \\[ \\].")))
(defun phox-lang-let ()
(case phox-lang
(en "Let \\[ \\] = \\[ \\].")
(fr "Définissons \\[ \\] = \\[ \\].")))
|