[Gnucash-changes] r12180 - gnucash/trunk/src/gnome - I18n string improvements.

Christian Stimming cstim at cvs.gnucash.org
Fri Dec 23 17:10:17 EST 2005


Author: cstim
Date: 2005-12-23 17:10:17 -0500 (Fri, 23 Dec 2005)
New Revision: 12180
Trac: http://svn.gnucash.org/trac/changeset/12180

Modified:
   gnucash/trunk/src/gnome/glade/acctperiod.glade
   gnucash/trunk/src/gnome/gnc-plugin-page-budget.c
   gnucash/trunk/src/gnome/gnc-plugin-page-register.c
   gnucash/trunk/src/gnome/schemas/apps_gnucash_warnings.schemas
Log:
I18n string improvements.

Modified: gnucash/trunk/src/gnome/glade/acctperiod.glade
===================================================================
--- gnucash/trunk/src/gnome/glade/acctperiod.glade	2005-12-23 21:43:12 UTC (rev 12179)
+++ gnucash/trunk/src/gnome/glade/acctperiod.glade	2005-12-23 22:10:17 UTC (rev 12180)
@@ -65,7 +65,7 @@
 		  <property name="use_underline">False</property>
 		  <property name="use_markup">False</property>
 		  <property name="justify">GTK_JUSTIFY_CENTER</property>
-		  <property name="wrap">False</property>
+		  <property name="wrap">True</property>
 		  <property name="selectable">False</property>
 		  <property name="xalign">0.5</property>
 		  <property name="yalign">0.5</property>
@@ -104,7 +104,7 @@
 		  <property name="use_underline">False</property>
 		  <property name="use_markup">False</property>
 		  <property name="justify">GTK_JUSTIFY_CENTER</property>
-		  <property name="wrap">False</property>
+		  <property name="wrap">True</property>
 		  <property name="selectable">False</property>
 		  <property name="xalign">0.5</property>
 		  <property name="yalign">0.5</property>
@@ -145,7 +145,7 @@
 		  <property name="use_underline">False</property>
 		  <property name="use_markup">False</property>
 		  <property name="justify">GTK_JUSTIFY_CENTER</property>
-		  <property name="wrap">False</property>
+		  <property name="wrap">True</property>
 		  <property name="selectable">False</property>
 		  <property name="xalign">0.5</property>
 		  <property name="yalign">0.5</property>
@@ -166,7 +166,7 @@
 		  <property name="use_underline">False</property>
 		  <property name="use_markup">False</property>
 		  <property name="justify">GTK_JUSTIFY_CENTER</property>
-		  <property name="wrap">False</property>
+		  <property name="wrap">True</property>
 		  <property name="selectable">False</property>
 		  <property name="xalign">0.5</property>
 		  <property name="yalign">0.5</property>

Modified: gnucash/trunk/src/gnome/gnc-plugin-page-budget.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-plugin-page-budget.c	2005-12-23 21:43:12 UTC (rev 12179)
+++ gnucash/trunk/src/gnome/gnc-plugin-page-budget.c	2005-12-23 22:10:17 UTC (rev 12180)
@@ -642,7 +642,8 @@
 				   GTK_DIALOG_DESTROY_WITH_PARENT,
 				   GTK_MESSAGE_INFO,
 				   GTK_BUTTONS_OK,
-				   "Set the budget options using this dialog.");
+				   "%s",
+				   _("Set the budget options using this dialog."));
 
   gtk_dialog_run (GTK_DIALOG (dialog));
   gtk_widget_destroy (dialog);
@@ -692,7 +693,7 @@
     tm = gnc_tree_model_account_types_master();
     gtk_tree_view_set_model(tv, tm);
     gtk_tree_view_insert_column_with_attributes(
-        tv, -1, "Account Types", gtk_cell_renderer_text_new(),
+       tv, -1, _("Account Types"), gtk_cell_renderer_text_new(),
         "text", GNC_TREE_MODEL_ACCOUNT_TYPES_COL_NAME, NULL);
     sel = gtk_tree_view_get_selection(tv);
     gtk_tree_selection_set_mode(sel, GTK_SELECTION_MULTIPLE);
@@ -715,7 +716,7 @@
 
     if (!priv->d) {
         priv->d = gnc_dialog_new(GNC_BUDGET_GUI_FILE, "BudgetOptions");
-        gtk_window_set_title(GTK_WINDOW(priv->d), "Budget Options");
+        gtk_window_set_title(GTK_WINDOW(priv->d), _("Budget Options"));
         gnc_dialog_set_cb(priv->d,
                           gnc_plugin_page_budget_options_apply_cb,
                           gnc_plugin_page_budget_options_close_cb,
@@ -736,10 +737,10 @@
     g_return_if_fail(GNC_IS_BUDGET(budget));
     name = gnc_budget_get_name (budget);
     if (!name)
-        name = "Unnamed Budget";
+       name = _("Unnamed Budget");
 
 
-    if (gnc_verify_dialog (NULL, FALSE, "Delete %s?", name)) {
+    if (gnc_verify_dialog (NULL, FALSE, _("Delete %s?"), name)) {
         gnc_suspend_gui_refresh ();
         gnc_budget_free(budget);
         // Views should close themselves because the CM will notify them.

Modified: gnucash/trunk/src/gnome/gnc-plugin-page-register.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-plugin-page-register.c	2005-12-23 21:43:12 UTC (rev 12179)
+++ gnucash/trunk/src/gnome/gnc-plugin-page-register.c	2005-12-23 22:10:17 UTC (rev 12180)
@@ -1920,7 +1920,7 @@
   gtk_window_set_transient_for(GTK_WINDOW(dialog),
 			       GTK_WINDOW(GNC_PLUGIN_PAGE(page)->window));
   /* Translations: The %s is the name of the plugin page */
-  title = g_strdup_printf(N_("Sort %s by..."),
+  title = g_strdup_printf(_("Sort %s by..."),
 			  gnc_plugin_page_get_page_name(GNC_PLUGIN_PAGE(page)));
   gtk_window_set_title(GTK_WINDOW(dialog), title);
   g_free(title);
@@ -1972,7 +1972,7 @@
   gtk_window_set_transient_for(GTK_WINDOW(dialog),
 			       GTK_WINDOW(GNC_PLUGIN_PAGE(page)->window));
   /* Translators: The %s is the name of the plugin page */
-  title = g_strdup_printf(N_("Filter %s by..."),
+  title = g_strdup_printf(_("Filter %s by..."),
 			  gnc_plugin_page_get_page_name(GNC_PLUGIN_PAGE(page)));
   gtk_window_set_title(GTK_WINDOW(dialog), title);
   g_free(title);

Modified: gnucash/trunk/src/gnome/schemas/apps_gnucash_warnings.schemas
===================================================================
--- gnucash/trunk/src/gnome/schemas/apps_gnucash_warnings.schemas	2005-12-23 21:43:12 UTC (rev 12179)
+++ gnucash/trunk/src/gnome/schemas/apps_gnucash_warnings.schemas	2005-12-23 22:10:17 UTC (rev 12180)
@@ -13,7 +13,7 @@
         <short>Change contents of reconciled split.</short>
         <long>
 	  This dialog is presented before allowing you to change the
-	  contents of a reconciled split.  Allowing these chagnes can
+	  contents of a reconciled split.  Allowing these changes can
 	  make it hard to perform future reconciliations.
 	</long>
       </locale>



More information about the gnucash-changes mailing list