Code

* Marking empty strings as non-translatable
authorluca_bruno <luca_bruno@users.sourceforge.net>
Thu, 13 Sep 2007 07:30:19 +0000 (07:30 +0000)
committerluca_bruno <luca_bruno@users.sourceforge.net>
Thu, 13 Sep 2007 07:30:19 +0000 (07:30 +0000)
src/live_effects/lpe-test-doEffect-stack.cpp
src/widgets/select-toolbar.cpp
src/widgets/toolbox.cpp

index 346d79c9dcf9e04a35af571ca82837edb92f5752..19f20b5a96af35dd5d56f6b4c4e19ddc3eb0abe4 100644 (file)
@@ -18,7 +18,7 @@ namespace LivePathEffect {
 \r
 LPEdoEffectStackTest::LPEdoEffectStackTest(LivePathEffectObject *lpeobject) :\r
     Effect(lpeobject),\r
-    step(_("Stack step"), _(""), "step", &wr, this)\r
+    step(_("Stack step"), (""), "step", &wr, this)\r
 {\r
     registerParameter( dynamic_cast<Parameter *>(&step) );\r
 }\r
index be81617dec3907fbfa27435ddb935dce70a1fa7f..3c8028817893d19246b0e789b54fa2daa953a05f 100644 (file)
@@ -461,7 +461,7 @@ void sp_select_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GOb
     gtk_action_group_add_action( selectionActions, GTK_ACTION(eact) );
 
     // Add the units menu.
-    act = tracker->createAction( "UnitsAction", _("Units"), _("") );
+    act = tracker->createAction( "UnitsAction", _("Units"), ("") );
     gtk_action_group_add_action( selectionActions, act );
 
     g_object_set_data( G_OBJECT(spw), "selectionActions", selectionActions );
index 3f9340bc2597725e61ee140435532937907b4e43..0cccd7087dfb59d077dab1dfed62e84903ce7b53 100644 (file)
@@ -1709,7 +1709,7 @@ static void sp_star_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions
                                 2, "star_angled",
                                 -1 );
 
-            EgeSelectOneAction* act = ege_select_one_action_new( "FlatAction", _(""), _(""), NULL, GTK_TREE_MODEL(model) );
+            EgeSelectOneAction* act = ege_select_one_action_new( "FlatAction", (""), (""), NULL, GTK_TREE_MODEL(model) );
             gtk_action_group_add_action( mainActions, GTK_ACTION(act) );
             g_object_set_data( holder, "flat_action", act );
 
@@ -2124,7 +2124,7 @@ static void sp_rect_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions
 
     // add the units menu
     {
-        GtkAction* act = tracker->createAction( "RectUnitsAction", _("Units"), _("") );
+        GtkAction* act = tracker->createAction( "RectUnitsAction", _("Units"), ("") );
         gtk_action_group_add_action( mainActions, act );
     }
 
@@ -2848,7 +2848,7 @@ static void sp_tweak_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainAction
                             2, "tweak_colorjitter_mode",
                             -1 );
 
-        EgeSelectOneAction* act = ege_select_one_action_new( "TweakModeAction", _("Mode:"), _(""), NULL, GTK_TREE_MODEL(model) );
+        EgeSelectOneAction* act = ege_select_one_action_new( "TweakModeAction", _("Mode:"), (""), NULL, GTK_TREE_MODEL(model) );
         gtk_action_group_add_action( mainActions, GTK_ACTION(act) );
         g_object_set_data( holder, "mode_action", act );
 
@@ -3531,7 +3531,7 @@ static void sp_arc_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions,
                             2, "circle_open_arc",
                             -1 );
 
-        EgeSelectOneAction* act = ege_select_one_action_new( "ArcOpenAction", _(""), _(""), NULL, GTK_TREE_MODEL(model) );
+        EgeSelectOneAction* act = ege_select_one_action_new( "ArcOpenAction", (""), (""), NULL, GTK_TREE_MODEL(model) );
         gtk_action_group_add_action( mainActions, GTK_ACTION(act) );
         g_object_set_data( holder, "open_action", act );
 
@@ -4559,7 +4559,7 @@ sp_text_toolbox_new (SPDesktop *desktop)
         }
 
         {
-            GtkWidget *hb = sp_tb_spinbutton(_(""), _("Spacing between letters"),
+            GtkWidget *hb = sp_tb_spinbutton((""), _("Spacing between letters"),
                                              "tools.text", "letter_spacing", 0.0,
                                              us, tbl, FALSE, NULL,
                                              -1000.0, 1000.0, 0.1, 0.1,
@@ -4580,7 +4580,7 @@ sp_text_toolbox_new (SPDesktop *desktop)
         }
 
         {
-            GtkWidget *hb = sp_tb_spinbutton(_(""), _("Spacing between lines"),
+            GtkWidget *hb = sp_tb_spinbutton((""), _("Spacing between lines"),
                                              "tools.text", "line_spacing", 0,
                                              us, tbl, FALSE, NULL,
                                              -1000.0, 1000.0, 0.1, 0.1,
@@ -4609,7 +4609,7 @@ sp_text_toolbox_new (SPDesktop *desktop)
             }
 
             {
-                GtkWidget *hb = sp_tb_spinbutton(_(""), _("Horizontal kerning"),
+                GtkWidget *hb = sp_tb_spinbutton((""), _("Horizontal kerning"),
                                                  "tools.text", "horizontal_kerning", 0,
                                                  us, tbl, FALSE, NULL,
                                                  -100.00, 100.00, 0.01, 0.1,
@@ -4630,7 +4630,7 @@ sp_text_toolbox_new (SPDesktop *desktop)
             }
 
             {
-                GtkWidget *hb = sp_tb_spinbutton(_(""), _("Vertical kerning"),
+                GtkWidget *hb = sp_tb_spinbutton((""), _("Vertical kerning"),
                                                  "tools.text", "vertical_kerning", 0,
                                                  us, tbl, FALSE, NULL,
                                                  -100.00, 100.00, 0.01, 0.1,
@@ -4657,7 +4657,7 @@ sp_text_toolbox_new (SPDesktop *desktop)
             gtk_box_pack_start (GTK_BOX (tbl), hb, FALSE, FALSE, 0);
         }
         {
-            GtkWidget *hb = sp_tb_spinbutton(_(""), _("Letter rotation"),
+            GtkWidget *hb = sp_tb_spinbutton((""), _("Letter rotation"),
                                              "tools.text", "letter_rotation", 0,
                                              us, tbl, FALSE, NULL,
                                              -180.0, 180.0, 0.1, 0.1,
@@ -5013,7 +5013,7 @@ static void sp_paintbucket_toolbox_prep(SPDesktop *desktop, GtkActionGroup* main
         }
         g_list_free( items );
         items = 0;
-        EgeSelectOneAction* act1 = ege_select_one_action_new( "ChannelsAction", _("Fill by:"), _(""), NULL, GTK_TREE_MODEL(model) );
+        EgeSelectOneAction* act1 = ege_select_one_action_new( "ChannelsAction", _("Fill by:"), (""), NULL, GTK_TREE_MODEL(model) );
         ege_select_one_action_set_appearance( act1, "compact" );
         ege_select_one_action_set_active( act1, prefs_get_int_attribute("tools.paintbucket", "channels", 0) );
         g_signal_connect( G_OBJECT(act1), "changed", G_CALLBACK(paintbucket_channels_changed), holder );
@@ -5040,7 +5040,7 @@ static void sp_paintbucket_toolbox_prep(SPDesktop *desktop, GtkActionGroup* main
     tracker->setActiveUnit( sp_desktop_namedview(desktop)->doc_units );
     g_object_set_data( holder, "tracker", tracker );
     {
-        GtkAction* act = tracker->createAction( "PaintbucketUnitsAction", _("Units"), _("") );
+        GtkAction* act = tracker->createAction( "PaintbucketUnitsAction", _("Units"), ("") );
         gtk_action_group_add_action( mainActions, act );
     }
 
@@ -5074,7 +5074,7 @@ static void sp_paintbucket_toolbox_prep(SPDesktop *desktop, GtkActionGroup* main
         }
         g_list_free( items );
         items = 0;
-        EgeSelectOneAction* act2 = ege_select_one_action_new( "AutoGapAction", _("Close gaps:"), _(""), NULL, GTK_TREE_MODEL(model) );
+        EgeSelectOneAction* act2 = ege_select_one_action_new( "AutoGapAction", _("Close gaps:"), (""), NULL, GTK_TREE_MODEL(model) );
         ege_select_one_action_set_appearance( act2, "compact" );
         ege_select_one_action_set_active( act2, prefs_get_int_attribute("tools.paintbucket", "autogap", 0) );
         g_signal_connect( G_OBJECT(act2), "changed", G_CALLBACK(paintbucket_autogap_changed), holder );