Hello,

while testing new 1.9.0 I noticed in some druid that there was too
much line breaks.  This generates bad rendering of text with text
breaking in obscure places.  Here is a patch that fixes it in all
places I found from glade files.

Index: src/gnome/glade/acctperiod.glade
===================================================================
--- src/gnome/glade/acctperiod.glade    (revision 13212)
+++ src/gnome/glade/acctperiod.glade    (working copy)
@@ -31,9 +31,7 @@
          <property name="title" translatable="yes">Setup Accounting 
Periods</property>
          <property name="text" translatable="yes">This druid will help you 
setup and use accouting periods. 
  
-Danger: this feature does not work correctly at this time; 
-it is still under development.  It will probably damage your
-data in such a way that it cannot be repaired!</property>
+Danger: this feature does not work correctly at this time; it is still under 
development.  It will probably damage your data in such a way that it cannot be 
repaired!</property>
          <property name="title_color">#ffffffffffff</property>
          <property name="text_color">#000000000000</property>
          <property name="background_color">#666666669999</property>
@@ -60,8 +58,7 @@
              <child>
                <widget class="GtkLabel" id="label847720">
                  <property name="visible">True</property>
-                 <property name="label" translatable="yes">Select an 
accounting period and the closing date for the period. 
-Books will be closed on midnight of the selected date.</property>
+                 <property name="label" translatable="yes">Select an 
accounting period and the closing date for the period.  Books will be closed on 
midnight of the selected date.</property>
                  <property name="use_underline">False</property>
                  <property name="use_markup">False</property>
                  <property name="justify">GTK_JUSTIFY_CENTER</property>
Index: src/gnome/glade/sched-xact.glade
===================================================================
--- src/gnome/glade/sched-xact.glade    (revision 13212)
+++ src/gnome/glade/sched-xact.glade    (working copy)
@@ -5589,9 +5589,7 @@
              <child>
                <widget class="GtkLabel" id="label847862">
                  <property name="visible">True</property>
-                 <property name="label" translatable="yes">The listed 
Scheduled Transactions are to-be created soon. 
-Select any which you would like to create now, and click
-&quot;Next&quot; to create them.</property>
+                 <property name="label" translatable="yes">The listed 
Scheduled Transactions are to-be created soon.  Select any which you would like 
to create now, and click &quot;Next&quot; to create them.</property>
                  <property name="use_underline">False</property>
                  <property name="use_markup">False</property>
                  <property name="justify">GTK_JUSTIFY_CENTER</property>
@@ -6148,8 +6146,7 @@
              <child>
                <widget class="GtkLabel" id="label847871">
                  <property name="visible">True</property>
-                 <property name="label" translatable="yes">The following 
scheduled transactions have expired.
-Select those you wish to delete.</property>
+                 <property name="label" translatable="yes">The following 
scheduled transactions have expired.  Select those you wish to 
delete.</property>
                  <property name="use_underline">False</property>
                  <property name="use_markup">False</property>
                  <property name="justify">GTK_JUSTIFY_CENTER</property>
@@ -6320,14 +6317,9 @@
          <property name="visible">True</property>
          <property name="position">GNOME_EDGE_START</property>
          <property name="title" translatable="yes">Mortgage/Loan Repayment 
Setup</property>
-         <property name="text" translatable="yes">This is a step-by-step 
method of creating a loan repayment setup
-within GnuCash.  In this Druid, you can input the parameters of
-your loan and its repayment and give the details of its payback.
-Using that information, the appropriate Scheduled Transactions
-will be created.
+         <property name="text" translatable="yes">This is a step-by-step 
method of creating a loan repayment setup within GnuCash.  In this Druid, you 
can input the parameters of your loan and its repayment and give the details of 
its payback. Using that information, the appropriate Scheduled Transactions 
will be created.
 
-If you make a mistake or want to make changes later, you can edit
-the created Scheduled Transactions directly.</property>
+If you make a mistake or want to make changes later, you can edit the created 
Scheduled Transactions directly.</property>
          <property name="title_color">#ffffffffffff</property>
          <property name="text_color">#000000000000</property>
          <property name="background_color">#666666669998</property>
Index: src/gnome/glade/account.glade
===================================================================
--- src/gnome/glade/account.glade       (revision 13212)
+++ src/gnome/glade/account.glade       (working copy)
@@ -1277,10 +1277,7 @@
              <child>
                <widget class="GtkLabel" id="pickAccountsDescriptionLabel">
                  <property name="visible">True</property>
-                 <property name="label" translatable="yes">Select categories 
that correspond to the ways that you will use GnuCash.  
-Each category you select will cause several accounts to be created.  
-Select the categories that are relevant to you.  You can always create 
-additional accounts by hand later.</property>
+                 <property name="label" translatable="yes">Select categories 
that correspond to the ways that you will use GnuCash.  Each category you 
select will cause several accounts to be created.  Select the categories that 
are relevant to you.  You can always create additional accounts by hand 
later.</property>
                  <property name="use_underline">False</property>
                  <property name="use_markup">False</property>
                  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1928,10 +1925,7 @@
              <child>
                <widget class="GtkLabel" id="label8477407">
                  <property name="visible">True</property>
-                 <property name="label" translatable="yes">Select categories 
that correspond to the ways that you will use GnuCash.  
-Each category you select will cause several accounts to be created.  
-Select the categories that are relevant to you.  You can always create 
-additional accounts by hand later.</property>
+                 <property name="label" translatable="yes">Select categories 
that correspond to the ways that you will use GnuCash.  Each category you 
select will cause several accounts to be created.  Select the categories that 
are relevant to you.  You can always create additional accounts by hand 
later.</property>
                  <property name="use_underline">False</property>
                  <property name="use_markup">False</property>
                  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -2292,9 +2286,7 @@
              <child>
                <widget class="GtkLabel" id="label8477409">
                  <property name="visible">True</property>
-                 <property name="label" translatable="yes">If you would like 
an account to have an opening balance, click on the account
-and enter the starting balance in the box on the right. All accounts except 
Equity
-and placeholder accounts may have an opening balance.</property>
+                 <property name="label" translatable="yes">If you would like 
an account to have an opening balance, click on the account and enter the 
starting balance in the box on the right. All accounts except Equity and 
placeholder accounts may have an opening balance.</property>
                  <property name="use_underline">False</property>
                  <property name="use_markup">False</property>
                  <property name="justify">GTK_JUSTIFY_LEFT</property>


-- 
Tommi Vainikainen
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to