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.
This commit is contained in:
Matthias Clasen 2012-02-05 19:12:41 -05:00
parent a45b3df9d0
commit c064bdb00c

View File

@ -276,20 +276,20 @@ bloat_pad_startup (GApplication *application)
" <menu id='app-menu'>" " <menu id='app-menu'>"
" <section>" " <section>"
" <item>" " <item>"
" <attribute name='label'>_New Window</attribute>" " <attribute name='label' translatable='yes'>_New Window</attribute>"
" <attribute name='action'>app.new</attribute>" " <attribute name='action'>app.new</attribute>"
" <attribute name='accel'>&lt;Primary&gt;n</attribute>" " <attribute name='accel'>&lt;Primary&gt;n</attribute>"
" </item>" " </item>"
" </section>" " </section>"
" <section>" " <section>"
" <item>" " <item>"
" <attribute name='label'>_About Bloatpad</attribute>" " <attribute name='label' translatable='yes'>_About Bloatpad</attribute>"
" <attribute name='action'>app.about</attribute>" " <attribute name='action'>app.about</attribute>"
" </item>" " </item>"
" </section>" " </section>"
" <section>" " <section>"
" <item>" " <item>"
" <attribute name='label'>_Quit</attribute>" " <attribute name='label' translatable='yes'>_Quit</attribute>"
" <attribute name='action'>app.quit</attribute>" " <attribute name='action'>app.quit</attribute>"
" <attribute name='accel'>&lt;Primary&gt;q</attribute>" " <attribute name='accel'>&lt;Primary&gt;q</attribute>"
" </item>" " </item>"
@ -297,25 +297,25 @@ bloat_pad_startup (GApplication *application)
" </menu>" " </menu>"
" <menu id='menubar'>" " <menu id='menubar'>"
" <submenu>" " <submenu>"
" <attribute name='label'>_Edit</attribute>" " <attribute name='label' translatable='yes'>_Edit</attribute>"
" <section>" " <section>"
" <item>" " <item>"
" <attribute name='label'>_Copy</attribute>" " <attribute name='label' translatable='yes'>_Copy</attribute>"
" <attribute name='action'>win.copy</attribute>" " <attribute name='action'>win.copy</attribute>"
" <attribute name='accel'>&lt;Primary&gt;c</attribute>" " <attribute name='accel'>&lt;Primary&gt;c</attribute>"
" </item>" " </item>"
" <item>" " <item>"
" <attribute name='label'>_Parse</attribute>" " <attribute name='label' translatable='yes'>_Parse</attribute>"
" <attribute name='action'>win.parse</attribute>" " <attribute name='action'>win.parse</attribute>"
" <attribute name='accel'>&lt;Primary&gt;v</attribute>" " <attribute name='accel'>&lt;Primary&gt;v</attribute>"
" </item>" " </item>"
" </section>" " </section>"
" </submenu>" " </submenu>"
" <submenu>" " <submenu>"
" <attribute name='label'>_View</attribute>" " <attribute name='label' translatable='yes'>_View</attribute>"
" <section>" " <section>"
" <item>" " <item>"
" <attribute name='label'>_Fullscreen</attribute>" " <attribute name='label' translatable='yes'>_Fullscreen</attribute>"
" <attribute name='action'>win.fullscreen</attribute>" " <attribute name='action'>win.fullscreen</attribute>"
" <attribute name='accel'>F11</attribute>" " <attribute name='accel'>F11</attribute>"
" </item>" " </item>"