summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-02-05 19:12:41 -0500
committerMatthias Clasen <mclasen@redhat.com>2012-02-05 19:12:41 -0500
commitc064bdb00c10c2b494727194b22a88b685fc24f6 (patch)
tree019e4d914ece7bc19fecd490e9a33fcd45307d0e /examples
parenta45b3df9d0f1daeb9946ebf1d8ed466a504f09e4 (diff)
downloadgtk+-c064bdb00c10c2b494727194b22a88b685fc24f6.tar.gz
Mark strings as translable in bloatpad
We don't have any intention of actually translating bloatpad, but this ends up as example in the docs.
Diffstat (limited to 'examples')
-rw-r--r--examples/bloatpad.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/bloatpad.c b/examples/bloatpad.c
index 4178580262..3b5654e957 100644
--- a/examples/bloatpad.c
+++ b/examples/bloatpad.c
@@ -276,20 +276,20 @@ bloat_pad_startup (GApplication *application)
" <menu id='app-menu'>"
" <section>"
" <item>"
- " <attribute name='label'>_New Window</attribute>"
+ " <attribute name='label' translatable='yes'>_New Window</attribute>"
" <attribute name='action'>app.new</attribute>"
" <attribute name='accel'>&lt;Primary&gt;n</attribute>"
" </item>"
" </section>"
" <section>"
" <item>"
- " <attribute name='label'>_About Bloatpad</attribute>"
+ " <attribute name='label' translatable='yes'>_About Bloatpad</attribute>"
" <attribute name='action'>app.about</attribute>"
" </item>"
" </section>"
" <section>"
" <item>"
- " <attribute name='label'>_Quit</attribute>"
+ " <attribute name='label' translatable='yes'>_Quit</attribute>"
" <attribute name='action'>app.quit</attribute>"
" <attribute name='accel'>&lt;Primary&gt;q</attribute>"
" </item>"
@@ -297,25 +297,25 @@ bloat_pad_startup (GApplication *application)
" </menu>"
" <menu id='menubar'>"
" <submenu>"
- " <attribute name='label'>_Edit</attribute>"
+ " <attribute name='label' translatable='yes'>_Edit</attribute>"
" <section>"
" <item>"
- " <attribute name='label'>_Copy</attribute>"
+ " <attribute name='label' translatable='yes'>_Copy</attribute>"
" <attribute name='action'>win.copy</attribute>"
" <attribute name='accel'>&lt;Primary&gt;c</attribute>"
" </item>"
" <item>"
- " <attribute name='label'>_Parse</attribute>"
+ " <attribute name='label' translatable='yes'>_Parse</attribute>"
" <attribute name='action'>win.parse</attribute>"
" <attribute name='accel'>&lt;Primary&gt;v</attribute>"
" </item>"
" </section>"
" </submenu>"
" <submenu>"
- " <attribute name='label'>_View</attribute>"
+ " <attribute name='label' translatable='yes'>_View</attribute>"
" <section>"
" <item>"
- " <attribute name='label'>_Fullscreen</attribute>"
+ " <attribute name='label' translatable='yes'>_Fullscreen</attribute>"
" <attribute name='action'>win.fullscreen</attribute>"
" <attribute name='accel'>F11</attribute>"
" </item>"