Commit 601e10b0 authored by Piotr Drąg's avatar Piotr Drąg 😐

Mark strings in embedded XML code in plugman.c as translatable

Just like bloadpad's. Also add plugman.c to POTFILES.skip
to *not* actually translate it.
parent 0703fa7e
......@@ -322,13 +322,13 @@ configure_plugins (GSimpleAction *action,
" <property name='visible'>True</property>"
" <child>"
" <object class='GtkCheckButton' id='red-plugin'>"
" <property name='label'>Red Plugin - turn your text red</property>"
" <property name='label' translatable='yes'>Red Plugin - turn your text red</property>"
" <property name='visible'>True</property>"
" </object>"
" </child>"
" <child>"
" <object class='GtkCheckButton' id='black-plugin'>"
" <property name='label'>Black Plugin - turn your text black</property>"
" <property name='label' translatable='yes'>Black Plugin - turn your text black</property>"
" <property name='visible'>True</property>"
" </object>"
" </child>"
......@@ -339,7 +339,7 @@ configure_plugins (GSimpleAction *action,
" <property name='visible'>True</property>"
" <child>"
" <object class='GtkButton' id='close-button'>"
" <property name='label'>Close</property>"
" <property name='label' translatable='yes'>Close</property>"
" <property name='visible'>True</property>"
" </object>"
" </child>"
......@@ -392,13 +392,13 @@ plug_man_startup (GApplication *application)
" <menu id='app-menu'>"
" <section>"
" <item>"
" <attribute name='label'>_About Plugman</attribute>"
" <attribute name='label' translatable='yes'>_About Plugman</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>"
......@@ -406,14 +406,14 @@ plug_man_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>"
" </item>"
" <item>"
" <attribute name='label'>_Paste</attribute>"
" <attribute name='label' translatable='yes'>_Paste</attribute>"
" <attribute name='action'>win.paste</attribute>"
" </item>"
" </section>"
......@@ -421,16 +421,16 @@ plug_man_startup (GApplication *application)
" </link></item>"
" <section>"
" <item>"
" <attribute name='label'>Plugins</attribute>"
" <attribute name='label' translatable='yes'>Plugins</attribute>"
" <attribute name='action'>app.plugins</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>"
" </item>"
" </section>"
......
......@@ -3,6 +3,7 @@ demos/gtk-demo/menus.ui
demos/gtk-demo/theming.ui
demos/widget-factory/widget-factory.ui
examples/bloatpad.c
examples/plugman.c
tests/a11y/accessible-name.ui
tests/a11y/assistant.ui
tests/a11y/buttons.ui
......
......@@ -3,6 +3,7 @@ demos/gtk-demo/menus.ui
demos/gtk-demo/theming.ui
demos/widget-factory/widget-factory.ui
examples/bloatpad.c
examples/plugman.c
gtk/paper_names.c
tests/a11y/accessible-name.ui
tests/a11y/assistant.ui
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment