diff options
author | Johan Dahlin <johan@gnome.org> | 2008-03-02 01:14:48 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-03-02 01:14:48 +0000 |
commit | e2534d54e12c3d9c4b2047608574bf3e2fa5db76 (patch) | |
tree | 7db2ab9027b0e1fd405edd768ad47cd734ee1e59 /tests | |
parent | bee4a9fcc3a6d3d888363ed60291e8b176b314fe (diff) | |
download | gtk+-e2534d54e12c3d9c4b2047608574bf3e2fa5db76.tar.gz |
Add translatable/context and comment attributes on <col> tags under a
2008-02-29 Johan Dahlin <johan@gnome.org>
* demos/gtk-demo/demo.ui:
* gtk/gtkbuilderparser.c:
* gtk/gtkbuilderprivate.h:
* gtk/gtkliststore.c:
* tests/buildertest.c:
Add translatable/context and comment attributes on
<col> tags under a GtkListStore. Refactor parts of the
translation api and make it available inside gtk+ itself.
Update tests and example.
Fixes a part of #518642
svn path=/trunk/; revision=19685
Diffstat (limited to 'tests')
-rw-r--r-- | tests/buildertest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/buildertest.c b/tests/buildertest.c index fb6f7104d3..6649aa18b6 100644 --- a/tests/buildertest.c +++ b/tests/buildertest.c @@ -527,9 +527,9 @@ test_list_store (void) " </columns>" " <data>" " <row>" - " <col id=\"0\">John</col>" - " <col id=\"1\">Doe</col>" - " <col id=\"2\">25</col>" + " <col id=\"0\" translatable=\"yes\">_Quit</col>" + " <col id=\"1\" context=\"foo\">Doe</col>" + " <col id=\"2\" comment=\"foobar\">25</col>" " </row>" " <row>" " <col id=\"0\">Johan</col>" |