forked from AuroraMiddleware/gtk
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:
parent
a45b3df9d0
commit
c064bdb00c
@ -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'><Primary>n</attribute>"
|
" <attribute name='accel'><Primary>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'><Primary>q</attribute>"
|
" <attribute name='accel'><Primary>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'><Primary>c</attribute>"
|
" <attribute name='accel'><Primary>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'><Primary>v</attribute>"
|
" <attribute name='accel'><Primary>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>"
|
||||||
|
Loading…
Reference in New Issue
Block a user