]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.0.9
authorfred <fred>
Tue, 26 Mar 2002 21:25:41 +0000 (21:25 +0000)
committerfred <fred>
Tue, 26 Mar 2002 21:25:41 +0000 (21:25 +0000)
lily/dimen.cc
lily/lookup.cc
lily/main.cc
mi2mu/main.cc

index d309241e23e94b7c62b34d37a33fdad713bf9bf6..a03b01caf2a210a61ac9f2b527c5dbf021e80647 100644 (file)
@@ -40,7 +40,7 @@ print_dimen (Real r)
       warning (_ ("NaN"));
       s = "0.0";
     }
-  s += "pt ";
+  s += "pt";
   return s;
 }
 
index 76255075541ea97b08a04c145e92575f3aad7024..1624a42b467f482c1a4b5940f5a2bc166d67fb33 100644 (file)
@@ -337,13 +337,13 @@ Lookup::vbrace (Real &y) const
   if (y < min_y)
     {
       warning (_ ("piano brace") 
-       + " " + _ ("too small") +  "(" + print_dimen (y) + ")");
+       + " " + _ ("too small") +  " (" + print_dimen (y) + ")");
       y = min_y;
     }
   if (y > max_y)
     {
       warning (_ ("piano brace")
-       + " " + _ ("too big") + "(" + print_dimen (y)+ ")");
+       + " " + _ ("too big") + " (" + print_dimen (y) + ")");
       y = max_y;
     }
 
@@ -388,13 +388,13 @@ Lookup::vbracket (Real &y) const
   if (y < min_y)
     {
       warning (_ ("bracket")
-       + " " + _ ("too small") +  "(" + print_dimen (y) + ")");
+       + " " + _ ("too small") +  " (" + print_dimen (y) + ")");
       y = min_y;
     }
   if (y > max_y)
     {
       warning (_ ("bracket")
-       + " " + _ ("too big") + "(" + print_dimen (y)+ ")");
+       + " " + _ ("too big") + " (" + print_dimen (y) + ")");
       y = max_y;
     }
 
index 4adc7f4ef3f8c4fd0c5122fbd2bab32c59044be4..5467b79e21080151d91b05299eb290a48604e5c1 100644 (file)
@@ -189,8 +189,8 @@ main (int argc, char **argv)
     prefix_directory = env_lily;
 
 #if HAVE_GETTEXT
-  setlocale (LC_ALL, "");
-//  setlocale (LC_MESSAGES, "");
+  setlocale (LC_ALL, ""); /* enable locales */
+  setlocale (LC_NUMERIC, "C"); /* musn't have comma's in TeX output... */
   String lily_locale_dir;
   String name (PACKAGE);
   name.to_lower ();
index 20e1866a43d898db08c51ec2ce9d97d32d736536..79e559bafc752dcad63687728bf997d37d598399 100644 (file)
@@ -130,8 +130,8 @@ main (int argc_i, char* argv_sz_a[])
 {
 
 #if HAVE_GETTEXT
-  setlocale (LC_ALL, "");
-//  setlocale (LC_MESSAGES, "");
+  setlocale (LC_ALL, ""); /* enable locales */
+  setlocale (LC_NUMERIC, "C"); /* musn't have comma's in output */
   String name (PACKAGE);
   name.to_lower ();
   bindtextdomain (name.ch_C (), DIR_LOCALEDIR);