aboutsummaryrefslogtreecommitdiffstats
path: root/devel-docs
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-12-22 15:40:57 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-12-22 15:40:57 +0800
commit27cf683b42c01bb4b6cdf56bb1d2bd2d8d14131b (patch)
tree7eb4c57a484297d824837e2a33b6e2b2e586d128 /devel-docs
parentda10c48009573371ec19e12da0ffe95344bd02a0 (diff)
downloadgsoc2013-evolution-27cf683b42c01bb4b6cdf56bb1d2bd2d8d14131b.tar
gsoc2013-evolution-27cf683b42c01bb4b6cdf56bb1d2bd2d8d14131b.tar.gz
gsoc2013-evolution-27cf683b42c01bb4b6cdf56bb1d2bd2d8d14131b.tar.bz2
gsoc2013-evolution-27cf683b42c01bb4b6cdf56bb1d2bd2d8d14131b.tar.lz
gsoc2013-evolution-27cf683b42c01bb4b6cdf56bb1d2bd2d8d14131b.tar.xz
gsoc2013-evolution-27cf683b42c01bb4b6cdf56bb1d2bd2d8d14131b.tar.zst
gsoc2013-evolution-27cf683b42c01bb4b6cdf56bb1d2bd2d8d14131b.zip
add translation stuff.
2004-12-17 Not Zed <NotZed@Ximian.com> * devel-docs/misc/errors.txt (BUILT_SOURCES): add translation stuff. svn path=/trunk/; revision=28181
Diffstat (limited to 'devel-docs')
-rw-r--r--devel-docs/misc/errors.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel-docs/misc/errors.txt b/devel-docs/misc/errors.txt
index 8a2206158e..df622b6967 100644
--- a/devel-docs/misc/errors.txt
+++ b/devel-docs/misc/errors.txt
@@ -131,7 +131,7 @@ Error template format
The XML file is in the following format.
<?xml version="1.0"?>
-<error-list domain="ERRORDOMAIN">
+<error-list domain="ERRORDOMAIN" translation-domain="translation domain" translation-localedir="localedir">
<error id="error-id" type="info|warning|question|error"? response="default_response"? modal="true"? >
<title>Window Title</title>?
<primary>Primary error text.</primary>?
@@ -140,6 +140,9 @@ The XML file is in the following format.
</error>
</error-list>
+translation-domain and translation-localedir are used to specify a custom
+translation domain for this error file, and where to find it.
+
response_id is a standard GTK_RESPONSE_* GtkDialog response
enumeration.