[Gnucash-changes] r12177 - gnucash/trunk/src - String i18n cleanup.

Christian Stimming cstim at cvs.gnucash.org
Fri Dec 23 16:24:57 EST 2005


Author: cstim
Date: 2005-12-23 16:24:56 -0500 (Fri, 23 Dec 2005)
New Revision: 12177
Trac: http://svn.gnucash.org/trac/changeset/12177

Modified:
   gnucash/trunk/src/business/business-gnome/glade/invoice.glade
   gnucash/trunk/src/gnome/druid-acct-period.c
Log:
String i18n cleanup.

Modified: gnucash/trunk/src/business/business-gnome/glade/invoice.glade
===================================================================
--- gnucash/trunk/src/business/business-gnome/glade/invoice.glade	2005-12-23 20:50:16 UTC (rev 12176)
+++ gnucash/trunk/src/business/business-gnome/glade/invoice.glade	2005-12-23 21:24:56 UTC (rev 12177)
@@ -166,7 +166,7 @@
 		      <child>
 			<widget class="GtkEntry" id="id_entry">
 			  <property name="visible">True</property>
-			  <property name="tooltip" translatable="yes">The invoice ID number.  If left blank a reasonable number will be chosen for you</property>
+			  <property name="tooltip" translatable="yes">The invoice ID number.  If left blank a reasonable number will be chosen for you.</property>
 			  <property name="can_focus">True</property>
 			  <property name="has_focus">True</property>
 			  <property name="editable">True</property>
@@ -1781,7 +1781,7 @@
 	      <child>
 		<widget class="GtkLabel" id="label33">
 		  <property name="visible">True</property>
-		  <property name="label" translatable="yes">Reset Tax Tables to present Values? </property>
+		  <property name="label" translatable="yes">Reset Tax Tables to present Values?</property>
 		  <property name="use_underline">False</property>
 		  <property name="use_markup">False</property>
 		  <property name="justify">GTK_JUSTIFY_LEFT</property>

Modified: gnucash/trunk/src/gnome/druid-acct-period.c
===================================================================
--- gnucash/trunk/src/gnome/druid-acct-period.c	2005-12-23 20:50:16 UTC (rev 12176)
+++ gnucash/trunk/src/gnome/druid-acct-period.c	2005-12-23 21:24:56 UTC (rev 12177)
@@ -214,12 +214,6 @@
   char * str;
   ENTER ("info=%p", info);
 
-  remarks_text = 
-    _("The earliest transaction date found in this book is %s.\n"
-      "Based on the selection made above, this book will be split\n"
-      "into %d books.  Click on 'Next' to start closing the\n"
-      "earliest book.");
-
   /* Pull info from widget, push into freq spec */
   gnc_frequency_save_state (info->period_menu, info->period, &info->closing_date);
 
@@ -243,6 +237,11 @@
   } 
 
   /* Display the results */
+  remarks_text = 
+    _("The earliest transaction date found in this book is %s. "
+      "Based on the selection made above, this book will be split "
+      "into %d books.  Click on 'Next' to start closing the "
+      "earliest book.");
   str = g_strdup_printf (remarks_text, info->earliest_str, nperiods);
   gtk_label_set_text (info->period_remarks, str);
   g_free (str);
@@ -271,13 +270,6 @@
   /* Pull info from widget, push into freq spec */
   gnc_frequency_save_state (info->period_menu, info->period, &info->closing_date);
 
-  period_text = 
-    _("You have asked for a book to be created.  This book\n"
-      "will contain all transactions up to midnight %s\n"
-      "(for a total of %d transactions spread over %d accounts).\n"
-      "Click on 'Next' to create this book.\n"
-      "Click on 'Back' to adjust the dates.");
-
   qof_print_date_dmy_buff (close_date_str, MAX_DATE_LENGTH, 
                            g_date_get_day(&info->closing_date),
                            g_date_get_month(&info->closing_date),
@@ -290,6 +282,12 @@
   nacc = xaccGroupGetNumSubAccounts (xaccGetAccountGroup (currbook));
 
   /* Display the book info */
+  period_text = 
+    _("You have asked for a book to be created.  This book "
+      "will contain all transactions up to midnight %s "
+      "(for a total of %d transactions spread over %d accounts).\n"
+      "Click on 'Next' to create this book. "
+      "Click on 'Back' to adjust the dates.");
   str = g_strdup_printf (period_text, close_date_str, ntrans, nacc);
   gtk_label_set_text (info->book_details, str);
   g_free (str);
@@ -354,8 +352,8 @@
 
   if (0 <= g_date_compare(&info->prev_closing_date, &info->closing_date))
   {
-    const char *msg = _("You must select closing date that\n"
-                        "is greater than the closing date\n"
+    const char *msg = _("You must select closing date that "
+                        "is greater than the closing date "
                         "of the previous book.");
     gnc_error_dialog (info->window, msg);
     return TRUE;
@@ -365,7 +363,7 @@
   g_date_set_time (&date_now, time(0));
   if (0 < g_date_compare(&info->closing_date, &date_now))
   {
-    const char *msg = _("You must select closing date\n"
+    const char *msg = _("You must select closing date "
                         "that is not in the future.");
     gnc_error_dialog (info->window, msg);
     return TRUE;



More information about the gnucash-changes mailing list