summaryrefslogtreecommitdiff
path: root/examples/plugman.c
diff options
context:
space:
mode:
authorPiotr Drąg <piotrdrag@gmail.com>2012-05-18 18:25:03 +0200
committerPiotr Drąg <piotrdrag@gmail.com>2012-05-18 18:25:03 +0200
commit601e10b0c1428a9d05703285a6c408dbe71852c6 (patch)
treef75133997c301e61b8836104b1bd240dcc179eef /examples/plugman.c
parent0703fa7e7122aca927ff6469ad199ee028a344de (diff)
downloadgtk+-601e10b0c1428a9d05703285a6c408dbe71852c6.tar.gz
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.
Diffstat (limited to 'examples/plugman.c')
-rw-r--r--examples/plugman.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/examples/plugman.c b/examples/plugman.c
index 6f0ed2ad20..7efeeae26a 100644
--- a/examples/plugman.c
+++ b/examples/plugman.c
@@ -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>"