Japanese translation of message catalog for Sawfish Window-Manager
Revisión | 23c1f87ed4e606308aca17ffa43754c199ee8d45 (tree) |
---|---|
Tiempo | 1999-08-03 23:43:32 |
Autor | john <john> |
Commiter | john |
(Qsawmill_version): new variable
@@ -33,7 +33,8 @@ static char *prog_name; | ||
33 | 33 | DEFSYM(sawmill_directory, "sawmill-directory"); |
34 | 34 | DEFSYM(sawmill_lisp_lib_directory, "sawmill-lisp-lib-directory"); |
35 | 35 | DEFSYM(sawmill_site_lisp_directory, "sawmill-site-lisp-directory"); |
36 | -DEFSYM(sawmill_exec_directory, "sawmill-exec-directory"); /* | |
36 | +DEFSYM(sawmill_exec_directory, "sawmill-exec-directory"); | |
37 | +DEFSYM(sawmill_version, "sawmill-version"); /* | |
37 | 38 | ::doc:Vsawmill-directory:: |
38 | 39 | The directory in which all of sawmill's installed data files live. |
39 | 40 | ::end:: |
@@ -45,6 +46,9 @@ The name of the directory in which site-specific Lisp files are stored. | ||
45 | 46 | ::end:: |
46 | 47 | ::doc:Vsawmill-exec-directory:: |
47 | 48 | The name of the directory containing sawmill's architecture specific files. |
49 | +::end:: | |
50 | +::doc:Vsawmill-version:: | |
51 | +A string defining the version number of the current sawmill release. | |
48 | 52 | ::end:: */ |
49 | 53 | |
50 | 54 | /* some errors */ |
@@ -54,6 +58,7 @@ DEFSYM(invalid_pos, "invalid-pos"); | ||
54 | 58 | DEFSTRING(err_invalid_pos, "Invalid position"); |
55 | 59 | DEFSYM(bad_event_desc, "bad-event-desc"); |
56 | 60 | DEFSTRING(err_bad_event_desc, "Invalid event description"); |
61 | +DEFSTRING(version_string, SAWMILL_VERSION); | |
57 | 62 | |
58 | 63 | static rep_bool |
59 | 64 | on_idle (int since_last) |
@@ -135,6 +140,9 @@ sawmill_symbols (void) | ||
135 | 140 | rep_SYM(Qdl_load_path)->value = Fcons(rep_SYM(Qsawmill_exec_directory)->value, |
136 | 141 | rep_SYM(Qdl_load_path)->value); |
137 | 142 | |
143 | + rep_INTERN(sawmill_version); | |
144 | + rep_SYM(Qsawmill_version)->value = rep_VAL(&version_string); | |
145 | + | |
138 | 146 | rep_INTERN(window_error); rep_ERROR(window_error); |
139 | 147 | rep_INTERN(invalid_pos); rep_ERROR(invalid_pos); |
140 | 148 | rep_INTERN(bad_event_desc); rep_ERROR(bad_event_desc); |