r16203 - gnucash/trunk/src/gnome - Uh, retain the still-needed '_(...)'s. :p

Josh Sled jsled at cvs.gnucash.org
Fri Jun 22 15:51:25 EDT 2007


Author: jsled
Date: 2007-06-22 15:51:24 -0400 (Fri, 22 Jun 2007)
New Revision: 16203
Trac: http://svn.gnucash.org/trac/changeset/16203

Modified:
   gnucash/trunk/src/gnome/dialog-sx-since-last-run.c
Log:
Uh, retain the still-needed '_(...)'s. :p


Modified: gnucash/trunk/src/gnome/dialog-sx-since-last-run.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-sx-since-last-run.c	2007-06-22 19:43:29 UTC (rev 16202)
+++ gnucash/trunk/src/gnome/dialog-sx-since-last-run.c	2007-06-22 19:51:24 UTC (rev 16203)
@@ -359,7 +359,6 @@
     g_signal_connect(adapter->real, "rows-reordered", G_CALLBACK(gsslrtma_proxy_rows_reordered), adapter);
 }
 
-/* @@fixme: non-staticize. **/
 static char* gnc_sx_instance_state_names[] = {
     N_("Ignored"),
     N_("Postponed"),
@@ -385,7 +384,7 @@
             gtk_list_store_insert_with_values(GTK_LIST_STORE(_singleton_slr_state_model),
                                               &iter,
                                               SX_INSTANCE_STATE_MAX_STATE + 1,
-                                              0, gnc_sx_instance_state_names[i], -1);
+                                              0, _(gnc_sx_instance_state_names[i]), -1);
         }
     }
     return _singleton_slr_state_model;
@@ -476,7 +475,7 @@
                 }
                 gtk_tree_store_set(model->real, &inst_tree_iter,
                                    SLR_MODEL_COL_NAME, instance_date_buf,
-                                   SLR_MODEL_COL_INSTANCE_STATE, gnc_sx_instance_state_names[inst->state],
+                                   SLR_MODEL_COL_INSTANCE_STATE, _(gnc_sx_instance_state_names[inst->state]),
                                    SLR_MODEL_COL_VARAIBLE_VALUE, NULL,
                                    SLR_MODEL_COL_INSTANCE_VISIBILITY, TRUE,
                                    SLR_MODEL_COL_VARIABLE_VISIBILITY, FALSE,
@@ -825,7 +824,7 @@
      
     for (i = 0; i < SX_INSTANCE_STATE_CREATED; i++)
     {
-        if (strcmp(value, gnc_sx_instance_state_names[i]) == 0)
+        if (strcmp(value, _(gnc_sx_instance_state_names[i])) == 0)
             break;
     }
     if (i == SX_INSTANCE_STATE_CREATED)



More information about the gnucash-changes mailing list