aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--configure.in9
-rw-r--r--devel-docs/misc/errors.txt29
3 files changed, 31 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index 9a889aa799..cf4c2dc55d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-05-12 Not Zed <NotZed@Ximian.com>
+
+ * configure.in: add some stuff for statfs.
+
+ * devel-docs/misc/errors.txt: updated for xml format and i18n
+ changes.
+
2004-04-30 Rodney Dawes <dobey@ximian.com>
* configure.in: Require intltool 0.30 for the error xml files
diff --git a/configure.in b/configure.in
index 9a16913550..1592313039 100644
--- a/configure.in
+++ b/configure.in
@@ -262,6 +262,15 @@ if test "x$ac_cv_gethostbyaddr_r_seven_args" = "xyes" ; then
fi
dnl **************************************************
+dnl statfs location/type
+dnl **************************************************
+
+AC_CHECK_HEADERS(sys/vfs.h)
+AC_CHECK_HEADERS(sys/param.h)
+AC_CHECK_HEADERS(sys/mount.h)
+AC_CHECK_FUNCS(statfs)
+
+dnl **************************************************
dnl * Gnome Icon Theme
dnl **************************************************
PKG_CHECK_MODULES(GIT, gnome-icon-theme >= 1.2.0)
diff --git a/devel-docs/misc/errors.txt b/devel-docs/misc/errors.txt
index 37a64c1314..8a2206158e 100644
--- a/devel-docs/misc/errors.txt
+++ b/devel-docs/misc/errors.txt
@@ -104,23 +104,26 @@ defined, version-specific directory. They should be installed in
"${privdatadir}/errors".
The following Makefile.am entries should be setup for each error
-template file.
+template file. This is required to generate the i18n template files
+used for internationalisation.
List the files, and build rules:
-error_in_files = error-file-name.xml.in
-error_DATA = $(error_in_files:.xml.in=.xml)
+error_DATA = error-file-name.xml
+error_i18n = $(error_DATA:.xml=.xml.h)
errordir = $(privdatadir)/errors
-@INTLTOOL_XML_RULE@
+%.xml.h: %.xml
+ $(top_builddir)/e-util/e-error-tool $^
Add to EXTRA_DIST:
EXTRA_DIST = \
- $(error_in_files)
+ $(error_DATA) \
+ $(error_i18n)
And add to BUILT_SOURCES:
-BUILT_SOURCES = $(error_DATA)
+BUILT_SOURCES = $(error_i18n)
Error template format
---------------------
@@ -130,10 +133,10 @@ The XML file is in the following format.
<?xml version="1.0"?>
<error-list domain="ERRORDOMAIN">
<error id="error-id" type="info|warning|question|error"? response="default_response"? modal="true"? >
- <_title>Window Title</_title>?
- <_primary>Primary error text.</_primary>?
- <_secondary>Secondary error text.</_secondary>?
- <button stock="stock-button-id"? _label="button label"? response="response_id"? /> *
+ <title>Window Title</title>?
+ <primary>Primary error text.</primary>?
+ <secondary>Secondary error text.</secondary>?
+ <button stock="stock-button-id"? label="button label"? response="response_id"? /> *
</error>
</error-list>
@@ -142,7 +145,7 @@ enumeration.
stock-button-id is a standard GtkStock button name.
-_label is a translatable string for the button name otherwise,
+label is a translatable string for the button name otherwise,
including an underlined mnemonic.
One of stock and _label must be supplied for all buttons defined.
@@ -152,7 +155,7 @@ a different label text.
<button /> is optional, if missing, a single stock Ok button will be
used.
-_title, _primary, and _secondary are all optional, if missing,
+title, primary, and secondary are all optional, if missing,
standard text (for title) or blank text will be used.
For the title, primary and secondary texts, substitution of the passed
@@ -160,5 +163,3 @@ e_error parameters can be performed using "{n}" syntax, where n is a
decimal index of the string parameter argument. This allows the same
arguments to be re-used in different locations within the same error
box.
-
-