aboutsummaryrefslogtreecommitdiffstats
path: root/devel-docs/misc
diff options
context:
space:
mode:
Diffstat (limited to 'devel-docs/misc')
-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.