• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
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

Revisión23c1f87ed4e606308aca17ffa43754c199ee8d45 (tree)
Tiempo1999-08-03 23:43:32
Autorjohn <john>
Commiterjohn

Log Message

(Qsawmill_version): new variable

Cambiar Resumen

Diferencia incremental

--- a/src/main.c
+++ b/src/main.c
@@ -33,7 +33,8 @@ static char *prog_name;
3333 DEFSYM(sawmill_directory, "sawmill-directory");
3434 DEFSYM(sawmill_lisp_lib_directory, "sawmill-lisp-lib-directory");
3535 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"); /*
3738 ::doc:Vsawmill-directory::
3839 The directory in which all of sawmill's installed data files live.
3940 ::end::
@@ -45,6 +46,9 @@ The name of the directory in which site-specific Lisp files are stored.
4546 ::end::
4647 ::doc:Vsawmill-exec-directory::
4748 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.
4852 ::end:: */
4953
5054 /* some errors */
@@ -54,6 +58,7 @@ DEFSYM(invalid_pos, "invalid-pos");
5458 DEFSTRING(err_invalid_pos, "Invalid position");
5559 DEFSYM(bad_event_desc, "bad-event-desc");
5660 DEFSTRING(err_bad_event_desc, "Invalid event description");
61+DEFSTRING(version_string, SAWMILL_VERSION);
5762
5863 static rep_bool
5964 on_idle (int since_last)
@@ -135,6 +140,9 @@ sawmill_symbols (void)
135140 rep_SYM(Qdl_load_path)->value = Fcons(rep_SYM(Qsawmill_exec_directory)->value,
136141 rep_SYM(Qdl_load_path)->value);
137142
143+ rep_INTERN(sawmill_version);
144+ rep_SYM(Qsawmill_version)->value = rep_VAL(&version_string);
145+
138146 rep_INTERN(window_error); rep_ERROR(window_error);
139147 rep_INTERN(invalid_pos); rep_ERROR(invalid_pos);
140148 rep_INTERN(bad_event_desc); rep_ERROR(bad_event_desc);