summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-04-06 12:12:08 -0400
committerMatthias Clasen <mclasen@redhat.com>2009-04-06 12:12:08 -0400
commit1ad8bfb69afabb0e30f43bb27e6e1154b8f94300 (patch)
treec3ec5d8cac1a5f90e6a7ee0b65d077bb327b8cd7 /docs
parentc338228a865a73b7ab1f2ad55abcb24ae4ce3014 (diff)
downloadgtk+-1ad8bfb69afabb0e30f43bb27e6e1154b8f94300.tar.gz
Better i18n support in GtkBuilder
Let descriptions of accessible actions be translated, by specifying the description as content of the <action> element, and allowing "translatable", "context" and "comment" as attributes. (#518642)
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/gtk/tmpl/gtkwidget.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/reference/gtk/tmpl/gtkwidget.sgml b/docs/reference/gtk/tmpl/gtkwidget.sgml
index 817b1e5417..664288e9cb 100644
--- a/docs/reference/gtk/tmpl/gtkwidget.sgml
+++ b/docs/reference/gtk/tmpl/gtkwidget.sgml
@@ -49,7 +49,7 @@ internal child "accessible" of a <structname>GtkWidget</structname>.
</object>
<object class="GtkButton" id="button1">
<accessibility>
- <action action_name="click" description="Click the button."/>
+ <action action_name="click" translatable="yes">Click the button.</action>
<relation target="label1" type="labelled-by"/>
</accessibility>
<child internal-child="accessible">