All: Qt4 intf i18n fix (part 1)
authorChristophe Mutricy <xtophe@videolan.org>
Sat, 2 Jun 2007 00:02:54 +0000 (00:02 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Sat, 2 Jun 2007 00:02:54 +0000 (00:02 +0000)
configure.ac
modules/gui/qt4/components/infopanels.cpp
modules/gui/qt4/dialogs/playlist.cpp
modules/gui/qt4/menus.cpp
modules/gui/qt4/ui/sprefs_audio.ui
modules/gui/qt4/ui/sprefs_input.ui
modules/gui/qt4/ui/sprefs_interface.ui
modules/gui/qt4/ui/sprefs_video.ui
modules/gui/qt4/ui/video_effects.ui
po/Makevars

index 3d33cc4..145e823 100644 (file)
@@ -363,7 +363,6 @@ AS_IF([test "${nls_cv_force_use_gnu_gettext}" = "yes"], [
   ])
 ])
 AC_SUBST(INCLUDED_LIBINTL)
-XGETTEXT="${XGETTEXT} --keyword=_NS --keyword=_ANS" 
 
 dnl
 dnl Iconv stuff
index 5e7c251..7c231f6 100644 (file)
@@ -44,12 +44,12 @@ MetaPanel::MetaPanel( QWidget *parent, intf_thread_t *_p_intf ) :
     int line = 0;
     QGridLayout *l = new QGridLayout( this );
 #define ADD_META( string, widget ) {                            \
-    l->addWidget( new QLabel( qfu( string ) ), line, 0 );       \
+    l->addWidget( new QLabel( qtr( string ) ), line, 0 );       \
     widget = new QLabel( "" );                                  \
     l->addWidget( widget, line, 1 );                            \
     line++;            }
-    ADD_META( _( "Name" ), name_text );
-    ADD_META( _( "URI" ), uri_text );
+    ADD_META( qtr( "Name" ), name_text );
+    ADD_META( qtr( "URI" ), uri_text );
     ADD_META( VLC_META_ARTIST, artist_text );
     ADD_META( VLC_META_GENRE, genre_text );
     ADD_META( VLC_META_COPYRIGHT, copyright_text );
index c1684fe..89d2e2b 100644 (file)
@@ -63,10 +63,10 @@ void PlaylistDialog::createPlMenuBar( QMenuBar *bar, intf_thread_t *p_intf )
 {
     QMenu *manageMenu = new QMenu();
     manageMenu->setTitle( qtr("Manage") );
-    manageMenu->addAction( "Open playlist file", THEDP, SLOT( openPlaylist() ),
+    manageMenu->addAction( qtr("Open playlist file"), THEDP, SLOT( openPlaylist() ),
             qtr( "Ctrl+L") );
     manageMenu->addSeparator();
-    manageMenu->addAction( "Dock playlist", this, SLOT( dock() ), 
+    manageMenu->addAction( qtr("Dock playlist"), this, SLOT( dock() ), 
             qtr( "Ctrl+U" ) );
     bar->addMenu( manageMenu );
     bar->addMenu( QVLCMenu::SDMenu( p_intf ) );
index d1a7f2c..8db41cc 100644 (file)
@@ -281,7 +281,7 @@ QMenu *QVLCMenu::InterfacesMenu( intf_thread_t *p_intf, QMenu *current )
     {
         menu->addSeparator();
         menu->addAction( qtr("Switch to skins"), THEDP, SLOT(switchToSkins()),
-                qtr("Ctrl+Z") );
+                "Ctrl+Z" );
     }
 
     CONNECT( menu, aboutToShow(), THEDP->menusUpdateMapper, map() );
index 6eb15d3..f77ec74 100644 (file)
@@ -23,7 +23,7 @@
    <item>
     <widget class="QCheckBox" name="enableAudio" >
      <property name="text" >
-      <string>Enable audio</string>
+      <string>_("Enable audio")</string>
      </property>
      <property name="checked" >
       <bool>true</bool>
@@ -33,7 +33,7 @@
    <item>
     <widget class="QGroupBox" name="groupBox_3" >
      <property name="title" >
-      <string>General Audio</string>
+      <string>_("General Audio")</string>
      </property>
      <layout class="QGridLayout" >
       <property name="margin" >
@@ -45,7 +45,7 @@
       <item row="2" column="0" >
        <widget class="QLabel" name="label_8" >
         <property name="text" >
-         <string>Force detection of Dolby Surround</string>
+         <string>_("Force detection of Dolby Surround")</string>
         </property>
        </widget>
       </item>
       <item row="1" column="0" colspan="2" >
        <widget class="QCheckBox" name="spdifBox" >
         <property name="text" >
-         <string>Use S/PDIF when available</string>
+         <string>_("Use S/PDIF when available")</string>
         </property>
        </widget>
       </item>
       <item row="3" column="0" >
        <widget class="QLabel" name="label" >
         <property name="text" >
-         <string>Preferred audio language</string>
+         <string>_("Preferred audio language")</string>
         </property>
        </widget>
       </item>
       <item row="0" column="0" >
        <widget class="QLabel" name="label_2" >
         <property name="text" >
-         <string>Default volume</string>
+         <string>_("Default volume")</string>
         </property>
        </widget>
       </item>
       <item row="4" column="2" >
        <widget class="QPushButton" name="fileBrowseButton" >
         <property name="text" >
-         <string>Browse...</string>
+         <string>_("Browse...")</string>
         </property>
        </widget>
       </item>
       <item row="4" column="0" >
        <widget class="QLabel" name="label_7" >
         <property name="text" >
-         <string>File</string>
+         <string>_("File")</string>
         </property>
        </widget>
       </item>
       <item row="3" column="2" >
        <widget class="QPushButton" name="OSSBrowse" >
         <property name="text" >
-         <string>Browse...</string>
+         <string>_("Browse...")</string>
         </property>
        </widget>
       </item>
       <item row="3" column="0" >
        <widget class="QLabel" name="OSSLabel" >
         <property name="text" >
-         <string>OSS Device</string>
+         <string>_("OSS Device")</string>
         </property>
        </widget>
       </item>
       <item row="2" column="0" >
        <widget class="QLabel" name="DirectXLabel" >
         <property name="text" >
-         <string>DirectX Device</string>
+         <string>_("DirectX Device")</string>
         </property>
        </widget>
       </item>
       <item row="1" column="0" >
        <widget class="QLabel" name="alsaLabel" >
         <property name="text" >
-         <string>Alsa Device</string>
+         <string>_("Alsa Device")</string>
         </property>
        </widget>
       </item>
       <item row="0" column="0" >
        <widget class="QLabel" name="label_3" >
         <property name="text" >
-         <string>Type</string>
+         <string>_("Type")</string>
         </property>
        </widget>
       </item>
    <item>
     <widget class="QGroupBox" name="groupBox" >
      <property name="title" >
-      <string>Effects</string>
+      <string>_("Effects")</string>
      </property>
      <layout class="QGridLayout" >
       <property name="margin" >
       <item row="0" column="0" >
        <widget class="QCheckBox" name="headphoneEffect" >
         <property name="text" >
-         <string>Headphone surround effect</string>
+         <string>_("Headphone surround effect")</string>
         </property>
        </widget>
       </item>
       <item row="1" column="0" >
        <widget class="QCheckBox" name="volumeNormalizer" >
         <property name="text" >
-         <string>Volume normalizer</string>
+         <string>_("Volume normalizer")</string>
         </property>
        </widget>
       </item>
       <item row="2" column="0" >
        <widget class="QLabel" name="label_5" >
         <property name="text" >
-         <string>Visualisation</string>
+         <string>_("Visualisation")</string>
         </property>
        </widget>
       </item>
index 67a2f66..5ceb626 100644 (file)
@@ -23,7 +23,7 @@
    <item>
     <widget class="QGroupBox" name="groupBox" >
      <property name="title" >
-      <string>Disk Devices</string>
+      <string>_("Disk Devices")</string>
      </property>
      <layout class="QGridLayout" >
       <property name="margin" >
@@ -35,7 +35,7 @@
       <item row="0" column="0" >
        <widget class="QLabel" name="label" >
         <property name="text" >
-         <string>Disk Device</string>
+         <string>_("Disk Device")</string>
         </property>
        </widget>
       </item>
@@ -45,7 +45,7 @@
       <item row="0" column="2" >
        <widget class="QPushButton" name="DVDBrowse" >
         <property name="text" >
-         <string>Browse...</string>
+         <string>_("Browse...")</string>
         </property>
        </widget>
       </item>
@@ -55,7 +55,7 @@
    <item>
     <widget class="QGroupBox" name="groupBox_2" >
      <property name="title" >
-      <string>Network</string>
+      <string>_("Network")</string>
      </property>
      <layout class="QGridLayout" >
       <property name="margin" >
       <item row="2" column="0" colspan="2" >
        <widget class="QLabel" name="label" >
         <property name="text" >
-         <string>Default Network caching in ms</string>
+         <string>_("Default Network caching in ms")</string>
         </property>
        </widget>
       </item>
       <item row="1" column="0" >
        <widget class="QLabel" name="label_7" >
         <property name="text" >
-         <string>HTTP Proxy</string>
+         <string>_("HTTP Proxy")</string>
         </property>
        </widget>
       </item>
       <item row="0" column="0" >
        <widget class="QLabel" name="label_4" >
         <property name="text" >
-         <string>Server Default Port</string>
+         <string>_("Server Default Port")</string>
         </property>
        </widget>
       </item>
    <item>
     <widget class="QGroupBox" name="groupBox_3" >
      <property name="title" >
-      <string>Codecs / Muxers</string>
+      <string>_("Codecs / Muxers")</string>
      </property>
      <layout class="QGridLayout" >
       <property name="margin" >
       <item row="0" column="0" >
        <widget class="QLabel" name="label_5" >
         <property name="text" >
-         <string>Post-Processing Quality</string>
+         <string>_("Post-Processing Quality")</string>
         </property>
        </widget>
       </item>
       <item row="1" column="0" >
        <widget class="QLabel" name="label_6" >
         <property name="text" >
-         <string>Repair AVI files</string>
+         <string>_("Repair AVI files")</string>
         </property>
        </widget>
       </item>
       <item row="3" column="0" colspan="2" >
        <widget class="QCheckBox" name="systemCodecBox" >
         <property name="text" >
-         <string>Use system codecs if available (better quality)</string>
+         <string>_("Use system codecs if available (better quality)")</string>
         </property>
        </widget>
       </item>
       <item row="2" column="0" colspan="2" >
        <widget class="QCheckBox" name="RTSP_TCPBox" >
         <property name="text" >
-         <string>Use RTP over RTSP (TCP)</string>
+         <string>_("Use RTP over RTSP (TCP)")</string>
         </property>
        </widget>
       </item>
    <item>
     <widget class="QGroupBox" name="groupBox_4" >
      <property name="title" >
-      <string>Access Filter</string>
+      <string>_("Access Filter")</string>
      </property>
      <layout class="QHBoxLayout" >
       <property name="margin" >
       <item>
        <widget class="QCheckBox" name="timeshiftBox" >
         <property name="text" >
-         <string>Timeshift</string>
+         <string>_("Timeshift")</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QCheckBox" name="RecordBox" >
         <property name="text" >
-         <string>Record</string>
+         <string>_("Record")</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QCheckBox" name="DumpBox" >
         <property name="text" >
-         <string>Dump</string>
+         <string>_("Dump")</string>
         </property>
        </widget>
       </item>
index 720d126..a6f527c 100644 (file)
@@ -22,7 +22,7 @@
    <item row="1" column="0" colspan="2" >
     <widget class="QGroupBox" name="groupBox" >
      <property name="title" >
-      <string>Default Interface</string>
+      <string>_("Default Interface")</string>
      </property>
      <layout class="QGridLayout" >
       <property name="margin" >
@@ -52,7 +52,7 @@
          <enum>QFrame::NoFrame</enum>
         </property>
         <property name="text" >
-         <string>This is VLC's skinnable interface. You can download skins at http://www.videolan.org/vlc/skins.php to customize your player.</string>
+         <string>_("This is VLC's skinnable interface. You can download skins at http://www.videolan.org/vlc/skins.php to customize your player.")</string>
         </property>
         <property name="alignment" >
          <set>Qt::AlignBottom|Qt::AlignJustify</set>
       <item row="4" column="2" >
        <widget class="QPushButton" name="skinBrowse" >
         <property name="text" >
-         <string>Browse...</string>
+         <string>_("Browse...")</string>
         </property>
        </widget>
       </item>
       <item row="4" column="0" >
        <widget class="QLabel" name="label_4" >
         <property name="text" >
-         <string>Skin File</string>
+         <string>_("Skin File")</string>
         </property>
        </widget>
       </item>
@@ -91,7 +91,7 @@
          <enum>QFrame::NoFrame</enum>
         </property>
         <property name="text" >
-         <string>This is VLC's default interface, with a native look and feel.</string>
+         <string>_("This is VLC's default interface, with a native look and feel.")</string>
         </property>
         <property name="textFormat" >
          <enum>Qt::RichText</enum>
       <item row="0" column="0" >
        <widget class="QRadioButton" name="qt4" >
         <property name="text" >
-         <string>Default</string>
+         <string>_("Default")</string>
         </property>
        </widget>
       </item>
       <item row="3" column="0" >
        <widget class="QRadioButton" name="skins" >
         <property name="text" >
-         <string>Skins</string>
+         <string>_("Skins")</string>
         </property>
        </widget>
       </item>
       <item row="1" column="1" colspan="2" >
        <widget class="QCheckBox" name="qtAlwaysVideo" >
         <property name="text" >
-         <string>Always display the video</string>
+         <string>_("Always display the video")</string>
         </property>
        </widget>
       </item>
    <item row="0" column="0" >
     <widget class="QLabel" name="languageLabel" >
      <property name="text" >
-      <string>Language</string>
+      <string>_("Language")</string>
      </property>
     </widget>
    </item>
    <item row="2" column="0" colspan="2" >
     <widget class="QGroupBox" name="OneInterfaceBox" >
      <property name="title" >
-      <string>Instances</string>
+      <string>_("Instances")</string>
      </property>
      <layout class="QVBoxLayout" >
       <property name="margin" >
       <item>
        <widget class="QCheckBox" name="OneInterfaceMode" >
         <property name="text" >
-         <string>Allow only one instance</string>
+         <string>_("Allow only one instance")</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QCheckBox" name="EnqueueOneInterfaceMode" >
         <property name="text" >
-         <string>Enqueue files in playlist when in one interface mode</string>
+         <string>_("Enqueue files in playlist when in one interface mode")</string>
         </property>
        </widget>
       </item>
index bfcfb46..99d794b 100644 (file)
@@ -23,7 +23,7 @@
    <item>
     <widget class="QCheckBox" name="enableVideo" >
      <property name="text" >
-      <string>Enable video</string>
+      <string>_("Enable video")</string>
      </property>
      <property name="checked" >
       <bool>true</bool>
@@ -33,7 +33,7 @@
    <item>
     <widget class="QGroupBox" name="displayBox" >
      <property name="title" >
-      <string>Display</string>
+      <string>_("Display")</string>
      </property>
      <layout class="QGridLayout" >
       <property name="margin" >
@@ -45,7 +45,7 @@
       <item row="1" column="2" >
        <widget class="QCheckBox" name="windowDecorations" >
         <property name="text" >
-         <string>Window decorations</string>
+         <string>_("Window decorations")</string>
         </property>
         <property name="checked" >
          <bool>true</bool>
       <item row="0" column="0" colspan="2" >
        <widget class="QCheckBox" name="fullscreen" >
         <property name="text" >
-         <string>Fullscreen</string>
+         <string>_("Fullscreen")</string>
         </property>
        </widget>
       </item>
       <item row="1" column="0" colspan="2" >
        <widget class="QCheckBox" name="alwaysOnTop" >
         <property name="text" >
-         <string>Always on top</string>
+         <string>_("Always on top")</string>
         </property>
        </widget>
       </item>
       <item row="3" column="0" >
        <widget class="QLabel" name="label_4" >
         <property name="text" >
-         <string>Output</string>
+         <string>_("Output")</string>
         </property>
        </widget>
       </item>
       <item row="0" column="2" >
        <widget class="QCheckBox" name="overlay" >
         <property name="text" >
-         <string>Accelerated video output</string>
+         <string>_("Accelerated video output")</string>
         </property>
         <property name="checked" >
          <bool>true</bool>
@@ -95,7 +95,7 @@
       <item row="2" column="0" colspan="2" >
        <widget class="QCheckBox" name="skipFrames" >
         <property name="text" >
-         <string>Skip Frames</string>
+         <string>_("Skip Frames")</string>
         </property>
         <property name="checked" >
          <bool>true</bool>
       <item row="2" column="2" >
        <widget class="QCheckBox" name="overlay" >
         <property name="text" >
-         <string>Overlay</string>
+         <string>_("Overlay")</string>
         </property>
         <property name="checked" >
          <bool>true</bool>
    <item>
     <widget class="QGroupBox" name="directXBox" >
      <property name="title" >
-      <string>DirectX</string>
+      <string>_("DirectX")</string>
      </property>
      <layout class="QGridLayout" >
       <property name="margin" >
       <item row="1" column="0" >
        <widget class="QLabel" name="label_5" >
         <property name="text" >
-         <string>Display Device</string>
+         <string>_("Display Device")</string>
         </property>
        </widget>
       </item>
       <item row="0" column="0" colspan="2" >
        <widget class="QCheckBox" name="wallpaperMode" >
         <property name="text" >
-         <string>Enable Wallpaper Mode</string>
+         <string>_("Enable Wallpaper Mode")</string>
         </property>
        </widget>
       </item>
    <item>
     <widget class="QGroupBox" name="groupBox" >
      <property name="title" >
-      <string>Video snapshots</string>
+      <string>_("Video snapshots")</string>
      </property>
      <layout class="QGridLayout" >
       <property name="margin" >
       <item row="0" column="3" >
        <widget class="QPushButton" name="snapshotsDirectoryBrowse" >
         <property name="text" >
-         <string>Browse...</string>
+         <string>_("Browse...")</string>
         </property>
        </widget>
       </item>
       <item row="0" column="0" >
        <widget class="QLabel" name="label" >
         <property name="text" >
-         <string>Directory</string>
+         <string>_("Directory")</string>
         </property>
        </widget>
       </item>
       <item row="1" column="0" >
        <widget class="QLabel" name="label_2" >
         <property name="text" >
-         <string>Prefix</string>
+         <string>_("Prefix")</string>
         </property>
        </widget>
       </item>
       <item row="2" column="0" >
        <widget class="QLabel" name="label_3" >
         <property name="text" >
-         <string>Format</string>
+         <string>_("Format")</string>
         </property>
        </widget>
       </item>
       <item row="1" column="2" colspan="2" >
        <widget class="QCheckBox" name="snapshotsSequentialNumbering" >
         <property name="text" >
-         <string>Sequential numbering</string>
+         <string>_("Sequential numbering")</string>
         </property>
        </widget>
       </item>
index a1c9e1b..e4c3940 100644 (file)
    <item row="11" column="0" >
     <widget class="QCheckBox" name="invertEnable" >
      <property name="text" >
-      <string>Color invert</string>
+      <string>_("Color invert")</string>
      </property>
     </widget>
    </item>
    <item rowspan="4" row="7" column="0" >
     <widget class="QGroupBox" name="colorthresEnable" >
      <property name="title" >
-      <string>Color threshold</string>
+      <string>_("Color threshold")</string>
      </property>
      <property name="checkable" >
       <bool>true</bool>
@@ -47,7 +47,7 @@
       <item row="4" column="0" >
        <widget class="QLabel" name="label_14" >
         <property name="text" >
-         <string>Similarity</string>
+         <string>_("Similarity")</string>
         </property>
        </widget>
       </item>
@@ -68,7 +68,7 @@
       <item row="3" column="0" >
        <widget class="QLabel" name="label_13" >
         <property name="text" >
-         <string>Saturation</string>
+         <string>_("Saturation")</string>
         </property>
        </widget>
       </item>
    <item rowspan="3" row="9" column="2" colspan="3" >
     <widget class="QGroupBox" name="advancedVideoFilterBox" >
      <property name="title" >
-      <string>Advanced video filter controls</string>
+      <string>_("Advanced video filter controls")</string>
      </property>
      <layout class="QGridLayout" >
       <property name="margin" >
       <item row="3" column="0" colspan="2" >
        <widget class="QPushButton" name="filtersResetButton" >
         <property name="text" >
-         <string>Reset</string>
+         <string>_("Reset")</string>
         </property>
        </widget>
       </item>
       <item row="3" column="2" >
        <widget class="QPushButton" name="filtersUpdateButton" >
         <property name="text" >
-         <string>Update</string>
+         <string>_("Update")</string>
         </property>
        </widget>
       </item>
       <item row="1" column="0" >
        <widget class="QLabel" name="label_33" >
         <property name="text" >
-         <string>Video filters</string>
+         <string>_("Video filters")</string>
         </property>
        </widget>
       </item>
       <item row="0" column="0" >
        <widget class="QLabel" name="label_32" >
         <property name="text" >
-         <string>Vout filters</string>
+         <string>_("Vout filters")</string>
         </property>
        </widget>
       </item>
       <item row="2" column="0" >
        <widget class="QLabel" name="label_34" >
         <property name="text" >
-         <string>Subpicture filters</string>
+         <string>_("Subpicture filters")</string>
         </property>
        </widget>
       </item>
    <item rowspan="4" row="5" column="3" >
     <widget class="QGroupBox" name="eraseEnable" >
      <property name="title" >
-      <string>Logo erase</string>
+      <string>_("Logo erase")</string>
      </property>
      <property name="checkable" >
       <bool>true</bool>
       <item row="1" column="0" >
        <widget class="QLabel" name="label_16" >
         <property name="text" >
-         <string>Top</string>
+         <string>_("Top")</string>
         </property>
        </widget>
       </item>
       <item row="2" column="0" >
        <widget class="QLabel" name="label_17" >
         <property name="text" >
-         <string>Left</string>
+         <string>_("Left")</string>
         </property>
        </widget>
       </item>
       <item row="0" column="0" >
        <widget class="QLabel" name="label_15" >
         <property name="text" >
-         <string>Mask</string>
+         <string>_("Mask")</string>
         </property>
        </widget>
       </item>
    <item row="9" column="1" >
     <widget class="QCheckBox" name="rippleEnable" >
      <property name="text" >
-      <string>Water effect</string>
+      <string>_("Water effect")</string>
      </property>
     </widget>
    </item>
    <item row="10" column="1" >
     <widget class="QCheckBox" name="waveEnable" >
      <property name="text" >
-      <string>Waves</string>
+      <string>_("Waves")</string>
      </property>
     </widget>
    </item>
    <item rowspan="6" row="2" column="4" >
     <widget class="QGroupBox" name="logoEnable" >
      <property name="title" >
-      <string>Add logo</string>
+      <string>_("Add logo")</string>
      </property>
      <property name="checkable" >
       <bool>true</bool>
       <item row="3" column="0" >
        <widget class="QLabel" name="label_22" >
         <property name="text" >
-         <string>Transparency</string>
+         <string>_("Transparency")</string>
         </property>
        </widget>
       </item>
       <item row="2" column="0" colspan="2" >
        <widget class="QLabel" name="label_21" >
         <property name="text" >
-         <string>Left</string>
+         <string>_("Left")</string>
         </property>
        </widget>
       </item>
       <item row="1" column="0" colspan="2" >
        <widget class="QLabel" name="label_20" >
         <property name="text" >
-         <string>Top</string>
+         <string>_("Top")</string>
         </property>
        </widget>
       </item>
       <item row="0" column="0" >
        <widget class="QLabel" name="label_19" >
         <property name="text" >
-         <string>Logo</string>
+         <string>_("Logo")</string>
         </property>
        </widget>
       </item>
    <item row="8" column="2" >
     <widget class="QCheckBox" name="magnifyEnable" >
      <property name="text" >
-      <string>Magnification</string>
+      <string>_("Magnification")</string>
      </property>
     </widget>
    </item>
    <item rowspan="2" row="0" column="4" >
     <widget class="QGroupBox" name="marqEnable" >
      <property name="title" >
-      <string>Add text</string>
+      <string>_("Add text")</string>
      </property>
      <property name="checkable" >
       <bool>true</bool>
       <item row="1" column="0" >
        <widget class="QLabel" name="label_24" >
         <property name="text" >
-         <string>Position</string>
+         <string>_("Position")</string>
         </property>
        </widget>
       </item>
       <item row="0" column="0" >
        <widget class="QLabel" name="label_23" >
         <property name="text" >
-         <string>Text</string>
+         <string>_("Text")</string>
         </property>
        </widget>
       </item>
    <item row="0" column="3" >
     <widget class="QGroupBox" name="cloneEnable" >
      <property name="title" >
-      <string>Clone</string>
+      <string>_("Clone")</string>
      </property>
      <property name="checkable" >
       <bool>true</bool>
       <item row="0" column="0" >
        <widget class="QLabel" name="label_9" >
         <property name="text" >
-         <string>Number of clones</string>
+         <string>_("Number of clones")</string>
         </property>
        </widget>
       </item>
    <item rowspan="4" row="1" column="3" >
     <widget class="QGroupBox" name="wallEnable" >
      <property name="title" >
-      <string>Wall</string>
+      <string>_("Wall")</string>
      </property>
      <property name="checkable" >
       <bool>true</bool>
       <item row="0" column="0" >
        <widget class="QLabel" name="label_31" >
         <property name="text" >
-         <string>Rows</string>
+         <string>_("Rows")</string>
         </property>
        </widget>
       </item>
       <item row="1" column="0" >
        <widget class="QLabel" name="label_30" >
         <property name="text" >
-         <string>Columns</string>
+         <string>_("Columns")</string>
         </property>
        </widget>
       </item>
    <item rowspan="3" row="5" column="2" >
     <widget class="QGroupBox" name="puzzleEnable" >
      <property name="title" >
-      <string>Puzzle game</string>
+      <string>_("Puzzle game")</string>
      </property>
      <property name="checkable" >
       <bool>true</bool>
       <item row="2" column="0" colspan="2" >
        <widget class="QCheckBox" name="puzzleBlackSlotCheck" >
         <property name="text" >
-         <string>Black slot</string>
+         <string>_("Black slot")</string>
         </property>
        </widget>
       </item>
       <item row="1" column="0" >
        <widget class="QLabel" name="label_26" >
         <property name="text" >
-         <string>Columns</string>
+         <string>_("Columns")</string>
         </property>
        </widget>
       </item>
       <item row="0" column="0" >
        <widget class="QLabel" name="label_27" >
         <property name="text" >
-         <string>Rows</string>
+         <string>_("Rows")</string>
         </property>
        </widget>
       </item>
    <item rowspan="4" row="1" column="2" >
     <widget class="QGroupBox" name="rotateEnable" >
      <property name="title" >
-      <string>Rotate</string>
+      <string>_("Rotate")</string>
      </property>
      <property name="checkable" >
       <bool>true</bool>
       <item row="0" column="0" >
        <widget class="QLabel" name="label_28" >
         <property name="text" >
-         <string>Angle</string>
+         <string>_("Angle")</string>
         </property>
        </widget>
       </item>
    <item row="0" column="2" >
     <widget class="QGroupBox" name="transformEnable" >
      <property name="title" >
-      <string>Transform</string>
+      <string>_("Transform")</string>
      </property>
      <property name="checkable" >
       <bool>true</bool>
    <item rowspan="2" row="0" column="1" >
     <widget class="QGroupBox" name="gradientEnable" >
      <property name="title" >
-      <string>Gradient</string>
+      <string>_("Gradient")</string>
      </property>
      <property name="checkable" >
       <bool>true</bool>
       <item row="2" column="0" colspan="2" >
        <widget class="QCheckBox" name="gradientCartoonCheck" >
         <property name="text" >
-         <string>Cartoon</string>
+         <string>_("Cartoon")</string>
         </property>
        </widget>
       </item>
       <item row="1" column="0" colspan="2" >
        <widget class="QCheckBox" name="gradientTypeCheck" >
         <property name="text" >
-         <string>Color</string>
+         <string>_("Color")</string>
         </property>
        </widget>
       </item>
       <item row="0" column="0" >
        <widget class="QLabel" name="label_18" >
         <property name="text" >
-         <string>Mode</string>
+         <string>_("Mode")</string>
         </property>
        </widget>
       </item>
    <item row="5" column="1" >
     <widget class="QCheckBox" name="noiseEnable" >
      <property name="text" >
-      <string>Noise</string>
+      <string>_("Noise")</string>
      </property>
     </widget>
    </item>
    <item row="4" column="1" >
     <widget class="QCheckBox" name="motiondetectEnable" >
      <property name="text" >
-      <string>Motion detect</string>
+      <string>_("Motion detect")</string>
      </property>
     </widget>
    </item>
       <bool>true</bool>
      </property>
      <property name="title" >
-      <string>Image adjust</string>
+      <string>_("Image adjust")</string>
      </property>
      <property name="checkable" >
       <bool>true</bool>
       <item row="4" column="0" >
        <widget class="QLabel" name="label_5" >
         <property name="text" >
-         <string>Gamma</string>
+         <string>_("Gamma")</string>
         </property>
        </widget>
       </item>
       <item row="1" column="0" >
        <widget class="QLabel" name="label_2" >
         <property name="text" >
-         <string>Contrast</string>
+         <string>_("Contrast")</string>
         </property>
        </widget>
       </item>
       <item row="2" column="0" >
        <widget class="QLabel" name="label_3" >
         <property name="text" >
-         <string>Brightness</string>
+         <string>_("Brightness")</string>
         </property>
        </widget>
       </item>
       <item row="3" column="0" >
        <widget class="QLabel" name="label_4" >
         <property name="text" >
-         <string>Saturation</string>
+         <string>_("Saturation")</string>
         </property>
        </widget>
       </item>
       <item row="0" column="0" >
        <widget class="QLabel" name="label" >
         <property name="text" >
-         <string>Hue</string>
+         <string>_("Hue")</string>
         </property>
        </widget>
       </item>
       <item row="5" column="1" >
        <widget class="QCheckBox" name="brightnessThresholdCheck" >
         <property name="text" >
-         <string>Brightness threshold</string>
+         <string>_("Brightness threshold")</string>
         </property>
        </widget>
       </item>
    <item rowspan="4" row="3" column="0" >
     <widget class="QGroupBox" name="extractEnable" >
      <property name="title" >
-      <string>Color extraction</string>
+      <string>_("Color extraction")</string>
      </property>
      <property name="checkable" >
       <bool>true</bool>
       <item row="2" column="0" >
        <widget class="QLabel" name="label_8" >
         <property name="text" >
-         <string>Blue</string>
+         <string>_("Blue")</string>
         </property>
        </widget>
       </item>
       <item row="1" column="0" >
        <widget class="QLabel" name="label_7" >
         <property name="text" >
-         <string>Green</string>
+         <string>_("Green")</string>
         </property>
        </widget>
       </item>
       <item row="0" column="0" >
        <widget class="QLabel" name="label_6" >
         <property name="text" >
-         <string>Red</string>
+         <string>_("Red")</string>
         </property>
        </widget>
       </item>
    <item rowspan="2" row="7" column="1" >
     <widget class="QGroupBox" name="sharpenEnable" >
      <property name="title" >
-      <string>Sharpen</string>
+      <string>_("Sharpen")</string>
      </property>
      <property name="checkable" >
       <bool>true</bool>
       <item row="0" column="0" >
        <widget class="QLabel" name="label_29" >
         <property name="text" >
-         <string>Sigma</string>
+         <string>_("Sigma")</string>
         </property>
        </widget>
       </item>
    <item rowspan="2" row="2" column="1" >
     <widget class="QGroupBox" name="blurEnable" >
      <property name="title" >
-      <string>Motion blur</string>
+      <string>_("Motion blur")</string>
      </property>
      <property name="checkable" >
       <bool>true</bool>
       <item row="0" column="0" >
        <widget class="QLabel" name="label_25" >
         <property name="text" >
-         <string>Factor</string>
+         <string>_("Factor")</string>
         </property>
        </widget>
       </item>
    <item row="6" column="1" >
     <widget class="QCheckBox" name="psychedelicEnable" >
      <property name="text" >
-      <string>Psychedelic</string>
+      <string>_("Psychedelic")</string>
      </property>
     </widget>
    </item>
index a5744ea..d345327 100644 (file)
@@ -8,7 +8,7 @@ subdir = po
 top_builddir = ..
 
 # These options get passed to xgettext.
-XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --language=C++
+XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --keyword=_NS --keyword=_ANS --keyword=qtr --language=C++
 
 # This is the copyright holder that gets inserted into the header of the
 # $(DOMAIN).pot file.  Set this to the copyright holder of the surrounding